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 58B67158074 for ; Fri, 27 Jun 2025 18:07:37 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 459A3340D5B for ; Fri, 27 Jun 2025 18:07:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3CBB5110278; Fri, 27 Jun 2025 18:07:36 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2FD2C110278 for ; Fri, 27 Jun 2025 18:07:36 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA6FF340D3C for ; Fri, 27 Jun 2025 18:07:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 791D427B9 for ; Fri, 27 Jun 2025 18:07:34 +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: <1751046837.3b562ebc7d30490826d6ea75f4ebd0e89c664ba1.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-5.10.239.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3b562ebc7d30490826d6ea75f4ebd0e89c664ba1 X-VCS-Branch: master Date: Fri, 27 Jun 2025 18:07:34 +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: 16d3bc27-fe3c-4825-be3a-e8b80a915c39 X-Archives-Hash: 01ee0230f0c37c441b4e3d13d0c64c5a commit: 3b562ebc7d30490826d6ea75f4ebd0e89c664ba1 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 27 12:36:32 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 27 17:53:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b562ebc sys-kernel/vanilla-kernel: Bump to 5.10.239 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-5.10.239.ebuild | 132 +++++++++++++++++++++ 2 files changed, 134 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 689761bab41e..cfa7b89d5e3f 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -35,6 +35,8 @@ DIST linux-5.10.237.tar.sign 993 BLAKE2B f971a217ba27eeec70d89aef34145132ad56d25 DIST linux-5.10.237.tar.xz 120780292 BLAKE2B f0268c798c872aa1245467a310273cb3dda6583a21c26113fec7b0c43b29e76c8f3be7adb8b2ce193e5415095cbdec581ce0ca9f03e7d03c76003ab6656f49e8 SHA512 0fae2faf7b39cdadd988100171a26ca3877321a73200e91f91171ea263a8dd1443d84418cb6dfc268673069034e930ea33a762d21e26255deb56e22e2b8a1933 DIST linux-5.10.238.tar.sign 993 BLAKE2B 9527debd09d13e8930d65dc004e7eead857f8d1cbae1f895cb307dc8de9293cf11f7f8307517838237032ca29ce29f08e43bd2d438cb51d6dad8fcbee3f37d9e SHA512 9852f8c24e489e71912e77fb67157018a6902223c8c49d04fbc01bbbf11e1e3f304a1191fbc46e122c018c056155d2ea1e6f8944b8541ae7eb5a9256540cfd7a DIST linux-5.10.238.tar.xz 120799820 BLAKE2B 06fdf1e9f2a8c1bdf439efe827109cc3813df2e5f1335bae05cbcf25b146a84ea4da37b1e07cc2e95abd906d5ab519b23e482c6ecfb7bcc3985a843eefafa2fe SHA512 89a65f3fa470e9d15c0c2d980e569e2de330ccaaa77ba695a670f32250df8955f55e5019fa0db930efd7f5f27e6458764b1fb770ca53d6c922c884c233d5422b +DIST linux-5.10.239.tar.sign 993 BLAKE2B 818fd77f902212832c0d044ddba3e957e7463f263a0dc68edd9965d60d25376266af94d810952801b2be4f3f29ecb32816d94a1150735b079d586b7c0b0699c6 SHA512 8ee09f174125c6fa3d956039a4c1b0156e80ba4df7c880408de5d0f08c1d79a8fbfcb4df3672b9f15c6b5b557b13195d7e8b85a136f5c951b8ce01d9576448f6 +DIST linux-5.10.239.tar.xz 120796328 BLAKE2B 4e9b7121697b57a1f077fdc7e2a6a0b096155edf24e6d2ef00ba7776582d692e2058b61a924ab5e5a113a1da6153275b4799279e0061a3ebef482638a5c2f8f8 SHA512 23240ad431fdf11b4b621d4de2b27ff8ae3d9c8318c4bd56663fcbece5ebc36dba93964921240fc352230d1f75ce37b98d60d0b56ae0c037a5dfbd34c370620b DIST linux-5.15.183.tar.sign 993 BLAKE2B 16dcb10cfbc03df1efcb551d2d3dc22b36ee6c0acbc2d97d678d768bf07514ad541814403a5f30831646c000701998e5dff92cc30e064d8a36124a7b9a7f8f0a SHA512 70aeb0799613ac4833ceb072aaf18ca1f0239819e540cac1fbecd74ddcba0d2e1247ced75ad4b1f7767b0773a1c484c42ff0199eef004fa6406b6f0642ea01d5 DIST linux-5.15.183.tar.xz 126754992 BLAKE2B 80da6b3f23aca489092f013152246b43e0801d0a483f8d5ac65da54177c958621e8bcd5a52ce421858e677f1ce8d7c4088f24910197988b30a6184c56e8aff38 SHA512 f019a31577bcacdc4c964861f977a4ceae510c2d59ce6296b940ea6874f371d299990240442ec4b448867a61bd58daf019f57b96ea81298cb44b743b94c18592 DIST linux-5.15.185.tar.sign 993 BLAKE2B f1a316c468f6174dfca3522cdf09ceeec9f464297699682505021b01f39123e341e5b6ba01136218d05fa2943dbf952496362a09f10e4bf783aafd934d9f1527 SHA512 3404f45b4145c4a2dee1cc97cb86615ce6c2399fecd1587b26ef5e980373a7320fd7a9ee0722b94a3b862f565096cb1f6067b7963b37e6df59b7655ef19233ac diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.239.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.239.ebuild new file mode 100644 index 000000000000..fb951cdd7894 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.239.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~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) + > .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 + + kernel-build_merge_configs "${merge_configs[@]}" +}