From 8bf02d8edf7e8947a205e2dca77bee4c4e31739b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2024 12:28:43 +0100 Subject: gentoo auto-resync : 06:09:2024 - 12:28:42 --- sys-kernel/gentoo-kernel/Manifest | 2 +- .../gentoo-kernel/gentoo-kernel-6.10.8-r1.ebuild | 144 +++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.10.8.ebuild | 144 --------------------- 3 files changed, 145 insertions(+), 145 deletions(-) create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8-r1.ebuild delete mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8.ebuild (limited to 'sys-kernel/gentoo-kernel') diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 42e21abf32c5..0189e563c041 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -59,7 +59,7 @@ EBUILD gentoo-kernel-6.1.107.ebuild 3940 BLAKE2B cd3a851e8e3ea33b512752760526c1f EBUILD gentoo-kernel-6.1.108.ebuild 3940 BLAKE2B cd3a851e8e3ea33b512752760526c1f5e8d3346078d211ab88d4837f3d84f8d319c3ac8aab120948ae74731b62ff1704476fddca1c5608b4e7605e53277fedbe SHA512 476e2b520280be170f0d89a4cd7a420af6ab9c889377e1ae288814adcea9ce1b896fbe20de2f2161827db1c393ffba3f7d3f1f3213a043a3749f15bd6c484d7d EBUILD gentoo-kernel-6.10.6.ebuild 4068 BLAKE2B f54f7e3365594ad42684b7dc6c21bb7167f822b5c137a68ed62054d377b3b8911f199cff79adacb10186efee2b836c717874f0009da044f201b2d83e337b5ddd SHA512 d36266cf3fd1bf0ae08498b0ccf4ecaeea56b35cd0ce9cc6107cd25c0ed1d97b092fb708d5bd9268437460bcf5f0336f8b2b6a68989677c41feb0f41ecf7e9c0 EBUILD gentoo-kernel-6.10.7.ebuild 4187 BLAKE2B 9508a58ae228bdb91f6f04f8761edb691c19ff536f76bbcd96e74ef0c632099c0c3ad0df004463d44ae800af6da92f15ed917951f1d6540d26f0daa50b0eb7f9 SHA512 aba34df51c08995b08ce4b68897c807bd968e95122406a65229a9ba053fed029d117111e639fed9cba0ca7a8b2d1f51a5d964888fe9e4573df662e88f6e828dd -EBUILD gentoo-kernel-6.10.8.ebuild 4187 BLAKE2B 9508a58ae228bdb91f6f04f8761edb691c19ff536f76bbcd96e74ef0c632099c0c3ad0df004463d44ae800af6da92f15ed917951f1d6540d26f0daa50b0eb7f9 SHA512 aba34df51c08995b08ce4b68897c807bd968e95122406a65229a9ba053fed029d117111e639fed9cba0ca7a8b2d1f51a5d964888fe9e4573df662e88f6e828dd +EBUILD gentoo-kernel-6.10.8-r1.ebuild 4187 BLAKE2B 9508a58ae228bdb91f6f04f8761edb691c19ff536f76bbcd96e74ef0c632099c0c3ad0df004463d44ae800af6da92f15ed917951f1d6540d26f0daa50b0eb7f9 SHA512 aba34df51c08995b08ce4b68897c807bd968e95122406a65229a9ba053fed029d117111e639fed9cba0ca7a8b2d1f51a5d964888fe9e4573df662e88f6e828dd EBUILD gentoo-kernel-6.6.47.ebuild 4064 BLAKE2B a140369be6cf568aa1bf7e715adc5e57ab96f209c53ee47e03da56b064842949a4576a544ffe46ab765c1bb78f75f885de27f66348b2ae85d909bd30b786247d SHA512 8233b737cb9e47f13462adff53aae90f76925df7e647b5fcb69d4d811d4e2857ed9a8b2084dd41e2fb73360613afe9ae9bf286c32beaec31ec9cb7c34491a3b4 EBUILD gentoo-kernel-6.6.48.ebuild 4187 BLAKE2B 351568763f6f9eaaa350e9581b11fe5e86b5ed1eafdaf6cb2a0f51340c82f9a754d3a1991dc3c3abb766661393886ff3d5fee9e2a1bceef14005d5063642739e SHA512 62b8cc53dd76db8ec94f7085449036bcdb2e0ff36f76a7d1bf905b7dbac1d422d57b7f187b499de4612c0e09868c1293b087ffaecb22f4bf817a14d9218d956d EBUILD gentoo-kernel-6.6.49.ebuild 4187 BLAKE2B 351568763f6f9eaaa350e9581b11fe5e86b5ed1eafdaf6cb2a0f51340c82f9a754d3a1991dc3c3abb766661393886ff3d5fee9e2a1bceef14005d5063642739e SHA512 62b8cc53dd76db8ec94f7085449036bcdb2e0ff36f76a7d1bf905b7dbac1d422d57b7f187b499de4612c0e09868c1293b087ffaecb22f4bf817a14d9218d956d diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8-r1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8-r1.ebuild new file mode 100644 index 000000000000..f8ab5cbd3db7 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8-r1.ebuild @@ -0,0 +1,144 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_MODULES_SIGN=1 + +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.10.1-gentoo +GENTOO_CONFIG_VER=g13 + +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 + experimental? ( + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug experimental hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( 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 + arm | hppa | loong | riscv | sparc) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + 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 + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8.ebuild deleted file mode 100644 index f8ab5cbd3db7..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.10.8.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KERNEL_IUSE_GENERIC_UKI=1 -KERNEL_IUSE_MODULES_SIGN=1 - -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.10.1-gentoo -GENTOO_CONFIG_VER=g13 - -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 - experimental? ( - https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - riscv? ( savedconfig ) - sparc? ( 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 - arm | hppa | loong | riscv | sparc) - > .config || die - ;; - amd64) - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - 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 - - use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) - - kernel-build_merge_configs "${merge_configs[@]}" -} -- cgit v1.2.3