commit:     7af268828cc53d2a58a98964959b8a15e7a66ad1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 07:14:10 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 07:14:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af26882

sys-kernel/gentoo-kernel: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-kernel/gentoo-kernel/Manifest                  |  14 ---
 .../gentoo-kernel/gentoo-kernel-5.10.159.ebuild    | 131 --------------------
 .../gentoo-kernel/gentoo-kernel-5.10.160.ebuild    | 131 --------------------
 .../gentoo-kernel/gentoo-kernel-5.15.83.ebuild     | 131 --------------------
 .../gentoo-kernel/gentoo-kernel-5.15.84.ebuild     | 131 --------------------
 .../gentoo-kernel/gentoo-kernel-5.4.227.ebuild     | 100 ---------------
 .../gentoo-kernel/gentoo-kernel-6.0.13.ebuild      | 137 ---------------------
 .../gentoo-kernel/gentoo-kernel-6.0.14.ebuild      | 137 ---------------------
 8 files changed, 912 deletions(-)

diff --git a/sys-kernel/gentoo-kernel/Manifest 
b/sys-kernel/gentoo-kernel/Manifest
index db771e783fab..d7561fea9dbc 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -1,23 +1,9 @@
-DIST genpatches-5.10-168.base.tar.xz 4500132 BLAKE2B 
c613cf38336ac3ba3b51af3308d111ffce729694ce3e5d6730c20c97c9b5f5a6d88d1c2d6a6d86ed66522e9617fc4cd94db99b7c02e695c4bcd1a19fcfb00634
 SHA512 
23c394c27a97129e24ebb46a85f52fae3b31e50d279970fd5af3081b6df275f9471d5513a5fe302ca8c7001d09b83af5fa7a17ea41db6652fb434859a257f0a7
-DIST genpatches-5.10-168.extras.tar.xz 3868 BLAKE2B 
86fdf10638b04700b3cf4fbd6ca570ba6fed2db16cc8b447f3661589c779ea25c0400538d79834814236f463c923f754033bef963a6f886ea447ce82349d5a86
 SHA512 
12f20ceb292d0f347778f6b65174ffbe0420e58857671fde768e1d14c7712cb2ca14f84f2e615ca8a2c2981495f2939f843d82dbf9172bef0e3bb7ac3257602c
-DIST genpatches-5.10-169.base.tar.xz 4503176 BLAKE2B 
ca2bf2e3fa51de6c261f94bf54aaa3e0d7f89e4caae3b0d8b0e7c202f5834c8488fe4fa1239b88f7f1e59dc344112b5633a2968a4dd2d811afb330934861c154
 SHA512 
2086d7afcd337d6fe029c24c8c8713fb1764627abb975f412009e8a760b9eba39944b86380ca70b8568f550ad8ae0a82e8cdc1474196d5f4edfe6ac02f458c47
-DIST genpatches-5.10-169.extras.tar.xz 3868 BLAKE2B 
40ec1739f6cd6cc27b4b5671634aaddd650293e361e3de8fe512652c9f5e7a314d1b9d73c652dca1b6787d24260aebcc8686cac6d85f031074400330ecd6ce26
 SHA512 
1a474298d6a77c5e1aa377bd92ed0066e2eaf0a978db3e2e444ce3f308fcc8043c7d5a9c23b7d1ef5cfb3a9a5b2a0d5d7ecc593b2b5db95b79ccdb95944d78b0
 DIST genpatches-5.10-170.base.tar.xz 4506932 BLAKE2B 
9503a369d1d653fc08e0c24438943dd3b583c25d187b5913a5308d41a7322a6467324be402b3748d201040b004980a5c6021704142008e49888d4898ec6194b2
 SHA512 
7b737194adc2876f589be2a155b1142a48353a099872cf1f75f653fe0c2fbb1899cee2c39970147c827c46ae31d5151aaef18d0a805fdb28d8efc0fce4c808c7
 DIST genpatches-5.10-170.extras.tar.xz 3868 BLAKE2B 
fcba4ddac271a957a8f2645fc833338bd2da71ded4cb935bf1f2df267f50fdf1bab0e2bb0967a3cae975bc7cfaeae932261ae0aab4bcad40b32546ff69850c41
 SHA512 
bb272928563d33ddf9a90db610ed013f625121f8a05cf497c14dfb74052300cae361474e71203be35949ace7aa9bdc23e98f2dedfe3eef885a59674a90166c6e
-DIST genpatches-5.15-87.base.tar.xz 3545732 BLAKE2B 
e69eb4d31984b65ea5e0c216d066b358e6cd4fd9c8c9e021fdd3e5022fa6a9fc804b673bf4433d4b8c6f13aa3d0336f2976aeea50245fbc6640674acfc8bce3d
 SHA512 
bb9ca966cdbd5ef5da3cf4f11038f03495e643c07b7d93eab31d484d5615781361706c54d82e42887f0e5e867e7b8c62f565cb57527a4056be2cb10f0fa19cb0
-DIST genpatches-5.15-87.extras.tar.xz 3936 BLAKE2B 
05717f3f9ccb161a5076c6623f15465729ec898ab7a8fb4e611d07acaca96df6b890a3af0890dedf6acb06c7db148df625fafeca5099eb96e31ae981e00a23e3
 SHA512 
ddda9d1daf3f71a8aade12758db2d698b2230a20b3df059437fba02b499d2a90f2bb5a5c0796b1fdf842ff64e515193ac97aa324a4047bbcceaf4849eeca2674
-DIST genpatches-5.15-88.base.tar.xz 3548532 BLAKE2B 
947258e9bb979febcca994f82b9ca18df494ac0d7db4664a96ccb4737ac71151f21070d30e4e5665c53d4c444bf06471590a14d17f83396809ee9013064db317
 SHA512 
e071daa0620c62e5ba273c6f5c4134f7c6f179b25a7dbc10e1f045b6becef1182e0f27620be0f03f32926d5c2109f7802335dea9caac1d576c47bf92c0532045
-DIST genpatches-5.15-88.extras.tar.xz 3932 BLAKE2B 
d504a1d8dc4510e870c34d5e355944d2e79646102ec04d5a268774e29ead5255ae6cd51f3de1b10992c8bfdfda3dc16379b3e6aebbb18bb528caa801551498a5
 SHA512 
85d01fff2ac04bb439ffb2a648d665358b5631f086db51b1ccadf31a8a74f94445c5942d6ac25676aefeb7a86f3286a8a7320fcc30bb092c212f2061d3143263
 DIST genpatches-5.15-89.base.tar.xz 3552056 BLAKE2B 
2131869a216e9e99fe893e502e9dff10ef486fcbd0a130db2621ecbc61194d4f224745d146213edf35083752de89624346eb7fcd7c2fb53f414d3ddc200b5b51
 SHA512 
ac840d8ea832f5a388ace30cc435501112992a16834dfd01bef764683b415405b1f9fa644062c8ca3ecb18739e55133f2282281436847d9ceae8fd6104dc583e
 DIST genpatches-5.15-89.extras.tar.xz 3932 BLAKE2B 
25a5b47eed2412b6d660572c266fd8d22be0c3e570dab6d45a7e6a0015227a1b4cd468582bebe3ebc7f47600d3ad30a5853dc2398e39ae02352a1b5df1faea36
 SHA512 
b4ce39a33610e5ff1c3309f787dddca702e55d81b19dbfb9300386a246e758ca9192eb98189ed01ba138d38947fa35e27dc6d3b459da059807bee93289845879
-DIST genpatches-5.4-232.base.tar.xz 5291236 BLAKE2B 
9f80382d51bb96d5f3b62f9a6c35159360775df3092301638f36ff2bc13f8dcd2bc18816f76d7bab8e341bf956fbd198047cdfb6d020e0c419d431e0dfcf5754
 SHA512 
e3d6f7c08667dfd3f69d862f6057b8629916c13e1a0421c254aed0462c8725c3ddfd8a75433de1f893e050a9451299281d6d5df9a4d234644e92b2dee1004074
-DIST genpatches-5.4-232.extras.tar.xz 1812 BLAKE2B 
e2ad941ec37d92e646f7c5d8da34b0bacaf98fcc96da2f43a4257a1e9d40bd8b90965655b67bca2a986249d0971c9ab27f892be5e7bc6e9013f8d8143638cb38
 SHA512 
4cf015c2847d593177f842241e67aa8125d19fd163883fe553799c3b7af6dab4c2020462c6d348478a5b539e0425e6510749c537862a67f5f8e185594b6d9d59
 DIST genpatches-5.4-233.base.tar.xz 5294692 BLAKE2B 
357046687c6f2797d5d7090dad357e00675eed329ccef44223dd476551cf04e9f711f1020144cfc59796657cb5b1e6d76b607ecb164e27636869a8bc8984f567
 SHA512 
45f6b35dbca12e8b9e6a9f99d12c44e47a6e471e5091ab75c42346f1d8bc12dc454cbb335f1549b497842c2d9f13a5930c80b5000cb86bd3db7b03347dfebcf4
 DIST genpatches-5.4-233.extras.tar.xz 1812 BLAKE2B 
abedf631da893391a98a98cf48d264f9eaf9f9f7811bf595c36a774c8dde21f105afaf6f4e113e04de472bd6ce0c759bd41fd95aa980b7e05499d8571f3e8a44
 SHA512 
16b09d0a4465123079360ef9f070e0c163f45f9784714e98fe53f7174e836fe7b2562af01e5c2dc932571bb3eafe2d9afedfd60b5c8467bd8410de651ab82473
-DIST genpatches-6.0-13.base.tar.xz 698372 BLAKE2B 
3069effafcb526cc4d2735e2bde48cdb7d0ba5e25748b2acc854d1503268b298e9f690e266e6e81b73ab09461eaa1f0ab3d68066997e51d27af7a051d4c5f84e
 SHA512 
a92a50c3f01266df91793c1ba4baf77aa758093c1e00d333050f8fc989f690240ab6aad53a31e59af95db918a15a5037e2542addde8f9fc3cb57d296bbaaee6e
-DIST genpatches-6.0-13.extras.tar.xz 3808 BLAKE2B 
6edfc9b381253851e8e2c976b6376aff9bf98648faa49396ec81389315694afda7465702fe99f54b1a33249deabb29ed81a6d1651320dbaebd4eea92ed5f3a21
 SHA512 
216098565a5eb046788413da37a7ea933f35c990f3c7f3726004470509929a9717158bd778d321333839490e2dfc1b733fe3c016bc3d06804bfd34dbdc4bec93
-DIST genpatches-6.0-14.base.tar.xz 701288 BLAKE2B 
ae3560178c3b887050f51e7bafd837ffa7755567c0748e4680c230329f52e8009e6f8da59e8f285bc802e318b65777b06f3db7f0d795584eba448b716ed20014
 SHA512 
43dbb5cf7b0ed9a4a03d484a58aaf94243902b8ab31b6b33de3826cd172f0978b08bac8e4d56f7ad2450e288fc66c6e23c9458c29e1f2a6fd3e1f015a4cdc07c
-DIST genpatches-6.0-14.extras.tar.xz 3804 BLAKE2B 
c12099272fc09f02aae38288969f12057092c6867728080744914ea7c9f41bcc0f80154afd7de2f68180e2d3f7f66899d2a8523ea0bc9850516110781339ec2f
 SHA512 
a639231941c13bea32e4c5ce4f56d6dff2b56a164af8481861f4ed3bbe90d406e2d1eb4242b4ae5db9ff735924e75c2241edb372ec9e6a9a3a0df7a99fca2e4d
 DIST genpatches-6.0-15.base.tar.xz 709204 BLAKE2B 
cba74ce5f9a6d8a00991f87fe33771f615640c8c3adaee94432580f5df51cb2a488794a376c9355d568ab4b3014fe23e4c9fb000bb9ed6948b4225211df862d6
 SHA512 
64d5d04b8c1b3c3967fd22cfd975b7f9bbf37e7d7d4e966c7017b589837cfa02200a80880f13ac52942fd845c9835143d809817f5517c91992e30e101b15c775
 DIST genpatches-6.0-15.extras.tar.xz 3804 BLAKE2B 
84856863ba0897a7ac9238094fec3d46a39cfed7db81d1021b236fcf0bbd4bd893ba44af4ddcc9ae955ab66424afd70ead4fa714a1b68e11d7e66539f94a6cf5
 SHA512 
7e49da632e9bf5a78c80a0817708e571452f92a99fa91daca8495282fd0ed955bb16a5fb57ebbfff68e9fe6733655c4d04967c6931d1acf6dc6102a44bd9b04f
 DIST genpatches-6.1-2.base.tar.xz 15048 BLAKE2B 
84d1f7b4cb2c13e70b0d542853856f05de48739400f66253fd277167144ae0c259579e539d43ce65d2ee206a2820ec2ef288d9296c68a4dbd674c43d378102b9
 SHA512 
e349b8b535e8ab9f70cd01c513480cf75bd10dd2f2d5ef15f97734ecc9e481f137dc1cfa4c50f8a1a2f3549bf0142f83f7224603f881e66af130cbe1f8023496

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.159.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.159.ebuild
deleted file mode 100644
index b20535df0df0..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.159.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-CONFIG_VER=5.10.12
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
-GENTOO_CONFIG_VER=g1
-
-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
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
-                       -> kernel-x86_64-fedora.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
-                       -> kernel-aarch64-fedora.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
-                       -> kernel-ppc64le-fedora.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
-                       -> kernel-i686-fedora.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 x86"
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-QA_FLAGS_IGNORED="
-       usr/src/linux-.*/scripts/gcc-plugins/.*.so
-       usr/src/linux-.*/vmlinux
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       local biendian=false
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp 
"${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
-                       ;;
-               arm)
-                       return
-                       ;;
-               arm64)
-                       cp 
"${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               hppa)
-                       return
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp 
"${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       local myversion="-gentoo-dist"
-       use hardened && myversion+="-hardened"
-       echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || 
die
-       local 
dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
-
-       local merge_configs=(
-               "${T}"/version.config
-               "${dist_conf_path}"/base.config
-       )
-       use debug || merge_configs+=(
-               "${dist_conf_path}"/no-debug.config
-       )
-       if use hardened; then
-               merge_configs+=( "${dist_conf_path}"/hardened-base.config )
-
-               tc-is-gcc && merge_configs+=( 
"${dist_conf_path}"/hardened-gcc-plugins.config )
-
-               if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
-                       merge_configs+=( 
"${dist_conf_path}/hardened-${ARCH}.config" )
-               fi
-       fi
-
-       # this covers ppc64 and aarch64_be only for now
-       if [[ ${biendian} == true && $(tc-endian) == big ]]; then
-               merge_configs+=( "${dist_conf_path}/big-endian.config" )
-       fi
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.160.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.160.ebuild
deleted file mode 100644
index c2fcac174860..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.160.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-CONFIG_VER=5.10.12
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
-GENTOO_CONFIG_VER=g1
-
-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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
-       
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
-                       -> kernel-x86_64-fedora.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
-                       -> kernel-aarch64-fedora.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
-                       -> kernel-ppc64le-fedora.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
-                       -> kernel-i686-fedora.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-QA_FLAGS_IGNORED="
-       usr/src/linux-.*/scripts/gcc-plugins/.*.so
-       usr/src/linux-.*/vmlinux
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       local biendian=false
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp 
"${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
-                       ;;
-               arm)
-                       return
-                       ;;
-               arm64)
-                       cp 
"${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               hppa)
-                       return
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp 
"${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       local myversion="-gentoo-dist"
-       use hardened && myversion+="-hardened"
-       echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || 
die
-       local 
dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
-
-       local merge_configs=(
-               "${T}"/version.config
-               "${dist_conf_path}"/base.config
-       )
-       use debug || merge_configs+=(
-               "${dist_conf_path}"/no-debug.config
-       )
-       if use hardened; then
-               merge_configs+=( "${dist_conf_path}"/hardened-base.config )
-
-               tc-is-gcc && merge_configs+=( 
"${dist_conf_path}"/hardened-gcc-plugins.config )
-
-               if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
-                       merge_configs+=( 
"${dist_conf_path}/hardened-${ARCH}.config" )
-               fi
-       fi
-
-       # this covers ppc64 and aarch64_be only for now
-       if [[ ${biendian} == true && $(tc-endian) == big ]]; then
-               merge_configs+=( "${dist_conf_path}/big-endian.config" )
-       fi
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.83.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.83.ebuild
deleted file mode 100644
index 594cf4733237..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.83.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
-CONFIG_VER=5.15.19
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
-GENTOO_CONFIG_VER=g1
-
-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
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
-                       -> kernel-x86_64-fedora.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
-                       -> kernel-aarch64-fedora.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
-                       -> kernel-ppc64le-fedora.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
-                       -> kernel-i686-fedora.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 x86"
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-QA_FLAGS_IGNORED="
-       usr/src/linux-.*/scripts/gcc-plugins/.*.so
-       usr/src/linux-.*/vmlinux
-       usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       local biendian=false
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp 
"${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
-                       ;;
-               arm)
-                       return
-                       ;;
-               arm64)
-                       cp 
"${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               hppa)
-                       return
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp 
"${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       local myversion="-gentoo-dist"
-       use hardened && myversion+="-hardened"
-       echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || 
die
-       local 
dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
-
-       local merge_configs=(
-               "${T}"/version.config
-               "${dist_conf_path}"/base.config
-       )
-       use debug || merge_configs+=(
-               "${dist_conf_path}"/no-debug.config
-       )
-       if use hardened; then
-               merge_configs+=( "${dist_conf_path}"/hardened-base.config )
-
-               tc-is-gcc && merge_configs+=( 
"${dist_conf_path}"/hardened-gcc-plugins.config )
-
-               if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
-                       merge_configs+=( 
"${dist_conf_path}/hardened-${ARCH}.config" )
-               fi
-       fi
-
-       # this covers ppc64 and aarch64_be only for now
-       if [[ ${biendian} == true && $(tc-endian) == big ]]; then
-               merge_configs+=( "${dist_conf_path}/big-endian.config" )
-       fi
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.84.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.84.ebuild
deleted file mode 100644
index 1039b6b5f28e..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.84.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
-CONFIG_VER=5.15.19
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
-GENTOO_CONFIG_VER=g1
-
-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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
-       
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
-                       -> kernel-x86_64-fedora.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
-                       -> kernel-aarch64-fedora.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
-                       -> kernel-ppc64le-fedora.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
-                       -> kernel-i686-fedora.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-QA_FLAGS_IGNORED="
-       usr/src/linux-.*/scripts/gcc-plugins/.*.so
-       usr/src/linux-.*/vmlinux
-       usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       local biendian=false
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp 
"${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
-                       ;;
-               arm)
-                       return
-                       ;;
-               arm64)
-                       cp 
"${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               hppa)
-                       return
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp 
"${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       local myversion="-gentoo-dist"
-       use hardened && myversion+="-hardened"
-       echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || 
die
-       local 
dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
-
-       local merge_configs=(
-               "${T}"/version.config
-               "${dist_conf_path}"/base.config
-       )
-       use debug || merge_configs+=(
-               "${dist_conf_path}"/no-debug.config
-       )
-       if use hardened; then
-               merge_configs+=( "${dist_conf_path}"/hardened-base.config )
-
-               tc-is-gcc && merge_configs+=( 
"${dist_conf_path}"/hardened-gcc-plugins.config )
-
-               if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
-                       merge_configs+=( 
"${dist_conf_path}/hardened-${ARCH}.config" )
-               fi
-       fi
-
-       # this covers ppc64 and aarch64_be only for now
-       if [[ ${biendian} == true && $(tc-endian) == big ]]; then
-               merge_configs+=( "${dist_conf_path}/big-endian.config" )
-       fi
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.227.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.227.ebuild
deleted file mode 100644
index cad009d01a7b..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.227.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-CONFIG_VER=5.4.21
-CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
-GENTOO_CONFIG_VER=g1
-
-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
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
-                       -> kernel-x86_64.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
-                       -> kernel-aarch64.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
-                       -> kernel-ppc64le.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
-                       -> kernel-i686.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
-IUSE="debug"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               arm64)
-                       cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die
-       local merge_configs=(
-               "${T}"/version.config
-               
"${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config
-       )
-       use debug || merge_configs+=(
-               
"${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config
-       )
-       [[ ${ARCH} == x86 ]] && merge_configs+=(
-               
"${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config
-       )
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.13.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.13.ebuild
deleted file mode 100644
index 8dad214e738b..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.13.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 0 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
-CONFIG_VER=6.0.8-gentoo
-GENTOO_CONFIG_VER=g3
-
-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
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-                       -> kernel-x86_64-fedora.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
-                       -> kernel-aarch64-fedora.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
-                       -> kernel-ppc64le-fedora.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
-                       -> kernel-i686-fedora.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )
-       hppa? ( savedconfig )
-       riscv? ( savedconfig )"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-QA_FLAGS_IGNORED="
-       usr/src/linux-.*/scripts/gcc-plugins/.*.so
-       usr/src/linux-.*/vmlinux
-       usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       local biendian=false
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp 
"${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
-                       ;;
-               arm)
-                       return
-                       ;;
-               arm64)
-                       cp 
"${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               hppa)
-                       return
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp 
"${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               riscv)
-                       return
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       local myversion="-gentoo-dist"
-       use hardened && myversion+="-hardened"
-       echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || 
die
-       local 
dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
-
-       local merge_configs=(
-               "${T}"/version.config
-               "${dist_conf_path}"/base.config
-       )
-       use debug || merge_configs+=(
-               "${dist_conf_path}"/no-debug.config
-       )
-       if use hardened; then
-               merge_configs+=( "${dist_conf_path}"/hardened-base.config )
-
-               tc-is-gcc && merge_configs+=( 
"${dist_conf_path}"/hardened-gcc-plugins.config )
-
-               if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
-                       merge_configs+=( 
"${dist_conf_path}/hardened-${ARCH}.config" )
-               fi
-       fi
-
-       # this covers ppc64 and aarch64_be only for now
-       if [[ ${biendian} == true && $(tc-endian) == big ]]; then
-               merge_configs+=( "${dist_conf_path}/big-endian.config" )
-       fi
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}

diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.14.ebuild 
b/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.14.ebuild
deleted file mode 100644
index 595ff3e75b7e..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.0.14.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit kernel-build toolchain-funcs
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 0 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
-CONFIG_VER=6.0.8-gentoo
-GENTOO_CONFIG_VER=g3
-
-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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
-       
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
-       
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
-       amd64? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-                       -> kernel-x86_64-fedora.config.${CONFIG_VER}
-       )
-       arm64? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
-                       -> kernel-aarch64-fedora.config.${CONFIG_VER}
-       )
-       ppc64? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
-                       -> kernel-ppc64le-fedora.config.${CONFIG_VER}
-       )
-       x86? (
-               
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
-                       -> kernel-i686-fedora.config.${CONFIG_VER}
-       )
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
-IUSE="debug hardened"
-REQUIRED_USE="arm? ( savedconfig )
-       hppa? ( savedconfig )
-       riscv? ( savedconfig )"
-
-RDEPEND="
-       !sys-kernel/gentoo-kernel-bin:${SLOT}
-"
-BDEPEND="
-       debug? ( dev-util/pahole )
-"
-PDEPEND="
-       >=virtual/dist-kernel-${PV}
-"
-
-QA_FLAGS_IGNORED="
-       usr/src/linux-.*/scripts/gcc-plugins/.*.so
-       usr/src/linux-.*/vmlinux
-       usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
-"
-
-src_prepare() {
-       local PATCHES=(
-               # meh, genpatches have no directory
-               "${WORKDIR}"/*.patch
-       )
-       default
-
-       local biendian=false
-
-       # prepare the default config
-       case ${ARCH} in
-               amd64)
-                       cp 
"${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
-                       ;;
-               arm)
-                       return
-                       ;;
-               arm64)
-                       cp 
"${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               hppa)
-                       return
-                       ;;
-               ppc)
-                       # assume powermac/powerbook defconfig
-                       # we still package.use.force savedconfig
-                       cp 
"${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
-                       ;;
-               ppc64)
-                       cp 
"${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
-                       biendian=true
-                       ;;
-               riscv)
-                       return
-                       ;;
-               x86)
-                       cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" 
.config || die
-                       ;;
-               *)
-                       die "Unsupported arch ${ARCH}"
-                       ;;
-       esac
-
-       local myversion="-gentoo-dist"
-       use hardened && myversion+="-hardened"
-       echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || 
die
-       local 
dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
-
-       local merge_configs=(
-               "${T}"/version.config
-               "${dist_conf_path}"/base.config
-       )
-       use debug || merge_configs+=(
-               "${dist_conf_path}"/no-debug.config
-       )
-       if use hardened; then
-               merge_configs+=( "${dist_conf_path}"/hardened-base.config )
-
-               tc-is-gcc && merge_configs+=( 
"${dist_conf_path}"/hardened-gcc-plugins.config )
-
-               if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
-                       merge_configs+=( 
"${dist_conf_path}/hardened-${ARCH}.config" )
-               fi
-       fi
-
-       # this covers ppc64 and aarch64_be only for now
-       if [[ ${biendian} == true && $(tc-endian) == big ]]; then
-               merge_configs+=( "${dist_conf_path}/big-endian.config" )
-       fi
-
-       kernel-build_merge_configs "${merge_configs[@]}"
-}


Reply via email to