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 9270B1582EF for ; Thu, 27 Feb 2025 17:05:33 +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 63C923431F5 for ; Thu, 27 Feb 2025 17:05:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8B2E61102C9; Thu, 27 Feb 2025 17:05:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 83E141102C9 for ; Thu, 27 Feb 2025 17:05:28 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34670343069 for ; Thu, 27 Feb 2025 17:05:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1A332731 for ; Thu, 27 Feb 2025 17:05:26 +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: <1740675914.b1179634c830b5e64cf396ee12366b1a53d35a2d.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.6.80.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b1179634c830b5e64cf396ee12366b1a53d35a2d X-VCS-Branch: master Date: Thu, 27 Feb 2025 17:05:26 +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: 0f24eeba-4f35-42f3-9769-afeef3c6bc14 X-Archives-Hash: a762649b4e58d10cd442187a8378f07a commit: b1179634c830b5e64cf396ee12366b1a53d35a2d Author: Michał Górny gentoo org> AuthorDate: Thu Feb 27 14:12:24 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 27 17:05:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1179634 sys-kernel/vanilla-kernel: Bump to 6.6.80 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-6.6.80.ebuild | 135 +++++++++++++++++++++ 2 files changed, 137 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index bb9eb737d08a..3d626b8d5a52 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -31,3 +31,5 @@ DIST linux-6.13.4.tar.sign 989 BLAKE2B 1825b5690bc923e217ebb2ee5f6dd05d6cea19f1b DIST linux-6.13.4.tar.xz 148494632 BLAKE2B 2fe8e972e7de458fba6fbb18a08a01f17b49e4a2d31aa1368e50895a2698c6e1aaaf5137d0c0018860de3fe598e4ba425d6126ade7387ba227f690137111a66d SHA512 d6e1fa891d4d62554020886c785e11d9ed982b236033b765471c47bcdd6026d33cd0fd9c83fd4ee9fee474d41e6e7e8079ee322bf6d3185d8bdda20cc9c0fd95 DIST linux-6.6.79.tar.sign 989 BLAKE2B 4f33ea96cd0d8b8f7048e87b20f40dabe47f3999a453cbf05ba54e34e0d71adf77258f8f69408ba9aade6cb4d5051ce3cac7bc56de6314054b8160fbc38692af SHA512 76e363f033130d173fbe732f90fd474bad95397d0d462cab75dfbb7cbb9b29982013b41d7d41f43c5c94fcfd144e453b3eb5e0c999dd06ed2e1eaece2e271c7d DIST linux-6.6.79.tar.xz 140477964 BLAKE2B 091909d80d1fd68090cc4e1399181df8dbc7c8d18d3c141feac80186ab63ab1e219af5c72d5cdae14269eca962ce5654bf21d761a400348b87dd1ecd6711600c SHA512 7eb3f4656806d2aebbd5d78ef9858eee9374163f40f13b5d459cfe36b21e116a9f25410b1188253ba23be5d62191276c96dcab8e0165ff6d17d10849d76b66b5 +DIST linux-6.6.80.tar.sign 989 BLAKE2B 5a352191cdf22273df549c3c5bd5a39593d94d037402d9d7f72b2e14fed4429b756c45911f0fd152251e82fe2c0850b018eff02cd45747482974b0aef046a799 SHA512 fba0b75af6bcba534e459b49a0ef6194dad1cc57a61adec5b18b64ea0474d7c3db5d0bd4491ff050440a6ceb41cb60cbf8fe22eadc68245db6fade631142dbd3 +DIST linux-6.6.80.tar.xz 140482588 BLAKE2B 002049e9374dfeb2c5bfef12dda421a830d6a8be045876361cb6fa6113e2241282d5ef06a8560d5cc449c9272e829e6073f5de211f99565e31131085c94fc624 SHA512 0764061d5e1a3f66d3429acd92c95bdadd7f7314e90b33d95d7cd2eb749ced94467c1dc216e81a79b98722f9ecf37c177e14e42811766241e5f6434463868fb4 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.80.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.80.ebuild new file mode 100644 index 000000000000..f4370e66a954 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.80.ebuild @@ -0,0 +1,135 @@ +# 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.6.12-gentoo +GENTOO_CONFIG_VER=g15 + +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 + ) + 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[@]}" +}