summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-28 19:52:06 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-28 20:36:13 +0200
commit0fc853fb7ca723b438b0db0ae3958ac081178d9a (patch)
treec31deeb0db23a72c83fc2ac560728baa0d863c64 /sys-kernel/gentoo-kernel
parentsys-kernel/gentoo-kernel-bin: Remove old (diff)
downloadgentoo-0fc853fb7ca723b438b0db0ae3958ac081178d9a.tar.gz
gentoo-0fc853fb7ca723b438b0db0ae3958ac081178d9a.tar.bz2
gentoo-0fc853fb7ca723b438b0db0ae3958ac081178d9a.zip
sys-kernel/gentoo-kernel: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest8
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.2.15.ebuild140
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.3.2.ebuild140
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.3.3.ebuild140
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.3.4.ebuild140
5 files changed, 0 insertions, 568 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index b23a3381c173..0ae0c17891fd 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -22,16 +22,8 @@ DIST genpatches-6.1-34.base.tar.xz 1760348 BLAKE2B 9a7672bf2f106e0df50997d746171
DIST genpatches-6.1-34.extras.tar.xz 3808 BLAKE2B 9830d4850e5095ef0864df0aaa25a4549678fb76b22807abf61739b42b048455535aff7eaac16bad5d2cdb0cca65efd2e176a50f40a685250df0b75565fadc36 SHA512 13c8f7f596eeaa9b78be7aae7667a196e199fbb8d3cc045318dfdfe1ab340622fd0e958be09ed8608f9667231d6523685af1f03f4f2b52d78810885c0e9fe4a0
DIST genpatches-6.1-35.base.tar.xz 1862704 BLAKE2B b6fb58876bf303e807a429d63c8a932798a73f95275ca1137ca672477d8004404f931e09e681c92202fda9083a44dd53dd0b93d1e503f2bd6e177c44a9c10425 SHA512 df18933b2dc32af5a0760c8419d0f69d2c221c4d12aa8c64ec7d38be8407930b79d507f5312d9e9d369a51a192196dd36a8b919e78c81d068f7ea5989be8c8a1
DIST genpatches-6.1-35.extras.tar.xz 3812 BLAKE2B 3784c4bc551ad594a75de1f174112f80c2e805f5ab2f1fc20642162e72ad785c03ac7e90be19497b6826810d706e36b4f40396e45ba95a6a40f7ba296a3d2930 SHA512 4666ba408cfedbf2d6858fde80699c7d533cf24724598c2b719bed365021eebbad7eb1872008b1bca2f8da77ab31b20d56ead15d9c7d0cd6135f117510a87c89
-DIST genpatches-6.2-18.base.tar.xz 995956 BLAKE2B 402258df823b898522612e18c9d0c51c38cdedc9b4934961989de768c8feb7ce0287f3354a75a97a2a0bcad13e74bbfadff8233b22ae816149f9eec85c8c6553 SHA512 1162522ff7d5a4408b1a1eb5d220822cd5e3db11c9948dcbc011dce67d3022d7af643cff81b2900e91957bebe0f00589bb7db93617e800dc3837f3f537eb1969
-DIST genpatches-6.2-18.extras.tar.xz 3808 BLAKE2B 4c80c3e537e6ea6ea2a9d720127bd5a661417ec94ddb373d6301334108c9765e985723475c85dd0acadce92811b7bd1a96f68cf657a4e943f8be49bddf641eb6 SHA512 8a63c7432326af46c1d9c5e3170f3cae77a35b3c7ccf4ece155418915ee21b511e7b32e7b377976773a5e188d43eb39dc8f435de269779b5192761f21414db37
DIST genpatches-6.2-19.base.tar.xz 1082064 BLAKE2B a25100f54e9775fb220e2debd088c2d9e822e0c8e80da51f34f2372e2b2ee9a09f64fde4ab63e7b53ff1b6c5c0022d52aa7fb6d023a234ef520b3566bf4055c7 SHA512 bae1c063f9e624ebd935681ec7323b7c4fadecff63c2f4cd21d13731a70b549a4128c59a03e282c502bfd9b631ca6ec876cc782a90f633003dff97fc05c95eae
DIST genpatches-6.2-19.extras.tar.xz 3808 BLAKE2B cd58fa1bc082b4cc6f45e1d8332921f78ce4eb8356c6510c6df2eac06778695ec98e4f68b6608bb22b66486895340595c13a9b59ed5316b3a6a8d27e86a796a8 SHA512 b69b534b8398ea2cf8578dca763736c6ea071959c37f4c2fcc0ff5ea9f35cee2e88637567979211d242a04f2015fa3ba6765b5e2173a9ab90c69e5d67b02e9c3
-DIST genpatches-6.3-4.base.tar.xz 243812 BLAKE2B bcd9f63e6015b075a589becbb6246cb208f214f97f443a27258c103dabc2983de04283bd596c041f5c615dc7bed9d28032b4b9e1887ee4f2840dca3bb8506f9e SHA512 3e6bf8f25f7f5ea54c795cfefea83010dcbc6480a054b69ac90d3187ecdb819d19d26e3df09e8c2b9f166e4ca488062672041e7130ac7c0984c0c34e786f4982
-DIST genpatches-6.3-4.extras.tar.xz 3808 BLAKE2B fdc95b7e9b191bc5eb19215cc1a381723242344a47d8e7a6ceb460d49fcbcabff2016a9ee0fde254e2461b54e145b2db2d5add045da1392fc86f1b11d2aa5c68 SHA512 f28b91dd378c42b1f170e29d851d8c7dc78b6b07243231b7b784ec596949abc8ade382025632e2999e395a28c3f38c56e2a439d5e62065af019cb25a21a29104
-DIST genpatches-6.3-5.base.tar.xz 341152 BLAKE2B 19c68c1d0d56049a511ee2d8750d977135ea23190ba6f16f5b75fce668f990f30f7f91058ecb2259e7166796c9a31e52be0e00fc2079b6a28b8b59f5570f165f SHA512 0ab9b37233031faf698a5cde904a3f10f4f0e121090145a625779872c9010f2fbd9b04223ef9ab2456a3caef22e8111fe6be68e7474e73de142609877d063939
-DIST genpatches-6.3-5.extras.tar.xz 3808 BLAKE2B 2ab3f27742dc7af2b9b6d71d4fcedfd9b87ef075e576ce09163a322600ac079475343f4eeea0567a61df3674c4a65abcf386b20f80b12cb6e7d283dcb3ed13b2 SHA512 3a3ad91bb119062538d41552ce97eae8a1f0f1f5c6e3bf1ef40010b6d543a39120d8363ed6918cea9fbbfce4bb133db2bc772c629d15ca60a6c734e332f03603
-DIST genpatches-6.3-6.base.tar.xz 465876 BLAKE2B 37a603ab125f5485534e5bad09040edfae5d69a13c970aadaa8e9b51d9ddc58b3c1bc085cc3e09a1276fbce275320e6667f62b3b3b7e6f45f71f2d2baf826da0 SHA512 c0a1fcffac9b89dbdc763b406f9227edb2975b7049ba4c1f77d1f75806b9ee6bb770a99fc39947e7094a451218b7a77ec73d1920903127bf725cb9b58f7b34e4
-DIST genpatches-6.3-6.extras.tar.xz 3808 BLAKE2B 464a1a9827d0ba6909a50e58b1e6f6b8a99831b0572e119522b863ddae5425cc3765a127727802a8fb02ab5a952b59a5fc07468890619fa29178f92b557821d8 SHA512 6045fcbd6ed73c5d82c500982e494893a8f58e643da540f5ed8a4f6202b94529ba2b10d16ea79666aab043acda8aed201442ec654bd707a8a7f490be4d4c9cce
DIST genpatches-6.3-7.base.tar.xz 466812 BLAKE2B 830f25190bad0be6dbfd45ebc748bc5ef6075cb13466f6cec02ba075d1af98d8ed7285506746631bcea71dbab007290c5b86cc8970c02e5aad5bd37d92d4b9c0 SHA512 65d9ecb216c900aec0d265b849fb40f8c141bda2ea4150d93f24f84c33eedf67b8966ff50a4ef65b0a3ea0aeabacacbfab45203c73dc3e83c1f7758d54b8a2e6
DIST genpatches-6.3-7.extras.tar.xz 3808 BLAKE2B 097c661baa4c4342622cb548169258be534099a9d3d6ec55ebdcccd03f2cdd53ee45bc3e3b96650ffd3d48d667b9a4b8b7ca0d0bc3b0c990b44d1c7d7553d604 SHA512 0ee09931b9e9ad8a3cc266b2c9fe68ce843971d19eecda98765ee92f2ef210b475eea752dd7b44daca61af1b404a28a694dba09f457166e94227aef8661a2780
DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.2.15.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.2.15.ebuild
deleted file mode 100644
index 74980954c516..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.2.15.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 2020-2023 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##*.} + 3 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
-CONFIG_VER=6.2.14-gentoo
-GENTOO_CONFIG_VER=g7
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- 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.3.2.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.2.ebuild
deleted file mode 100644
index 7832a0fc4616..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.2.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 2020-2023 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##*.} + 2 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
-CONFIG_VER=6.3.1-gentoo
-GENTOO_CONFIG_VER=g7
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- 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.3.3.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.3.ebuild
deleted file mode 100644
index 7832a0fc4616..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.3.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 2020-2023 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##*.} + 2 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
-CONFIG_VER=6.3.1-gentoo
-GENTOO_CONFIG_VER=g7
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- 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.3.4.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.4.ebuild
deleted file mode 100644
index 7832a0fc4616..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.4.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 2020-2023 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##*.} + 2 ))
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
-# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
-CONFIG_VER=6.3.1-gentoo
-GENTOO_CONFIG_VER=g7
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="
- https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
- 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[@]}"
-}