summaryrefslogtreecommitdiff
path: root/system/easy-kernel/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/easy-kernel/APKBUILD')
-rw-r--r--system/easy-kernel/APKBUILD124
1 files changed, 17 insertions, 107 deletions
diff --git a/system/easy-kernel/APKBUILD b/system/easy-kernel/APKBUILD
index 57ccd4e8c..f073533f5 100644
--- a/system/easy-kernel/APKBUILD
+++ b/system/easy-kernel/APKBUILD
@@ -2,26 +2,27 @@
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
# KEEP THIS IN SYNC with the other easy-kernel packages.
_kflavour=""
+_patchver=0
_pkgname=easy-kernel$_kflavour
-pkgver=4.14.149
-pkgrel=16
-pkgname=$_pkgname-$pkgver-mc$pkgrel
+pkgver=5.4.5
+pkgrel=0
+pkgname=$_pkgname-$pkgver-mc$_patchver
pkgdesc="The Linux kernel, packaged for your convenience"
url="https://kernel.org/"
arch="all"
options="!check !dbg !strip !tracedeps"
license="GPL-2.0-only"
depends=""
-makedepends="bc gzip kmod lzop openssl-dev xz"
+makedepends="bc bison flex gzip kmod lzop openssl-dev rsync xz"
provides="easy-kernel$_kflavour=$pkgver-r$pkgrel"
+replaces="easy-kernel-power8 easy-kernel-power8-64k"
subpackages="$_pkgname-modules-$pkgver-mc$pkgrel:modules
$_pkgname-src-$pkgver-mc$pkgrel:src
linux-headers:headers"
_pkgmajver=${pkgver%%.*}
_pkgminver=${pkgver%.*}
source="https://cdn.kernel.org/pub/linux/kernel/v${_pkgmajver}.x/linux-${_pkgminver}.tar.xz
- https://distfiles.adelielinux.org/source/linux-${_pkgminver}-mc$pkgrel-patches.tar.xz
- ast-endianness.patch
+ https://distfiles.adelielinux.org/source/linux-${_pkgminver}-mc$_patchver-patches.tar.xz
config-ppc64
config-ppc
config-x86_64
@@ -29,97 +30,11 @@ source="https://cdn.kernel.org/pub/linux/kernel/v${_pkgmajver}.x/linux-${_pkgmin
config-aarch64
config-sparc64
config-m68k
- kernel.h
"
builddir="$srcdir/linux-${_pkgminver}"
-# secfixes: linux_kernel
-# 4.14.0-r0:
-# - CVE-2017-1000410
-# 4.14.8-r2:
-# - CVE-2018-14619
-# - CVE-2017-1000407
-# 4.14.33-r6:
-# - CVE-2018-1068
-# - CVE-2018-1130
-# - CVE-2018-8781
-# 4.14.48-r8:
-# - CVE-2018-1120
-# - CVE-2018-10021
-# - CVE-2018-10940
-# - CVE-2018-11508
-# - CVE-2018-1000204
-# 4.14.56-r9:
-# - CVE-2018-1118
-# - CVE-2018-10853
-# - CVE-2018-10878
-# - CVE-2018-10879
-# - CVE-2018-10880
-# - CVE-2018-10881
-# - CVE-2018-11412
-# - CVE-2018-12904
-# - CVE-2018-13406
-# - CVE-2018-16276
-# - CVE-2018-20856
-# 4.14.76-r11:
-# - CVE-2017-18216
-# - CVE-2017-18224
-# - CVE-2018-5390
-# - CVE-2018-5391
-# - CVE-2018-6554
-# - CVE-2018-6555
-# - CVE-2018-15572
-# - CVE-2018-15594
-# - CVE-2018-16658
-# - CVE-2018-16871
-# - CVE-2018-18021
-# - CVE-2018-20511
-# 4.14.127-r14:
-# - CVE-2018-18281
-# - CVE-2018-18397
-# - CVE-2018-18690
-# - CVE-2018-19854
-# - CVE-2018-20169
-# - CVE-2018-20784
-# - CVE-2018-20836
-# - CVE-2018-1000026
-# - CVE-2019-6974
-# - CVE-2019-10638
-# - CVE-2019-10639
-# - CVE-2019-11486
-# - CVE-2019-11599
-# - CVE-2019-11810
-# - CVE-2019-11815
-# - CVE-2019-11884
-# - CVE-2019-12818
-# - CVE-2019-12819
-# 4.14.138-mc15:
-# - CVE-2018-20855
-# - CVE-2019-1125
-# - CVE-2019-3900
-# - CVE-2019-13272
-# - CVE-2019-13631
-# - CVE-2019-13648
-# - CVE-2019-14283
-# - CVE-2019-14284
-# 4.14.149-mc16:
-# - CVE-2019-14814
-# - CVE-2019-14815
-# - CVE-2019-14816
-# - CVE-2019-14821
-# - CVE-2019-14835
-# - CVE-2019-15030
-# - CVE-2019-15117
-# - CVE-2019-15118
-# - CVE-2019-15505
-# - CVE-2019-15538
-# - CVE-2019-16746
-# - CVE-2019-17054
-# - CVE-2019-17055
-# - CVE-2019-17056
-
prepare() {
- for patch in "$srcdir/linux-${_pkgminver}-mc$pkgrel-patches"/*; do
+ for patch in "$srcdir/linux-${_pkgminver}-mc$_patchver-patches"/*; do
patch -p1 -i "$patch"
done
default_prepare
@@ -187,7 +102,6 @@ modules() {
headers() {
pkgdesc="System headers provided by the Linux kernel"
cd "$builddir"
- patch -Np1 -i "$startdir"/revert-broken-uapi.patch
mkdir -p "$subpkgdir"/usr
make headers_install INSTALL_HDR_PATH="$subpkgdir/usr"
@@ -201,8 +115,6 @@ headers() {
# needed for spl, VMware on x86, etc
install -D -m644 "$builddir"/include/generated/utsrelease.h \
"$subpkgdir"/usr/include/linux/utsrelease.h
-
- cp "$srcdir"/kernel.h "$subpkgdir"/usr/include/linux/
}
src() {
@@ -212,14 +124,12 @@ src() {
mv "$srcdir"/linux-src "$subpkgdir"/usr/src/linux-$pkgver-mc$pkgrel$_kflavour
}
-sha512sums="77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 linux-4.14.tar.xz
-c38d64091dfd9bbf326d345c1b488d90a36b8a6c18882d62883c1dc39d4c5394f254b09813252bad57e6ddbbee80c1de90374257bd96ba50fee0241ed53c6bc2 linux-4.14-mc16-patches.tar.xz
-e41d9111219342ad13367902242444ecdd847a93575c3f9709d6c6a075bc650f4a15be9db1a8798435fc0a0b56d41705829bfe0d2c2d88f8d1c28931e27ef5be ast-endianness.patch
-2299b107b0b9fe503095e0dbdd4edd4134c05fc4a86e650805781aaa508f18a2e4eda59341355f62a0fdc7b301b4876f452c3109c042cbb218f23e0d314a4ff9 config-ppc64
-e35c70c7ac02a2894a3c4197070b9afa3315c403bf5e178ce251e63bf21609525871c55cbad4fd449af63104be68c7625ea1e1383c077d0bbc0f1960c2b6c4a9 config-ppc
-27deb4d449853eb725501b5f69eb8d4169d4fac951b33dc184ade8df1f8fe72f192fa4c4d0d34cd98cf6ef40da3bedbed6f87268fa6a05c0a348d3b727e4d766 config-x86_64
-9e089209e69c7bb7ca16d425d7e76d7160622288299247ee544f93337b21fb4aec3e2cd594703eb877155cfb9d82dedf1f3945055cdb2b9369e73c7c9fd21e8d config-pmmx
-13137f8706b176b395b30154a97903ba3f7bf3b0a3ff241e8c2f67e1a0fb92ad34609ba1d3f6ab262a5032bc9dbff45bbc749f0ad9dc2aa008c9bbac0c0247ef config-aarch64
-dd7a6bb6fe26426e758fa85e57377d93a8fba4fe77dc67fc5ac0feb98316b9782971b9b4ef17a0fa8c158ea9ae348a6b93dc6dc0be8d28130aa7fbe4a68fb752 config-sparc64
-e6000e88d97144907c1f5c424d52a8b95f2eac82a707bef97c39c2b1658b08b9765451a0297bcc6a297ab9f0a3ab993d59f977009325066e2512aa1a820acc88 config-m68k
-fdd94b9de7b374f1812dec0f9971c05f5e52177ca4a16c8071daa620c18265b38f656f528e7045a24f30af01f05e53e54546fb0a9e93773cf191866e87de505d kernel.h"
+sha512sums="9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f linux-5.4.tar.xz
+37c85fcec3bd54d586523f74cfb56db6158152cfbb407469f0da12b24e5de01cbe273ad4e59d41df75011c163922dadf2fe5e919cb6b16f74872e80c28bba1b1 linux-5.4-mc0-patches.tar.xz
+2fc58bb455ba099b98d02362446947110e1cb6a17cceaff3c47ec444ed737db5b74829bf5d6d6647cb2ae266a41c24a23222823fc89b7e36c639f2af867ec44b config-ppc64
+0c6f32f9b6c16cfaa89906b9d929bd69994c9a3b4c426105c9152a41ed6e41b56157705eaacc32468e9e5d9ff81516b2ac59979aa1cb8d9d41ea8a230bfb0cb1 config-ppc
+1934d9a0ccd34032e63c29e65657feb3119e5f53c92e4829932b6c1f2be4cb3809866dd1041f8209b72deae6fa3a3048dd148ec98d40403d23f4468a936be5da config-x86_64
+86250017ec548637459aa762b2c5008869e8e8f27cd39406908fa9d5bb4a30d17970fbff2d525dcd634db99d75c6de6fc8f5c2b9077c491923c46c2cea67f0fd config-pmmx
+b05add19803d183e150d717e9da418316a0c5848bef556a23ba0638618b9996df4d4f6756ce298cb0a79c8137c8b89ce627b8de005e3205a9214be30bee3d22f config-aarch64
+d818e6461392bbc125d93d7b249a597c4fe4bef13a9516a34ba0b6177af06ca72dfe6c7fccddfbbab0c9f108c03e74d3f9617062df9348b891459f5958329da6 config-sparc64
+4ba479db8d6e25e9cec4aa24c86e66831d84d73bb805e367d4ef91d172264eb0bf1ec2143a3c648fb72466741c0f0256fecc0d08b5f4a6d9f7cfe4f6f0580193 config-m68k"