diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-25 14:56:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-25 14:56:29 +0100 |
commit | 22899eb46c1c332d9a8a995c0be0b965fb1bcfc3 (patch) | |
tree | 25c77db0aa77917e9d02268c57cdd9fac0d82035 /sys-kernel/vanilla-kernel | |
parent | bf2c6ad6782df5963101bc3e73c0d31d65e0829f (diff) |
gentoo auto-resync : 25:07:2022 - 14:56:29
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.133.ebuild | 134 |
2 files changed, 137 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index e0af2b675837..f22d3144eefc 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -25,6 +25,8 @@ DIST linux-5.10.131.tar.sign 993 BLAKE2B 7cbda729dcd13f8bff49af2efd68f4afe960a7f DIST linux-5.10.131.tar.xz 120443592 BLAKE2B 04fcb8735aa26c2502b0191cf407cd8c8f1b3bc8c6f9348d2fd42b65068bb193dbdfcb23ec9861a2b1f91de269fc5cd067f7246a56bbfdbabd125b03a1e0c096 SHA512 e10855093eab9504d0307b7787a2c0f55e952560a971649508f83bf26471739e6a009e54af2dab30ecc15b4020e65a0a37603526b81d2d9be405e0b01faef7f1 DIST linux-5.10.132.tar.sign 993 BLAKE2B 6a6b55885d0b7fdb00b631d0d0f304e9346eb82482a93c22524612c4470dd927d48baeff3680153bdbf673bfdceaf45b97ac88944bc1b5a8be685f76d8cf44cb SHA512 81a2061723df738eda1992f23f40299eb9c1508a1f6a79df3c063931d6a0fafd8d4508acae667b9ff1c2b3ef4adb48e3514b6dcedaff4c957c8fb677c3a56104 DIST linux-5.10.132.tar.xz 120432520 BLAKE2B d1abd82c248ac610ffcf2b7c713a647f97b2ab186a54b3ef9ab69ad7c2a647b04f254dba6cafa71ef742ea4a385034bd27883ccd1f5857f0ce0ca6fcd93e6597 SHA512 e1bfc069a91c111a81694e6ecf71f995a33a9dcf89e31ee7c9e01821bc1fb00c1b895cb1786bc62d398c6e9dc657ceb3f6b8033b50b17e77cce9a82039ca5c86 +DIST linux-5.10.133.tar.sign 993 BLAKE2B fddcc2dc991ee0ee8d5b81015bc62c17f3e1edd245a4df5a1f9307a26266418c703bf50620173466fdcadd85be679449c27547201c6baad13b3b05e9e3153c1f SHA512 82b76e437955adbce9d4ca9b22c4c5becf19743c856426f63df8f1503c0b051e5e06a145ce06b7422bf15961ec2f91524b94daa802f5c2d7ae4603273581ad0c +DIST linux-5.10.133.tar.xz 120457796 BLAKE2B 811a5a7b1796dcb90baf7dc3f5f39947e409f8f8c6fc6364e3269c6a8735f912dcf8e2b03b62022222b20c42fe6590e7a500c04a20c9df44dc7f6544b18795e7 SHA512 980b290bc619a843aaa1ba6cbbeb6c796cd63ec5cbcb6de820afaa33a28a64b746cda73b921babb5d9110b19dff6fa47f368d3427552443b8c2c929c35ba65f0 DIST linux-5.15.52.tar.sign 991 BLAKE2B 321a5eb8fd8cad2d14705ffdea3fc0ad5cc4618defbe8426b978aac10c28dbf0b4f15a571c16c22ff2437f87ab8d70ade815c5f76ce0d763ad66846a27e02349 SHA512 1ab45e728a768b704ff52551e31cf91fa8a6ec008e3f2aef387b925ab18dcd837f4a4b71f85a7bb96b0ab403c39757ddfa8d22578117728f594768904bc5ce62 DIST linux-5.15.52.tar.xz 126364084 BLAKE2B 9baf5b0182df91790716f3629a6e163cf87d8e9bde79350f30432e7446d2033de9d081f1693a758a3830a26c03a8bc13713394fd82457afde33ecfb9e353de2e SHA512 01852559b30b177ba350827b076dc58ecad020e63940482e694286ade3debe53919a4514338536f46da1aa4f89b671368a112a913a53a0352d033252bc6b2a1b DIST linux-5.15.53.tar.sign 991 BLAKE2B 4d890ec6f124577094dfa178fd64dcbb99ef7f07f3ab5bc6c5591c1a2304286ad8285b3d7bb405cb127b33f05a4bd2bb03d0e438f50c1fc466346e3530814a85 SHA512 e7206e9551b89b3aed1835d8e29832ad457d4c375ccd53c4306bd390d714a6a9329d4bb2f71bc2c2dc4bf932ada7131c5383f23a2d71c44b6a0a8365de7a9b7a @@ -64,6 +66,7 @@ EBUILD vanilla-kernel-5.10.129.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bd EBUILD vanilla-kernel-5.10.130.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.10.131.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.10.132.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d +EBUILD vanilla-kernel-5.10.133.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.15.52.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 EBUILD vanilla-kernel-5.15.53.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 EBUILD vanilla-kernel-5.15.54.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.133.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.133.ebuild new file mode 100644 index 000000000000..96cb3e86fc4b --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.133.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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=g1 + +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/${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=${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 + + local biendian=false + + # 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 + biendian=true + ;; + hppa) + return + ;; + 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[@]}" +} |