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 3ABD71582EF for ; Fri, 21 Feb 2025 19:53:46 +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 258763431F1 for ; Fri, 21 Feb 2025 19:53:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 244D21102A2; Fri, 21 Feb 2025 19:53:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 1DADF1102A2 for ; Fri, 21 Feb 2025 19:53:45 +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 C376F3431EA for ; Fri, 21 Feb 2025 19:53:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E84416DF for ; Fri, 21 Feb 2025 19:53:43 +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: <1740167614.c4b5e40eab260e2d596d6ab4613431eaf77b4d7f.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.79.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c4b5e40eab260e2d596d6ab4613431eaf77b4d7f X-VCS-Branch: master Date: Fri, 21 Feb 2025 19:53:43 +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: f4edc315-882b-4fdd-8b4d-1e47857c238e X-Archives-Hash: 13da795b0b7575e6dc321426c9d08be8 commit: c4b5e40eab260e2d596d6ab4613431eaf77b4d7f Author: Michał Górny gentoo org> AuthorDate: Fri Feb 21 14:31:04 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 21 19:53:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b5e40e sys-kernel/vanilla-kernel: Bump to 6.6.79 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-6.6.79.ebuild | 135 +++++++++++++++++++++ 2 files changed, 137 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index af21ceceb7d3..bf15962c23ce 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -49,3 +49,5 @@ DIST linux-6.6.77.tar.sign 989 BLAKE2B 02fc18a82ab42cba801ec2b81a442a5d9831dc3f5 DIST linux-6.6.77.tar.xz 140479752 BLAKE2B 4fe0f5d99c9b0c40190fa348910f412925757e865261df2a452d370eed6db6b97d929f2441cca4d1a892e207a4e6fe394df4f967f74878173cf4f72640c11c66 SHA512 cc9a046f102ffe5c255854e24584938678e3e060c9558b4ad72393e1555ab785eb44c72130ee583c9c64c62adb98a74fea24cbe32bc96b1b78e173c7a2226bfb DIST linux-6.6.78.tar.sign 989 BLAKE2B 448c5957c4f3ed02549ef32e3088dd3071677c6d2304cf0a3789184f802a30cf4c7615c61612173c10406a291a7fb48ba1ea450d0906a8d88a087311eb29d783 SHA512 73307df316b60237a2683f4f7467eb348fc0a68bde692280c13728cd3f30e92802d84b4f34813680f61f8b0fad0a7107c19c516e0015e64d2713158b0a8cdd91 DIST linux-6.6.78.tar.xz 140494600 BLAKE2B 8bbb0d85030fdeffae321b9d8636a0026eda49a1b56f00f282741f15de2426e0bacec9af8eaf5ac750d55f315ea46039fe018a664a2dcc062a2757b4ca5b18ca SHA512 53f7db33d066dbfe3d2adc6120b33ba2c3b7a0e65df1f5fb7bcde3c47ef48cc9c471b0ad86a95554c1d88fa520e1e1a09c087186f336c394096a6e22a32beb92 +DIST linux-6.6.79.tar.sign 989 BLAKE2B 4f33ea96cd0d8b8f7048e87b20f40dabe47f3999a453cbf05ba54e34e0d71adf77258f8f69408ba9aade6cb4d5051ce3cac7bc56de6314054b8160fbc38692af SHA512 76e363f033130d173fbe732f90fd474bad95397d0d462cab75dfbb7cbb9b29982013b41d7d41f43c5c94fcfd144e453b3eb5e0c999dd06ed2e1eaece2e271c7d +DIST linux-6.6.79.tar.xz 140477964 BLAKE2B 091909d80d1fd68090cc4e1399181df8dbc7c8d18d3c141feac80186ab63ab1e219af5c72d5cdae14269eca962ce5654bf21d761a400348b87dd1ecd6711600c SHA512 7eb3f4656806d2aebbd5d78ef9858eee9374163f40f13b5d459cfe36b21e116a9f25410b1188253ba23be5d62191276c96dcab8e0165ff6d17d10849d76b66b5 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.79.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.79.ebuild new file mode 100644 index 000000000000..f4370e66a954 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.79.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[@]}" +}