From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7317158086 for ; Thu, 18 Nov 2021 18:28:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 907D1E0849; Thu, 18 Nov 2021 18:28:17 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48884E07B3 for ; Thu, 18 Nov 2021 18:28:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D60D4342E54 for ; Thu, 18 Nov 2021 18:28:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 504021D4 for ; Thu, 18 Nov 2021 18:28:11 +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: <1637260084.704453ed6e8b548ea0cb7c58ee18d8585dcb632e.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.80.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 704453ed6e8b548ea0cb7c58ee18d8585dcb632e X-VCS-Branch: master Date: Thu, 18 Nov 2021 18:28:11 +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: c5270582-8cb3-4bd4-8ace-9fd9883764c4 X-Archives-Hash: 4d5454f9ff589c986bae79b66cf19664 commit: 704453ed6e8b548ea0cb7c58ee18d8585dcb632e Author: Michał Górny gentoo org> AuthorDate: Thu Nov 18 16:57:30 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Nov 18 18:28:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=704453ed sys-kernel/vanilla-kernel: Bump to 5.10.80 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-5.10.80.ebuild | 102 +++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 44044403da4f..4ba064367dba 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -37,6 +37,8 @@ DIST linux-5.10.78.tar.sign 991 BLAKE2B 7c0ce0c667457f5933f374512a43e712f9ee9b9e DIST linux-5.10.78.tar.xz 116448984 BLAKE2B 0c6c3bd590fedd5d42c9d950fa075ba31297099e307c0bd984c63ee076648c75386ae271f388cc4ce5a9206f6e7f0b2d2fd7f8819bde0d6d5574a242a64bbbd8 SHA512 3ec352e6d50480dddfa3fa903c37f72b1b027c541862182e910013c5d461431d4782fb4908c74513d20a4c093abf0318ca9a76bac6c1b56145d0fb21ad194169 DIST linux-5.10.79.tar.sign 991 BLAKE2B 555d31316c540a694a501cd8c3cb1024e6d10bc9e5af66cd949f38511f6e412f696fa9c995a904ffb01f4d9f71275a3dc140ba9b1fbd7b37baea19a47c4d6bf8 SHA512 a539df6e5bd5b408839d2d5d8b410e2861e6bce6e293c6b916be5d6ce6d8238e514a5046e5a49730cc951368ff08d984d03cf66cbb128ad3792b3c1de9e77741 DIST linux-5.10.79.tar.xz 116442892 BLAKE2B 9aba74cb8181fab3dacc1a066be01a895141a39d5d20d26a22374e9246ac62e49196dd9637040d17c7b7a43774cd6fd471e2670ba385568c8268c43909f96880 SHA512 5bcfa281138cbb293559c8fe5ebb90cde003230dfc5b231a29df42db4cdd5bd639abe956a9c995daa642c5efc93404406a3bde5d65f5c1667637729e67bea48c +DIST linux-5.10.80.tar.sign 991 BLAKE2B a7c03fb059c91dc939bf4f646aa864e7ebe7ea299928ef8ddb1b83c271dae0a39d8168df4734ace405c20e8b91d379d3dc45ded5ddfab0fad54296ba17b0da6a SHA512 47b72cd7242e416411e8164260b797099b94e4f13db469f48b0b10e43a547f5ca676b85c9f7ce031c66b03a95099fa3ef0ee5bea4bffce2856cce85aea6b43d0 +DIST linux-5.10.80.tar.xz 116467076 BLAKE2B 7e40b8d8c17b67dda064b3f489b534a1780b0317d1079ed721229a637ed8f56cdf7110971bfa959e1cf96fb2856a293754d6a0c422aa81d760b0e43607c36645 SHA512 f26a6a69677c9c2041e53aa7cd1b4de49522e8a5e5ffe940d91f56019df1e7a5807af701dd09f33066f66e61be0dbb93bcda1b6491f77c493650bb9c011c88db DIST linux-5.13.19.tar.sign 991 BLAKE2B d26b1e733f84725318d8dbf1e9fcade7beeadc38a4a07aebf6be653ab0dff5c0a5533b5591e753745aeeeaa7650b2bf0d1942878b2243aac01b68d0ca81f8367 SHA512 a4c5ad726818ad7bcb87c3b6621abecdb17ea14ba6cc8686bf36ace3c0d16f8c5353b4f02f0b02b60967957d13172c3fa60b1415ce3d2dd1c0f8a852127a6c4e DIST linux-5.13.19.tar.xz 119374060 BLAKE2B 6a05829867d75705e0282418bd68c1b60a4f2cdced39803458d67c975f8aa3ed455300c19300d7c7cfad71d2e5750b0b0750f825aacb0fb3794eb5b7b3189cc6 SHA512 77f6279fe7de3c0dd35946b991fa190aa70f5e806fa6188a0a676dad0939e2a20136b3dfc659dcac7870b387ead328fcdc287c8a25b63120bea1ac960117990e DIST linux-5.14.14.tar.sign 991 BLAKE2B f391ab4207b20e9efe0e7ddd40d0b25ae643dc9242f353ad708c0e30f8ec3cacbe531f4c1754ce4c4205906965d5d6fcef2c0349c4d49a4288b60e83194a60de SHA512 85f7811b8647dfa3ec04cadf64602a791a5c750f213a45c5fbb6f326b263d51b0c1d7e86645e6b6bce5342458281786aa43e58516375fe082ee99289576ac344 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.80.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.80.ebuild new file mode 100644 index 000000000000..12c958a4bb2d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.80.ebuild @@ -0,0 +1,102 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build 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=5.10.32 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="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/mgorny/gentoo-kernel-config/archive/v${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 ~ppc64 ~x86" +IUSE="debug" +REQUIRED_USE=" + arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( app-crypt/openpgp-keys-kernel )" +PDEPEND=" + >=virtual/dist-kernel-${PV}" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + echo 'CONFIG_LOCALVERSION="-dist"' > "${T}"/version.config || die + local merge_configs=( + "${T}"/version.config + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config + ) + use debug || merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config + ) + kernel-build_merge_configs "${merge_configs[@]}" +}