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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7A44D1382C5 for ; Sat, 22 May 2021 19:08:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAD89E0886; Sat, 22 May 2021 19:08:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E384E0886 for ; Sat, 22 May 2021 19:08:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82209335CC8 for ; Sat, 22 May 2021 19:08:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CAE85D2 for ; Sat, 22 May 2021 19:08:37 +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: <1621710511.3d66f99b319d87b6a164b49227e95a209d5bd2be.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.39.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3d66f99b319d87b6a164b49227e95a209d5bd2be X-VCS-Branch: master Date: Sat, 22 May 2021 19:08:37 +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: 4195ccc5-eefb-4e24-812c-ed65a088cb17 X-Archives-Hash: 4b465f765effea697d7fe3576b41083e commit: 3d66f99b319d87b6a164b49227e95a209d5bd2be Author: Michał Górny gentoo org> AuthorDate: Sat May 22 18:19:53 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 22 19:08:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d66f99b sys-kernel/vanilla-kernel: Bump to 5.10.39 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 2 + .../vanilla-kernel/vanilla-kernel-5.10.39.ebuild | 102 +++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 78de64b528c..782161f7f2e 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -26,6 +26,8 @@ DIST linux-5.10.37.tar.sign 991 BLAKE2B 476f3325a76928889d55f0d5db0bbf6236632757 DIST linux-5.10.37.tar.xz 116321668 BLAKE2B 74ad5bf6102af7ce8ea575200131c1db9e7e0b044496659896205b9da7239f0c8d9e3fb9400a4b001952a5fc34842069ba71aadad30c1a18855b94371c89fe00 SHA512 8df1383c0a2e4f92ca4b2c075df305db955be3c2fae1c3c97744d37bfd62c50313265c8b86c446548b41b116fdc1e6dc007c501b3836bc8e9456137db858f147 DIST linux-5.10.38.tar.sign 991 BLAKE2B 965f46f557d7a5fd9e95b1a0c2ae8d6174fc78f83b004662cfa1279653835a78250a57e2a2d077df3f492e011652ba91484c8197e30049c2a98a922094674acf SHA512 06d289fe9d896328cfe6ab3b941964170c67b51efa1e2985ab29de05a08f84913f23bfdd87731862e3f7f1bb83ef4d60260876d29859246a94e75a589c49d946 DIST linux-5.10.38.tar.xz 116339396 BLAKE2B e69766ef86ff208a1095ef8bf5a2fb1205bdb457979c03c742a7d8940a784df9a0376554f4d81d5fcb6d2783e7ffe97902473e9cc0a509a3b36b312597b0b594 SHA512 3c4d4d46e13708cc88e634d44826a1c5e67edb57fc93c7690e237113e0293906d2171be9db5b7172c44ce318dd2f408eba5a80d3b4bb301e3bee88fff0cf9954 +DIST linux-5.10.39.tar.sign 991 BLAKE2B 9f88678c79d1f9f62f97d2192954006e90b46dbd28b4999080389fb6ed735cd5eb6935c0ae76693e4203d22b01d6d152d4241d62aa9e24e70c7e7d0c4d40b7eb SHA512 d73bec3e34342ce32ae08e2bab0fb6c2157a55226946e31f319136fc4f232e6f3a4455dbade834f0572b82120ca37d076296eab4310c9bc38540fcc86a5ad93b +DIST linux-5.10.39.tar.xz 116345836 BLAKE2B 4398bc40f44eb4ebf76104ec9a6905bba20dbf5e8b324081a1d74d376ecb1b933da956eca0d17a53f42da9255d0b466cbddaa0f0e64964dab75bc795a16ceaca SHA512 8c4ab1bf81d85c8b53269c9d6a6031b3761d02b560c31e41feacab5d24c4ac83047e7284e3249f0770c10a456477afd5a8af8adce7b1d39cdbaf2a484287c79f DIST linux-5.11.19.tar.sign 991 BLAKE2B dd9660d1124e94f845d6707f8f4a69d716ed29ec64f4979525cc36891d4c8408c51db464a0d6aba67583df9b7f0f50e336b9842e1f13d6bf7882c6349f83fab2 SHA512 d1e8d0a8ff053507e91378888a3f436662884326fadf0ef3a629eccda91f12e82cdd8f932e01850da92e802a494b2aa069c11fb959b97f3f2fcab2e11dc7cd12 DIST linux-5.11.19.tar.xz 117655700 BLAKE2B c5d805c8eb16922e0e7c675406cadfc5414126973599db5c07aae02661eefee237219735eff8b459c0e07fdd5f54962d03a6c80ef9bf730d6a68c8286fd713b0 SHA512 92948ff856b16143cc09f4ef2d62b732bdc0e26aea572999f094309ebc589fc2982ff7f5332a3d98e787127fb2f2e893e68dc0b1339b034cb9f847700611ab8b DIST linux-5.11.20.tar.sign 991 BLAKE2B e6dafa9f4cdd4614314dbc51772fbf203714417e0a5ce4f20677fc4cee2a4bd4a71c9b88d464aebdd795be51ad35e41981561fbbf83e4e367d1c925fa697dda2 SHA512 5dd6d0b7b7f1983a15ede85960ee12c1498afee6dba9121b69bc5a0e358600f29d2bf0558a291d041ecb0226294f1f9c410ab7e870dea4e39e8cefd03accbdf2 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.39.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.39.ebuild new file mode 100644 index 00000000000..2f0d1faa9b9 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.39.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/dwarves ) + 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[@]}" +}