From c9fbeb75f3e6c978e6640d7eb7732b303c35e395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 14 Apr 2020 07:37:26 +0200 Subject: [PATCH] sys-kernel/gentoo-kernel: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-kernel/gentoo-kernel/Manifest | 15 ---- .../gentoo-kernel-4.19.112.ebuild | 76 ------------------- .../gentoo-kernel-4.19.113.ebuild | 76 ------------------- .../gentoo-kernel/gentoo-kernel-5.4.27.ebuild | 73 ------------------ .../gentoo-kernel/gentoo-kernel-5.4.29.ebuild | 73 ------------------ .../gentoo-kernel/gentoo-kernel-5.5.11.ebuild | 73 ------------------ .../gentoo-kernel/gentoo-kernel-5.5.14.ebuild | 73 ------------------ 7 files changed, 459 deletions(-) delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-4.19.112.ebuild delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-4.19.113.ebuild delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.4.27.ebuild delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.4.29.ebuild delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.5.11.ebuild delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.5.14.ebuild diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 998f5722fea6..b99a432d1891 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -1,22 +1,7 @@ -DIST genpatches-4.19-111.base.tar.xz 3275536 BLAKE2B efd68196ef3d1f9ebb0964650e046fb7744ac32a13e1b6c4fb047085e122ac481c089b27d1771c99e47bf757760448467024f0dc5216f426c93e9c431d76cc0b SHA512 368a16315ef7f95d0c226f2e99b04390837600b23bcb1fa1d11f3eced2f57e9ccfd05f15d147b764bfefd53a7dd4c762ea875d2cba2f6650b5c61ebb40d198ce -DIST genpatches-4.19-111.extras.tar.xz 17492 BLAKE2B 875bf3992abbabdbc9c425407d3a54cff214c9e8a41651df7bafbd923ba9ff1f9bf593824d2819df4f64416ed76ced823fedf9e58ecf539d4f2c33a5fa9d482d SHA512 a0febb718498df7a3cae6fe3521b0ed05e72927c4e179fbaa91220345354e5367d80eb9062811b75df9ec97bca0cd5c92911b55175bacbc8dba99a1b68037d0d -DIST genpatches-4.19-112.base.tar.xz 3289056 BLAKE2B 7a3f0186898c69118cdbb450bc5482ef910b876c34a087b292bd1b906f38b64b49ff593fab91d3c309057de8f89c1e22fb62326d5f945b7dbdd60ae9d7b92fb8 SHA512 f89b06e193469b79fce00a62cfc96e601c025fcaf0bcd684c0682e87ee91c622e613b77b53d2320ac3c45fdcc14373ba85728d57e95f0eb02fadb805f181da16 -DIST genpatches-4.19-112.extras.tar.xz 17488 BLAKE2B 3be8e01bb3e3fc7cfcab9b5c1c0675c3adff87e3c87defd1e6261a60fe7b0a04c1928f733b0aef0e3316538a9595f97ddea0d87bca5245f812e21d8f8b944ec8 SHA512 94803b2dc4417a17bf648351f9d1c1220db3d16e324019ac67aa06b8e88d38a066fd69fe791057e35b0b08f6603cba5f9f04d5f32bad4d434e84a6f014d33b9c -DIST genpatches-5.4-27.base.tar.xz 1094072 BLAKE2B cb2895a3729a0d58f734bcaf34f1ec4c00fb04cda9a77067a44c33e2d17ec3c6779ec7f296fae3bfda6b0fd7affb6126556605163fdd0b56769036434fc153ef SHA512 46a4fd2d8679f10e9a386462db423fbbe4ba3076f5de04c128d514c938a73ca2a3fbe8f1a50c39fd7f5b60a4b3143a33faed66a33c92aa8af85a1d0d121a187a -DIST genpatches-5.4-27.extras.tar.xz 1744 BLAKE2B 876ee0915d60032a8a8c33ebdd9a8a938666bf06df1e618b568289d7779870cb1b2e0ae30b9b1ca0fb3bda574751c34732e20d7f032dd64135c6230ea9b9e507 SHA512 1586b9e19fa42418003b41ecc0bf7cdc208bdf8fec7f41c4fba1ca7bca643d03e38c3443f724e99e6e19338216527eb901bd95f0e89acb5ac1f0ee9fd9ac3589 -DIST genpatches-5.4-29.base.tar.xz 1155296 BLAKE2B b4cddc8f4d7ceb0dd29d58f4b2038b27213eeded93addcd97dcdaf70852850d0af386b350359ff72856b32019f648bd3a4c31e88a0f5688df72ccdaa4acedeb8 SHA512 60fdf8d72e9a0e26832c2fc86297ea701c8e42fb3c0cd6ab69791ef03cd46ad5704eea488ba9174021b7d545e9d65ae4340a77be068dc188111f06ef7ee16940 -DIST genpatches-5.4-29.extras.tar.xz 1744 BLAKE2B 624f0f1dc70ec4642864eebcbf7c2c9d05359dd0d801799767943c8758cbe52ab36a3dd42cfdac495b73fd4f732c6f0d3e5d35d7a1b1ea81d99f07945ebe848f SHA512 3991b500d2998c4ce801b29ff2766ed3f86f1f29744598afa131cc1d80fb917076e7e69e6eaca80972117d10eabdfe1bd9ae64ecd8825c1b63b87b360785b695 DIST genpatches-5.4-31.base.tar.xz 1170496 BLAKE2B 1a85a54d6183ee4c1239c2d96c78617497e1e882e9b5ed386904b965314900c298e4d58cd3c360cdf465c9bb0adea90c4de567eca5e633c7861e7305eece2559 SHA512 171e9550c898e60df630ce85346847325e78ccd2ae979a03581d236643fbc3ae2e10dda0f781a01675cbc5b2defddaa05aba020e044f61143794426f5f02e8a7 DIST genpatches-5.4-31.extras.tar.xz 1744 BLAKE2B 184c9fce2b55885ee086dbeff4fb55a1d2edfeaa55e30e0e7d672e120569acd85a74bd6f50463305b3dde2154ba68c1fad82b0eb8e66a32a6f2cc87443b397dc SHA512 a45f13e1ac2ed3f6114b94793085b7b80cd40a9be08cf835c574a98e0be7cabb8740b0b22d81a471d9c5b80603f23822513a24620fcc7854dcd9de443355ccb4 -DIST genpatches-5.5-13.base.tar.xz 558584 BLAKE2B e519cc21b25b2c91766c22e86ecef80a6e3516e8a5f666c2452ad8836fb46540fb44ee38df90ddc94a3c7d23fe544e229c247ae200d691869300d8bd979dc5ad SHA512 917610eca9038eeb22d98ce373705607e16b33c66d5846010345a6258d24c34ab44894b2140d6afa9dde7abd05fe6061c90c396bf0940449d77936b15e552479 -DIST genpatches-5.5-13.extras.tar.xz 1744 BLAKE2B ca1c8f785f746c31303f27c4eb013ce7dee2d8dd5fd6ebfde1c71a521b696a56bd3e6d97721e929c8637acb20a3faa7c212aa5cbb9bcff1833f82246f16e64fa SHA512 4bdd6eecd6aab145011deedc989b2c2c451840b631df0bd8bb8191b2dffd2a58436b4b9e1656a9cdca6c024b8cfabe911a1bb95c3b4fcd29f3aede4a317fc923 -DIST genpatches-5.5-16.base.tar.xz 643056 BLAKE2B e8e6cc1eedddd9aecd22058a16c7f3d0e54611fe912e2cb2f3b27340d7f9a3dfa6c2326bf29181b4870a327ae0651ea0d4cd4bc2f7a6ce32a59a6419d374ad9e SHA512 e3ae0e1e16e5838f7d1c88394f0020f722a3aa93343b7d704f42ce9173be1de8749ac7d47d071a48a16565210093f7bf77f548b5a4e9f2632b071a4ee141aedf -DIST genpatches-5.5-16.extras.tar.xz 1740 BLAKE2B 77cf2f7232b07ef0646f5e636af9cce0945e8707e2c9ac38f9a69a7dac3ea49615311ab737e1a008b46cc1b40533657901f8d541a64c2798bbc456e730c4b132 SHA512 6214039d90a01fd61e6bdc8370a7f37ba95ff23e1273622ec80271e256852a8fe84b500635c67c890bdce6de985ebcd6351d06dd546ddded23bb39828d35ce72 DIST genpatches-5.5-18.base.tar.xz 663560 BLAKE2B 3b44112e2788825d1205f89ab2930d543c896661638972a2431cad55dae7fed16aa2f881ee5b640a8876de8c472790a2bce87c20fcfe8679dcdb3cb9cab9adcd SHA512 4ef5a6e7d15e63722f19ee06a6722318a57a293298dc1b5b6faab36130d12ad1612be9060b9a00775f4216c5a822b41222c8e6b3feb26976c38fa613e58fe52f DIST genpatches-5.5-18.extras.tar.xz 1744 BLAKE2B b236b4a9dd3180e1b984febea0f2f16742dad42eeae3c97f927ca946d08013e06b465d71cd0bcfc91b02929d9c2dcfcd2801706b7495dd5acad4178515286ce8 SHA512 507cdbffd6d419b2ca1c6a65683e2e95723fcd2d71066c4579d44877808bd8eb829586229bd31faa27e1a721691e1b30f0c3dc084a5947ef0acdd136bf071a87 -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 DIST linux-5.4.24.arch1.amd64.config 241418 BLAKE2B b24fbeb04cb63b5f0ec7ea935b21302aec92552f1a8108c204f8529803d5eb23dc6124529ca0f9fc394af051b0d3725698fb5df95d6af25274cb51146e3c052b SHA512 d180f3cea5c9c357d482d8533dec7e641b782f501c15f749a5a5347fe737fab93a43a95e12391fcbe3d93a90d673c91b890cb66d219a8f8247074d222959e9cd DIST linux-5.4.24.arch1.i686.config 240684 BLAKE2B 8c29d083cef61f0c61e7256553c00817c5656ff56929dbce60132283a1a43576b18c42823eec7114c9332caad59557b1383a8f9fd16c92ff54f87e587fb2fe06 SHA512 bc293ffd03ee0d8dbe745e80963d3f52977c1cd5875826afa0be6d4615aa33afc6a8a548bd5db5d3bc00a33f7cde566206a959d4f5ea4b4f41ed83492ae4e365 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.112.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.112.ebuild deleted file mode 100644 index 3b0d137453f9..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.112.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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-4.19.113.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.113.ebuild deleted file mode 100644 index 3b0d137453f9..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.113.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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.27.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.27.ebuild deleted file mode 100644 index 26593f121ff0..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.27.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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-lts -AMD64_CONFIG_VER=5.4.24.arch1 -AMD64_CONFIG_HASH=c060a2f4e686e06679d9cf9bbab5fdf423e5a402 -# https://git.archlinux32.org/packages/log/core/linux-lts/config -I686_CONFIG_VER=5.4.24.arch1 -I686_CONFIG_HASH=3f4ba0851a9e9a3809fdec4091335182b0f1885a - -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 - "${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 -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.29.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.29.ebuild deleted file mode 100644 index 26593f121ff0..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.29.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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-lts -AMD64_CONFIG_VER=5.4.24.arch1 -AMD64_CONFIG_HASH=c060a2f4e686e06679d9cf9bbab5fdf423e5a402 -# https://git.archlinux32.org/packages/log/core/linux-lts/config -I686_CONFIG_VER=5.4.24.arch1 -I686_CONFIG_HASH=3f4ba0851a9e9a3809fdec4091335182b0f1885a - -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 - "${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 -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.5.11.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.5.11.ebuild deleted file mode 100644 index 46f0dc57842a..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.5.11.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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##*.} + 2 )) -# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux -AMD64_CONFIG_VER=5.5.5-arch1 -AMD64_CONFIG_HASH=e4d4ca36741d228042185e2a9047cd88fb5b4169 -# https://git.archlinux32.org/packages/log/core/linux/config.i686 -I686_CONFIG_VER=5.5.6-arch1 -I686_CONFIG_HASH=7d53d8a42f68648bce5b002aaf8c2b14e6298275 - -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 -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.5.14.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.5.14.ebuild deleted file mode 100644 index 46f0dc57842a..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.5.14.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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##*.} + 2 )) -# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux -AMD64_CONFIG_VER=5.5.5-arch1 -AMD64_CONFIG_HASH=e4d4ca36741d228042185e2a9047cd88fb5b4169 -# https://git.archlinux32.org/packages/log/core/linux/config.i686 -I686_CONFIG_VER=5.5.6-arch1 -I686_CONFIG_HASH=7d53d8a42f68648bce5b002aaf8c2b14e6298275 - -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 -} -- 2.26.2