From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE4B115807A for ; Thu, 05 Jun 2025 17:27:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C53B3343135 for ; Thu, 05 Jun 2025 17:27:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DC81B11047E; Thu, 05 Jun 2025 17:27:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D2B3811047E for ; Thu, 05 Jun 2025 17:27:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C3BC343053 for ; Thu, 05 Jun 2025 17:27:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C35772900 for ; Thu, 05 Jun 2025 17:27:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1749144429.7f59f2b202652c9f28321cfde90ff44bf134450b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/vanilla-kernel/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/vanilla-kernel/Manifest sys-kernel/vanilla-kernel/vanilla-kernel-6.12.32.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7f59f2b202652c9f28321cfde90ff44bf134450b X-VCS-Branch: master Date: Thu, 05 Jun 2025 17:27:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3019e531-6750-4166-ab41-d9d2dd672101 X-Archives-Hash: bb7a194814df94c6555f9bb22c8e40f5 commit: 7f59f2b202652c9f28321cfde90ff44bf134450b Author: Michał Górny gentoo org> AuthorDate: Thu Jun 5 09:06:45 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jun 5 17:27:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f59f2b2 sys-kernel/vanilla-kernel: Bump to 6.12.32 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-6.12.32.ebuild | 138 +++++++++++++++++++++ 2 files changed, 140 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 0a13ba699e42..d7b1720512f6 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -28,6 +28,8 @@ DIST linux-6.1.140.tar.sign 991 BLAKE2B 84f9b213b534ab227a1556aea4168cd588826fc1 DIST linux-6.1.140.tar.xz 135307380 BLAKE2B 4180494f5f36c9dba6e33df7fbd9e3cd8f5ec824a57f483b1ce1ebd268ae2f5498b9338bc9e68f6a346186f3eccc3a34ecc2895c83a9874744656d61b616acbf SHA512 5652224866231f34b2bacdfd5962ed1eaa2aac2be4983474b99ecd81b7f3f7a1543b4e309666244599fd0ffe1a229d0cca1c124b3cc3f0c7212d8a483f1cdbb8 DIST linux-6.12.31.tar.sign 991 BLAKE2B 360ffcd1d8649cd65c0186b0de5ef75faf699363fa3a6a03c46ed2ff31009ca3fb0d6e613342f8f1223bab732fa6a9ca5991dd7197ac6c748709a997fbc42638 SHA512 0fa9b852f84cbca3cb3af10b1f003a4503d7fa9c17f38546fa00a4231ad2b03ba4cec4cd540f4266b405bd17b12278411640d1b80947e31fa10a8afd8f60dfbb DIST linux-6.12.31.tar.xz 148137524 BLAKE2B 5738a200674cb5126f0373dbcdb1421ff32da84645416abfb8c45ed7f13574f06b77546a7ce908ad9eea6174eec34e5e3964d52530e4d3993747270208ad109f SHA512 9e70e7e8ef4681e0f1ec908a31f74c5632690ef4b8b45331c46c71f9c89637134b8fd3b06ef508799da20e03ebfdfbbdd8ba16f85eb21f76f0f96ccf410543dd +DIST linux-6.12.32.tar.sign 991 BLAKE2B fc79930019912c676e4840bcd81166e4256484e23e958c074482baca3248f6359c185fbe46026af6f14b4baae2823ab5d60317ded414643790d00002190c8452 SHA512 9c68216e483282c93a8d56f2268a605717ecc2527c8d182cd284fb583612a041ab81492083d309ed778d1c02ffbdfa21e78844fdfbbc918a800457b4c0b4c326 +DIST linux-6.12.32.tar.xz 148143484 BLAKE2B 21142861062d4d5f5dca4db5b8c7f40c613157727ace43be55091f2f4b11cdb0b47de0f33a36814831591fde160b90953d53b1ee9046f27c82fceb7f6f3af4c4 SHA512 90c5e5e9e3568edbf0a54581cb9e0c93e60891a1e65a0a2ce380c9c8a240d5d5ea8c28b77593bca8c305474668f6b25dc7b965792e5790ddaaff368ff846c633 DIST linux-6.14.9.tar.sign 989 BLAKE2B e17258a5a1d046997884abb15b1f1fbffc5524abd04b528e5e0004f2b402d0ffced6a86bd7b0c5d6e3f795f9b400ccf2bbc9868d379da27875954a980045879a SHA512 37cb22d24453ce5100924f4f3a060fbd8d56d7dd5f0ec40e4e610f9d71934127a970d9d0867a70dad6aa8a9f28d92e38b8a019c937431b5c8c85d6a909b645b7 DIST linux-6.14.9.tar.xz 149501424 BLAKE2B 4a675b88d7ddc8aaaf7258af95915ccbc8a09b6b7f5d10c865fc6dce3254aecfd2f72110be898fb6bb1abc5658c3a35758a1b0d90237de922f538613091d46b8 SHA512 2cfec217ca4fd181f9e69bf302f7f2807667536511f5085feba00b51a3a1f4bbc0bb96acada2eb1bfd0a8b584dfa9b57f12aed07a416a1085eedf8866a03f9c6 DIST linux-6.6.92.tar.sign 989 BLAKE2B a953fefe6029d3691c4dd8d14b3951ad2edc7e459ff31d9a7d4c68c6d58ec523a39d0f0b3e53c8b0853993566cea6383ad8d4c9ef130e24ef06655dd42c8d271 SHA512 0763acc35aef645f4fefefab767420cc75cd852bd1d458e80af37d400a2af6eb169f5e9710cf1db10ace5ed89b13da339b1aa9e7520f24b4d73df83f43306eb5 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.32.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.32.ebuild new file mode 100644 index 000000000000..016e2ab1addc --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.32.ebuild @@ -0,0 +1,138 @@ +# Copyright 2020-2025 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 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.12.8-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[@]}" +}