commit:     9e0475cb0b28a8ec62bb046d19aba8600567db36
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 14:54:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 17:54:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e0475cb

sys-kernel/vanilla-kernel: Bump to 6.14.7

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

 sys-kernel/vanilla-kernel/Manifest                 |   2 +
 .../vanilla-kernel/vanilla-kernel-6.14.7.ebuild    | 136 +++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/sys-kernel/vanilla-kernel/Manifest 
b/sys-kernel/vanilla-kernel/Manifest
index 6b68dfe584b2..3aac3e5dfada 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -62,6 +62,8 @@ DIST linux-6.14.5.tar.sign 989 BLAKE2B 
431be2eccfeadbbe051148f4792792b436d42784a
 DIST linux-6.14.5.tar.xz 149455432 BLAKE2B 
872d0b8817c7e02b5e826238c3f548488d26c1d50bd334420ac2f4feb0cf5e1f11cac7f666982b2ccdc3c816aec428e4d57139080bb0510247e9631796bdab0a
 SHA512 
d9323d8e74253db4e89260d8404e24f9c4b0a1d8cc9b6eaa0369f91b103552ab16d35559ae8d8e6ec839d00999b15086a50bcf019473572b6086ada012a26948
 DIST linux-6.14.6.tar.sign 989 BLAKE2B 
6056ba08a6652fe56a2be2312166b0430e2a0de9141a896af332202fbf9d92d1315501d0ece43fbc9938a5bf819f0c7b3f8e270d9f7f155602c089e7f6e21685
 SHA512 
9419afe7fa3fac0443afff1d2a7899edb50a1eb345d8ec7f361671f1a34a0a2c1cce65ff2062cfa8748ae42709e12ebc1d29215a74ad116dc1ff743a39610b08
 DIST linux-6.14.6.tar.xz 149475048 BLAKE2B 
dedcadc0b7506f620da3ac849446539e83d694f0955d5417e063b6680d53ef8993eeef40562ae8dae9249a21bea9746093f8873a360dd74f6b139fbafdd7b9ac
 SHA512 
092cee673c116dc737e00ec52da58475d039dd2e8f9cfb8d645971e754862c0042146e4011a2854f0bbe3ea8f78ce1aef11cff66a471f3daf3f467ceff5987eb
+DIST linux-6.14.7.tar.sign 989 BLAKE2B 
7ad0b481458b8665c45efeca16356b06e6378aa10d6bb06810addeb887a0eb3a639d3503d82b99ac09de61716cc5114306ade154ff132cc6b3ed44721f2f50b7
 SHA512 
c026b4b7ee3e9e57e6e516980439fa9b2b61912d2419dbf00a43eba1e42cc7ae34e089800f32704c7233aee34e7cea0dabb166dc9e41c51faf618c9efc418a6d
+DIST linux-6.14.7.tar.xz 149478908 BLAKE2B 
1b0dc72ec9ff449d7245a0a457a8c1eea3ba63b42c5c179d9262cdbc2f04451c12359fadf74c7464b67115e9206730787b56a3dd539297e7e5c1ad2ae7e13632
 SHA512 
be93d50c32b04101c93d75102444c82c158496221d0caeed92943d927120ce87e4f4201c8f91d176eb12eecaa9d68fd07b1455590e81b466cd3620bcd01a3db9
 DIST linux-6.6.88.tar.sign 989 BLAKE2B 
fc2a03e7b82ca41ca58c3d8d26b98ac298941353becf321d73f36f70f8b2c15a39e2520766d78a1090aefb3726ee4558e347782e45c55655def57a99eaac4851
 SHA512 
b20a9be82c57050029e540d165bf73d269bc1e73fc915030062e15487faab33583129dd177a066afd71108865ec5de833fa5c92d4352415b2de87de15d09d6ec
 DIST linux-6.6.88.tar.xz 140513704 BLAKE2B 
d80411245a1a211a2f1c8eed31faf0b82ffc4a6201c5de9ebe8d75a31a5b4f91af1471894ab4fa274e84bc51aa940226f9e6c9ade11f6370753d0e32f84c31c6
 SHA512 
7f54f89aff75120d450c814c4b5450ca4da8af9ff60c638269c1fa120055042f8dcd9ca5100842f582f127fee2aeb7a6c564c85fa3c2e33e0becdaa510f222b8
 DIST linux-6.6.89.tar.sign 989 BLAKE2B 
f7b1ebb043f3df4c4e6fb42e66fd160aec7a00afc4ef2b4b81f22d61bb755df3eebb6d48d12a185bab8dfb981bad5caca07dbfbad1d1929d2382057a32ac8766
 SHA512 
ce9f15f5f493564b2e66b457936c677b89a6c5207874a1379edf8fa8373247d1cd746f2d964952e6aedeb92e0b92b5073a225ae6b38bf97bfde5b835232da40d

diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.14.7.ebuild 
b/sys-kernel/vanilla-kernel/vanilla-kernel-6.14.7.ebuild
new file mode 100644
index 000000000000..19a12c37aa17
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.14.7.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_MODULES_SIGN=1
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.14.5-gentoo
+GENTOO_CONFIG_VER=g16
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+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://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+               -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+       verify-sig? (
+               https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 
1).x/${MY_P}.tar.sign
+       )
+       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 ~loong ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+       debug? ( dev-util/pahole )
+       verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+       >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+       if use verify-sig; then
+               verify-sig_uncompress_verify_unpack \
+                       "${DISTDIR}"/linux-${PV}.tar.{xz,sign}
+               unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+       else
+               default
+       fi
+}
+
+src_prepare() {
+       default
+
+       local biendian=false
+
+       # prepare the default config
+       case ${ARCH} in
+               arm | hppa | loong)
+                       > .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="-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
+               "${dist_conf_path}"/6.12+.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[@]}"
+}

Reply via email to