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 DC7B51584AD for ; Fri, 09 May 2025 17:40:16 +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 C58FE343165 for ; Fri, 09 May 2025 17:40:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id ACB9E1103DE; Fri, 09 May 2025 17:40:09 +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 A2A871103DE for ; Fri, 09 May 2025 17:40:09 +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 57F513431B7 for ; Fri, 09 May 2025 17:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCFCB2822 for ; Fri, 09 May 2025 17:40:07 +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: <1746812390.78b357340ea3c515158b46dacfc094df4e6f1630.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.28.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 78b357340ea3c515158b46dacfc094df4e6f1630 X-VCS-Branch: master Date: Fri, 09 May 2025 17:40:07 +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: 5a9fba08-4343-44db-aaf1-fc81684ae687 X-Archives-Hash: 069c4303039eed6809ce40b750403e6d commit: 78b357340ea3c515158b46dacfc094df4e6f1630 Author: Michał Górny gentoo org> AuthorDate: Fri May 9 12:40:11 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 9 17:39:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b35734 sys-kernel/vanilla-kernel: Bump to 6.12.28 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-6.12.28.ebuild | 136 +++++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 2ece76f9d99b..1171c0a109ca 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -44,6 +44,8 @@ DIST linux-6.12.26.tar.sign 991 BLAKE2B 89ab2f7797adbbcbc24a008c205fdb1bf72ee8ef DIST linux-6.12.26.tar.xz 148095704 BLAKE2B 3f4382766952a1aea7d3cd5b733b450147d46d92be8338b017f3b8170bb9b2edb377f00f6a11b9be770ce73085eefbe5af8b5e7b7de1cf241ef1f021a41842f3 SHA512 fd0c327cd02fb6da6927c4ded6b07683c541080657e5f077916473e0d48e06890461dbffc5c02ecd4a8a85410a3a6ac4ecfec23f036c329a14f26ca0c8d8f1f9 DIST linux-6.12.27.tar.sign 991 BLAKE2B df388c2cbc61d4326aae73c0ace78dc9a8f6caeda96693fccbf99984359e93be729bf9c3503a63f69800fbd77d901a870c7481cf0eb6325a2d771d3a392210b4 SHA512 6bb68afc15dc83bbd6f42887c3d41a48a7e49dbe7addfffeb030a2c1585c687fe12df7f4966f30d83afbcf0ceb4bd15e800e9cf330ca89a9d13029fef83e7935 DIST linux-6.12.27.tar.xz 148097620 BLAKE2B 70722808d57cd096e813c52bbf805119f81273fc977af8943658935c25c3cacdc96b83355b8bdf8291b60b6e8f4cc81dfb41ddb13e74686ec8340d8006fb5dc7 SHA512 f875960e1cc23bd9ef388c0c1224ab10c2093120ab946954bb075692e3ab35dc0d1b99f5353f6cfd4e0634f783d332985165b2539ce792ffbe164debcbc5cf7f +DIST linux-6.12.28.tar.sign 991 BLAKE2B 4e04884ce6e9421615036400053ba98686f82cddff5024d84078343beb67e9f2ce7ef178e16f4b4269cf5c677e01fbe34ad5d8c2ab22c5946451301b7875de4f SHA512 7055ab8871f085274586527f251f7eca3cdf4a0935a27e3b225b6715789fef2ed273e5782d7560809c12cf9ccee027ab3ddd2cde7f50f467b6f4ac34767930dc +DIST linux-6.12.28.tar.xz 148120216 BLAKE2B 764180a97e8401793564044c240777b7caa5f24e867a5a39718c45788f4d743f23512d25b462b31caf20dff63af37f2d873741c6c475be8a73a64556f5cb4d6f SHA512 7909cae6adfdd5810c7d35b583781bf920601a8d779882abcfeb0e2b9880d8062c30b53f9bcdf3d81c92b7836664ce5eaa870746af676f3466e06c0d4151d703 DIST linux-6.14.4.tar.sign 989 BLAKE2B 9992e1acbdd113501b1bf882b8ccfcf6e77c9327e010eb1e298c5f990416626ca098aa2ae3e83d3ea27fdbc90e26037195da3641388498c7d9ccefdab1e5b44d SHA512 7fc3e1f2d0faa1b979db9d98e77c393bb97b3022c97494017705e16c011ac7095a502fd74ca4e141da71608a3740ce9f048a49e392d86dad92df5c7863df0f80 DIST linux-6.14.4.tar.xz 149435200 BLAKE2B 8f5f44fa6f7b2a964a3fb14afd10dc0c6cc5ec73eb3b6dba24d35664f7083546b70eff7a3d5a9b3ba3c8b84785518c6df91aff0ed948cd538ff0b3b0484fd613 SHA512 e59a65d821011d559c7879c70bb14736fb357b750a4513f12a231ccd9c4f4a8cdf1f6a773b42138b6a08fdabca2f473f4fada2e9dfe6ff288de90f3161768cb9 DIST linux-6.14.5.tar.sign 989 BLAKE2B 431be2eccfeadbbe051148f4792792b436d42784a1316baf50a479c47153df6143a77bf10d49666b347db95bc88e91a74067a77d1400cbd4d10d5806ef90765f SHA512 ca33cacb8f170c495e14568865470aff16ff828242b59476069a15034d741dc4ab312d322f3294d18b18078830660530db7b602fb58d2dc44410cd90d15c3444 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.28.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.28.ebuild new file mode 100644 index 000000000000..d5a250429777 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.28.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.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[@]}" +}