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 5FE5E1593B3 for ; Fri, 09 May 2025 17:40:28 +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 4BFF6343206 for ; Fri, 09 May 2025 17:40:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5172F1104A7; Fri, 09 May 2025 17:40:11 +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 4A9751104A7 for ; Fri, 09 May 2025 17:40:11 +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 02EF03431B5 for ; Fri, 09 May 2025 17:40:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 789332865 for ; Fri, 09 May 2025 17:40:08 +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: <1746812397.c9d05f72a003de2f90a2e37240d0f22ec2af439d.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.15.182.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c9d05f72a003de2f90a2e37240d0f22ec2af439d X-VCS-Branch: master Date: Fri, 09 May 2025 17:40:08 +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: e8bee7fc-bec4-4088-9645-4c11ae0132e2 X-Archives-Hash: ba0691951a5bf4a58381b2ce13aa917a commit: c9d05f72a003de2f90a2e37240d0f22ec2af439d Author: Michał Górny gentoo org> AuthorDate: Fri May 9 12:47:36 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 9 17:39:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9d05f72 sys-kernel/vanilla-kernel: Bump to 5.15.182 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-5.15.182.ebuild | 132 +++++++++++++++++++++ 2 files changed, 134 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index d23d09a64d76..8e825dc8d7e8 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -32,6 +32,8 @@ DIST linux-5.15.180.tar.sign 993 BLAKE2B 1ec53bf6fec365074acc12629f649b4fee5219d DIST linux-5.15.180.tar.xz 126738368 BLAKE2B ef3a7cd6e4ed0ce7e869423d19c344f4ec5369b7163b95786db558957d4c0e9b99a310e194ed369f371e8f43ab04595ea2699030d07b4c15a0b87bfd3a1cb6c1 SHA512 b10921399bdfdf043b0cbaa6f007216822cb7bccf0e94123d0b4496629d8d7cd05a81037898eebb3cf2e405e9011e873e540258cfdbb4ebe4e3e014263cf324a DIST linux-5.15.181.tar.sign 993 BLAKE2B d5156ac8789187ec268de975cbc67ee98b88e6940e2b4907e020cc6908450c3b7368afae48a1aa36b3d2242034b29b40240d88bc817745c72395ae005a80d9c4 SHA512 664692cdc2b9d2ca182f391c917c535336d1a4bafc6a7bf011673cef630fdd8099888e576510d9be6a65fdbbc3f04cff0c4d95008b86198a2e6940649b6c9882 DIST linux-5.15.181.tar.xz 126747032 BLAKE2B 9a86099d6c7df8276988038f06b8d6301b0b0b04fa2635e60ce468cbee8d4c619f6f0ec5e7c62f2169c3ad801bcc291a4dd158e9b52c8d521307ddc241a9f982 SHA512 c46a19e9ce30f2800b61d1fac0b45090aab7f1d8ec580fc1e02575cb8d8aadf012ae82e8fd01c051e98ee84ab5edaf8fe2e2747d11c2c43d12a030600578e8b4 +DIST linux-5.15.182.tar.sign 993 BLAKE2B 7bc75f11e2f1466ab21fd7f2b237a43bd6822800c33e47ffcc8413fa4245816dc6e6ad8471e8a2ee629095cb326c705c3291f8ee98e24391c54478791112fb19 SHA512 00dc5072baa268dbbec3684ab9e266094443e50e01bea05ad4f58b6ae0d0b78e6847fec4f4df487297b69900371956336a585c444e6dcb763deeeca286342d58 +DIST linux-5.15.182.tar.xz 126743716 BLAKE2B 3c3be658d08dacd41124efd60310004dab5f347aaf13c06b31b8045a35cd711c1100d1f33350bf49aad27bb8c80f01ce9f3f9692fba5f4c78a4f6688a8702245 SHA512 0f73d7a89433fda262707d56dd5d8dd593dc8237194239600a17f0455583760832f34b1a66f1684ab450b9b5e40d9de332c4376f4c4c68c9d7413fc79db002ff DIST linux-6.1.135.tar.sign 991 BLAKE2B e621f70ff5b4c06d31d80b6246fe4265853430589107445a67584df7476001234ea4384dc940d6437164947e50dbc7eff425e37fef8c1a8c725db76249965143 SHA512 0be3f0cfdf57137101dd223d75dfa609dda7f7b288709f00341a9f97617700a1192798b55488ee30c1ef76a5e2b404b5945b67562664915064b2dbf350a3b4a0 DIST linux-6.1.135.tar.xz 135288980 BLAKE2B e6ca8026cd0c01c55ef325ed7f06c96369f90a4702595f21dad622d324b79c83e1dcd3328e51d99424bc82e72f866ccebee8b33d00a08feb9523243fbed0110a SHA512 3fb40d438daeb67adb4831998d1bc3c8d02c0876637f4039930d1ab4fe7e37993051f36918e10be9182bfd2d1e172b97e15f376efa3d900e99f9ee3bcaf2c793 DIST linux-6.1.136.tar.sign 991 BLAKE2B 0e9ff69effc6314670cbd80fee757633cdd28bea72fb4fc5fc7578d0a42d45ab38494b467cc4291bdc07b22e4d5bfa9f982cdc91e124df8d7a05be68d5263bb1 SHA512 97e91aacf9aae00ed50b11e2cf20778fd4858d0966dd20bd18ac94254620dcef8147c1a179df27716ef605ed6f509f1d0503c3630882ac74c75b57724147255b diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.182.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.182.ebuild new file mode 100644 index 000000000000..326396ce7852 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.182.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 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.102-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 ~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[@]}" +}