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 206FC1582EF for ; Tue, 11 Feb 2025 13:07:36 +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 06807343134 for ; Tue, 11 Feb 2025 13:07:36 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2BFE6110471; Tue, 11 Feb 2025 13:07:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 182C6110471 for ; Tue, 11 Feb 2025 13:07: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 BFCDF343129 for ; Tue, 11 Feb 2025 13:07:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED7D915C8 for ; Tue, 11 Feb 2025 13:07:29 +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: <1739279244.239dcdb2930a5f04d8f28df14ecbcc85c56bd413.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.77.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 239dcdb2930a5f04d8f28df14ecbcc85c56bd413 X-VCS-Branch: master Date: Tue, 11 Feb 2025 13:07:29 +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: 7399b0fe-7dc2-43d3-b3dd-aa823797a0f4 X-Archives-Hash: 58a0253e50b49d1cf99dac371cb86c8e commit: 239dcdb2930a5f04d8f28df14ecbcc85c56bd413 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 11:52:11 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 13:07:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239dcdb2 sys-kernel/vanilla-kernel: Bump to 6.6.77 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-6.6.77.ebuild | 135 +++++++++++++++++++++ 2 files changed, 137 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index bc9d0bdb6027..94e86f22cf67 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -47,3 +47,5 @@ DIST linux-6.6.75.tar.sign 989 BLAKE2B ce84f31ef19ce7993b30d119ba7fa1fa702692b9a DIST linux-6.6.75.tar.xz 140469716 BLAKE2B e9cbed2003a5daf377217c8ab834710b97c3f8fd38a7e5e57aa87a2471e990f4a85ac4a951f9fbfcec28cdf73295a44b00c33c9d5537f1d9d60e3c5fbd9b8a17 SHA512 97a2cda9eb7c60c8020754a8a90e42b9121465a796e1aaa313e2a2124faf4a7e8f864d0be208f645c8ed4b3b1c74cdb93b180fb4b14b8d411e866b3eba41fd0c DIST linux-6.6.76.tar.sign 989 BLAKE2B 81bf13010c3eea6a17b2e6163ddbc98682a0d4cb2a7f4b233a12eaaef339ef81aabed35ac024bf5a95fb3ae79ce16338c7b5defa74ed5d902da2cb432bad51bc SHA512 bb44541205fd7a71760d80987dad31c895e6bac72aa182729e280c754e686097eab2c5c67cfe4ab9ae2f67614580e5263a9df073864cd790e3040d381d875d3a DIST linux-6.6.76.tar.xz 140444920 BLAKE2B 9ec8a2cdf7e97f4bb622c371b2f56a65b3cb4bbf412dfafb2554246c9b334373a43ccd2ce032d981019cbdf5e66ae598e241a9b14e89f2b99c1c9989e3c3a0b5 SHA512 1288e2d0a68b214b41566c6aaeb9ca7dcbdf015ad2c5c3eb50b24e2ef07ae0309e71598d79ce2535138c7ef80034d13717cf2f6fb202a73132ba0d6565356d26 +DIST linux-6.6.77.tar.sign 989 BLAKE2B 02fc18a82ab42cba801ec2b81a442a5d9831dc3f57f5e35474b3f32baa760fa6c53259e7e7eebcb3476600436c7ff4b5fea527aa20ab0032e24164df63e96e4c SHA512 4e6037f60db35b529c0cd4880f906e2144d528607bd2b260b60d6d9cbb53a2cf512fe71ffb64f4cdb3be58be16751982e08d07fbac697097ce82686ca48e945a +DIST linux-6.6.77.tar.xz 140479752 BLAKE2B 4fe0f5d99c9b0c40190fa348910f412925757e865261df2a452d370eed6db6b97d929f2441cca4d1a892e207a4e6fe394df4f967f74878173cf4f72640c11c66 SHA512 cc9a046f102ffe5c255854e24584938678e3e060c9558b4ad72393e1555ab785eb44c72130ee583c9c64c62adb98a74fea24cbe32bc96b1b78e173c7a2226bfb diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.77.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.77.ebuild new file mode 100644 index 000000000000..f4370e66a954 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.77.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[@]}" +}