summaryrefslogtreecommitdiff
path: root/sys-kernel/gentoo-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-10 21:05:55 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-10 21:05:55 +0000
commit71deace00d1a2b091313fe137ab7092418c6f87c (patch)
tree9f1f0dee23e13658e52f49437befe78427148c51 /sys-kernel/gentoo-kernel
parent29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff)
gentoo resync : 10.02.2020
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild76
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild73
3 files changed, 155 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index 448274454727..c09dbde94b11 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -1,11 +1,15 @@
DIST genpatches-4.19-100.base.tar.xz 2992824 BLAKE2B 02722c5568726284afa812be3d9cb4555bad11133dd5876d8ee09771e584e73dfb6e7bd8a2829126ff2dada931856a07429715a918a0fe88786fa98fb6ad6edb SHA512 621a9294c3377720723e89b175bb4f0f2812e566b73952a81112bc1ef675862842e00f642ba37f728ae8aa0e5e5cc17b347cea564821c02c88c532668007b5cc
DIST genpatches-4.19-100.extras.tar.xz 17492 BLAKE2B c896c916f2dfad38b35f1ebd080cb5b66f6bd51b28a77535fc2ae44b11a1a5bee1be52a7d6d5e30b80c635b59e43f40d99c2cea98cf0744374412626a939cc00 SHA512 169dea4d9c41057807c63a8d66aa7fb94d783e841a94a700bc0eb1995e620e6b529658d3899ffc54e5cfde4e9267e385dc2e36786ff0c31acecc0593456f8909
+DIST genpatches-4.19-101.base.tar.xz 3008416 BLAKE2B 920228c1a69dea64f1e9c5f1dded4b01f2de69c92420daf45ede91bfe1db4004989015ae52cfe9013e300779a68bcbabb1af4e17f90db631a43e1ee38885ad32 SHA512 4b1062307426582521d4366bd3802b3adf9bc53c597f9b7dcca335241e797b1c5bd34e637added9633b73d4171bb08f34410350c21f670c07feb6c800a94c5b2
+DIST genpatches-4.19-101.extras.tar.xz 17496 BLAKE2B 824a49411f6ab8f4691fe994ee2da8736a74759dcc7cbae69d807cb9fac3d0890a660e5ee24a8f1fe10e0bf449855c5a9c6e7e523fec057b5ad3af5dd13d1a3e SHA512 1fe7326b95bc4eecbe4e3aada018bd6cd5897810a44ac8c0e031c2052964c917050c775e0a32304c1838c8c00ad9091adda1901818346cbbe3e2a12cd941bf72
DIST genpatches-4.19-99.base.tar.xz 2980172 BLAKE2B 2da82ccc1a3a9f874f30046c4d7ea01730398d27c34be741b3fa64ca7e05972a4ef33f76e28383c488d71489c1eabd33e462c2fbbc8248e6d53486eabb1956e6 SHA512 481042c47ca0f56a3262e9920a1e245197672c51ac32624668974a8af5273d3ff593047bbbb6476b741de611c83c19ad6e4a09e1c1331baaf67c1998ef64bade
DIST genpatches-4.19-99.extras.tar.xz 17488 BLAKE2B d57f278109d3ea0cbe324e15666f119e2a9ef4ebfe6f9581dffdd6e9f4c11fca47dc08f2375da62928076647352772cedad41a8ab97b312b59a03956dd4a3954 SHA512 ae1f8f8fd8f9da3860e82d8838714248983014257386bab802ec3adf86d694db50db8d6cc9a9d01a2a6936e2ceb740a4f4732e48b1c40eebc8ffd523745d5dca
DIST genpatches-5.4-16.base.tar.xz 622844 BLAKE2B c9b71a945733efde4ef1c3f4e5929573c4b338d7dfa2cd589ad64c567865eb7d1448f2e32a59548ba2d738aee5219467727fa68a3572a50ffade1cd574ddfd87 SHA512 3a1ad8e9f44076fe00f5fee586d53f3b028e7c2086dfc2a30659415ae6a5f8463623890d0a26965eb9fe33da31b1b03652097a0814602862145d047dc9977b33
DIST genpatches-5.4-16.extras.tar.xz 1740 BLAKE2B acd4fd5705617564442e44326f5d5c6f0bab8ce1950cfda56d9db03ca1b0adfc3f0d8770a659010c8db4f4d6114adf667ffeefe636f353c9acc51c9ba07bdd0c SHA512 b44523a6da21eef1f547c0cfab9e2aaa2bde929dc2727d9ae748a55b6735e78d304dc66ebd1e97b57ed988936e91ad49e205dce10b745a8fded3b08e13dd1ce4
DIST genpatches-5.4-17.base.tar.xz 649680 BLAKE2B 787d9e9285a69a7f8de8c82375c42a8de7bc0cb0299c725fb60d23933079eff9803e43559d1a8467c3c315ad6ddfa64e1ddc47e4e2bcecaef892443f1bad7b7f SHA512 bd3a9b544d542a05da5c606b34998b7aaeab8d0ac85b13c6232d86d2cd0bfd418a67c080e8ad3d4bfd1e43f6e9afac26df368d3b61f66583baf018e109d7ade3
DIST genpatches-5.4-17.extras.tar.xz 1744 BLAKE2B 8a871ac738bba4aec50fd972c9a6f9233ca4a187b6e612dbdb32721fa1e5a7fd0169dd4c31658a124c8933518b05a9f4c2ba417d471e9922809a518cabdcb0f2 SHA512 b76cb8c9f6bc0aa640014c0377bb39cf8686d3733322b8e7ca92791e7dffe3117f32a537682ae1b516ad1c4e1e275b0fc7d7bf280daf2426bea0703e735b920a
+DIST genpatches-5.4-18.base.tar.xz 676844 BLAKE2B a4edc187e5ca93823c553f783cede3814ded47c984b417b9654904cc67a4b52818bfedc0997b452ebc00007317fee7d72736dbd555976c37c334b3e1eeb6ea09 SHA512 49d362d9347370e2d4385a7947b502b3786e71dfa30b6edca2967418b940f25f978bc8d7db25a1c87b84d22de4082adc12aca7d0abe5a797e796f6680770ec62
+DIST genpatches-5.4-18.extras.tar.xz 1744 BLAKE2B eb75009e3a3c9fce962971e512a4c142ae5a61b6547e41faea87087ed7826b60087ab3dfceb32d0fc27adefca40b93afcb40a1225ac88ff2bd608ee5cf52e768 SHA512 5a3328b447eb12b077c8db6c3e3518585b963575cf52691691504c28d935a30d12ddbe786e99f0a42ec1625714c1c064ac60b7c8845247cd981f709a65a478bd
DIST linux-4.19.85-arch1.i686.config 222183 BLAKE2B 03eac77940db0ee6b4f2a006edc600ef34141bbca849f5be4de9b961301a8fc987da6d0e21344aa5d80c29bb7793d56cf5441abb6c8e4057d94e2601c174c1be SHA512 6bd45c9dfd96b1afb8c1ca1ca72722baee6c91894e454d7af937de02242d3bb9d3b6870f5976aa96245c753c6bc1ac637a6356125b0d4c596aadef643b8c3d8d
DIST linux-4.19.92-arch1.amd64.config 222487 BLAKE2B a658d80d85525287a1df9053ca2ddfe423ab423bcc3b9ea8bd9cda65cc7ffa4b1be782c48c867c13e46070af4016f446860f5cf71351f239da1eff6c45a5aa6a SHA512 a5658c8e8464516dffd6f624344e739784cb315d334b2c5105bd5d16022b6366ad4ec00d3692a7b78e2458514175522bc85e834bf19593feff6363b616860258
DIST linux-4.19.94.tar.xz 103389152 BLAKE2B 291db6f448606a4ba288295b4b1c0b813e736534e4749a152baa1d07fcf52bba2b59e7b4b261594a2deb9ad961afec50a28b4ec126f97033f1c0a36aba9f2961 SHA512 c6017e854ec06054c658042c2e8227d79284ecdadf0a2e1c5da799ca2ac165a266e7d33aa52361d0036ddb3059e3b24f0a68b45ffd84d87394d3f41492f6f9a4
@@ -16,6 +20,8 @@ DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901
DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
EBUILD gentoo-kernel-4.19.100.ebuild 2271 BLAKE2B 73e135a8d1d419f0c0a2915ef62126d257e5069defdb03fffcf66159547e7945f4028d7631abf408a1c3b586bc9a7685c85ca2b2f0cbf9110169b20b9874ad18 SHA512 7d9b75895d5d46c9afc0955f86c54572290acc2a570385257abf809f3649a20f2ac06b0f6efae11c240f701ea15b8558444a4371817bb6c27d9e4e00b5dfd1cb
EBUILD gentoo-kernel-4.19.101.ebuild 2296 BLAKE2B 53af0bc8eb122c6268e3db3d11f8a42f2862eb603e57530ef82a82b6a100f496b903e35065824df28fdad003c46df7130575af5d746558c770496387c32e6440 SHA512 e6d6c193ab4da2ce9dbe83c1e01669447a9bb9045e4651038325b62a04900cf3932ba73fa7ed41dc91316283f423afc501586e6e273a34cca6cb3217d5643039
+EBUILD gentoo-kernel-4.19.102.ebuild 2296 BLAKE2B 53af0bc8eb122c6268e3db3d11f8a42f2862eb603e57530ef82a82b6a100f496b903e35065824df28fdad003c46df7130575af5d746558c770496387c32e6440 SHA512 e6d6c193ab4da2ce9dbe83c1e01669447a9bb9045e4651038325b62a04900cf3932ba73fa7ed41dc91316283f423afc501586e6e273a34cca6cb3217d5643039
EBUILD gentoo-kernel-5.4.16.ebuild 2151 BLAKE2B a80ff740daf01b4161a79816cebac6c917a7f94964df2231c340c43ddd8cec86d1f1af3d11956b9e30f1d1499d67658bbb6df8ba13b04114900d4304233ab170 SHA512 f7b5c1cc0157e7ad7c09701e1811a0f0b999b7fe33e627fb0d75719671d973d9515a25c54331118619df7b980ab42b9274fde027a17bfa573d1c0c57eea69f5f
EBUILD gentoo-kernel-5.4.17.ebuild 2151 BLAKE2B a80ff740daf01b4161a79816cebac6c917a7f94964df2231c340c43ddd8cec86d1f1af3d11956b9e30f1d1499d67658bbb6df8ba13b04114900d4304233ab170 SHA512 f7b5c1cc0157e7ad7c09701e1811a0f0b999b7fe33e627fb0d75719671d973d9515a25c54331118619df7b980ab42b9274fde027a17bfa573d1c0c57eea69f5f
+EBUILD gentoo-kernel-5.4.18.ebuild 2151 BLAKE2B a80ff740daf01b4161a79816cebac6c917a7f94964df2231c340c43ddd8cec86d1f1af3d11956b9e30f1d1499d67658bbb6df8ba13b04114900d4304233ab170 SHA512 f7b5c1cc0157e7ad7c09701e1811a0f0b999b7fe33e627fb0d75719671d973d9515a25c54331118619df7b980ab42b9274fde027a17bfa573d1c0c57eea69f5f
MISC metadata.xml 352 BLAKE2B d45c3f23945883bcb819c225e43715f5cfd86090f3e928dfb62b26a7b38b98421ee0c0d3b4fe9ebdb9de39c294cbc288c1731e9493f69436a6916034d8b834d9 SHA512 e3b9651b8f0fa3b07626b4cfb01456e4ecea1ae053ad9e9e1b3c925a5de601b35c9f3983535d62edae9ef49a40fe4c319e013542908839f30415f6ad85463e24
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild
new file mode 100644
index 000000000000..3b0d137453f9
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild
@@ -0,0 +1,76 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-build
+
+MY_P=linux-4.19.94
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} - 1))
+# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux-lts
+AMD64_CONFIG_VER=4.19.92-arch1
+AMD64_CONFIG_HASH=bf97de6a2e405659aaad4c251b7f0bb48d5ed3c9
+# https://git.archlinux32.org/packages/log/core/linux-lts/config
+I686_CONFIG_VER=4.19.85-arch1
+I686_CONFIG_HASH=1f0345e2983d2edd55b401cb5a87fdf365a4192c
+
+DESCRIPTION="Linux kernel built with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux-lts&id=${AMD64_CONFIG_HASH}
+ -> linux-${AMD64_CONFIG_VER}.amd64.config
+ )
+ x86? (
+ https://git.archlinux32.org/packages/plain/core/linux-lts/config?id=${I686_CONFIG_HASH}
+ -> linux-${I686_CONFIG_VER}.i686.config
+ )"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ # (skip most patch release patches, we just fetch newer sources)
+ "${WORKDIR}"/109[4-9]*.patch
+ "${WORKDIR}"/11*.patch
+ "${WORKDIR}"/[2-9]*.patch
+ )
+ default
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local config_tweaks=(
+ # shove arch under the carpet!
+ -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
+ # we do support x32
+ -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
+ # disable signatures
+ -e '/CONFIG_MODULE_SIG/d'
+ -e '/CONFIG_SECURITY_LOCKDOWN/d'
+ # disable compression to allow stripping
+ -e '/CONFIG_MODULE_COMPRESS/d'
+ # disable gcc plugins to unbreak distcc
+ -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d'
+ )
+ sed -i "${config_tweaks[@]}" .config || die
+}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild
new file mode 100644
index 000000000000..0041d89b83f0
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-build
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-${PV##*.}
+# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux
+AMD64_CONFIG_VER=5.4.13.arch1
+AMD64_CONFIG_HASH=9eed969590614a38d370a9fe04a4f5d38ba5e06e
+# https://git.archlinux32.org/packages/log/core/linux/config.i686
+I686_CONFIG_VER=5.4.13-arch1
+I686_CONFIG_HASH=95f890a9f9131e7a0e01a4f3e9c5ee423756a233
+
+DESCRIPTION="Linux kernel built with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH}
+ -> linux-${AMD64_CONFIG_VER}.amd64.config
+ )
+ x86? (
+ https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH}
+ -> linux-${I686_CONFIG_VER}.i686.config
+ )"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ default
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local config_tweaks=(
+ # shove arch under the carpet!
+ -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
+ # we do support x32
+ -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
+ # disable signatures
+ -e '/CONFIG_MODULE_SIG/d'
+ -e '/CONFIG_SECURITY_LOCKDOWN/d'
+ # disable compression to allow stripping
+ -e '/CONFIG_MODULE_COMPRESS/d'
+ # disable gcc plugins to unbreak distcc
+ -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d'
+ )
+ sed -i "${config_tweaks[@]}" .config || die
+}