From aafe376c08b0a844bae25813092c119b165798da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 Jan 2024 11:29:23 +0000 Subject: gentoo auto-resync : 16:01:2024 - 11:29:23 --- sys-kernel/vanilla-kernel/Manifest | 3 + .../vanilla-kernel/vanilla-kernel-5.10.208.ebuild | 137 +++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.10.208.ebuild (limited to 'sys-kernel/vanilla-kernel') diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 80074e05a8eb..029496b74427 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -22,6 +22,8 @@ DIST linux-5.10.206.tar.sign 993 BLAKE2B 5d3874901b5194646fd5f9c73b6fe723b346cdc DIST linux-5.10.206.tar.xz 120639412 BLAKE2B 60475da100a677cf59846437d85106aaf9fec1db8c0e4cac61c0a3bbb35280021c22a8ce8659b5d0cf44cecfde9936f095bb3064a348080d1764ae4357406f17 SHA512 48b04c27f183fc90fb7ccebba62d4e99bd3272e7f2618c0bd8ea864b89acfb2b4b4f69361774c960685267b52b70c4f7454dfcc61f64e9781939e2374870ee4e DIST linux-5.10.207.tar.sign 993 BLAKE2B fa62c229d2548fbeebea8545317c09b7c39111234040ce94b37b6a1f32d7bc0ea48bbd06992bf33e46c1f94a665fe98f00d4a75616276c92ec2fd7bca825a7b4 SHA512 1fdde5a3f1e3b27a4d7d7e3a54d1fe7a1e9db03cc490160d779b997bb3b8045f9c3b314ad2958364a563ed1ada1f6d98af773552b956a8187a72d7793d05e78a DIST linux-5.10.207.tar.xz 120645600 BLAKE2B cfdd852e6ec9c359c07133234e9aa42ec768ac8f3e7ec7ea1dcbdfc526a253a3e692bdb6868fcef4ea66bcfd51d09d67764cb13db461a0e4fb11b12efdab8583 SHA512 2198aa8636fb6152ed61bd5670dc137087b7add32fc9227307439d0bddda9f7cfa91582cabf793372c85a4e4fa0019d832d358d4b9502a7c43e477fd3b7cfda8 +DIST linux-5.10.208.tar.sign 993 BLAKE2B 4939bc5189973fc1b7aa6e09789199584c7bb217597e7ec7746d8bd33fbb23d613c8c10e8d2c2c400fb7d8f0f55e6dd5a29242ca663c06e4433f8232efae9833 SHA512 dd9df045cf6134dce978eebca310a171b0c5a8fd2845c49d968b872d28e01e5f1ace01b7203d56576e9ff30da95ad856ad0206cb649a3dc83b3dc58f1213e7b2 +DIST linux-5.10.208.tar.xz 120632496 BLAKE2B 4eac6c86f1978a333d99e16534f529d1f59bad0d8843db7eb72c550036ca4a8a89f128d2f49e584428b34ea6452e16d7525d6d23cbc8f520baaac02a9ea08636 SHA512 f8b12727c5992d652b42935ec95fae8a7565102d635279110f466b60a00f3b140ff18fc41f3f87879553664b6dad162e2c17d5c7ca41867d63b27d9182fec56b DIST linux-5.15.145.tar.sign 993 BLAKE2B 34a28ff96ea10ff95320f528def79964f03076556188cf37aa61fdfbf3ac88097ebcfc69a6459ad51cc5eac65e23b9a57e6effbe5610b64cf357980ffeeb843e SHA512 d9d7134ca047a9d96cfecfaa3c3eb6d52e26a1949736e334576dda665c3b6a6c759d9572b8898b94442cbb3b130f1308f9bc71474a2c5b888498528126710d82 DIST linux-5.15.145.tar.xz 126579464 BLAKE2B f8481b1fec05a75a10d32c512f0600f3a359008b30dce3bac35b00928750650faae013e26bb23d6634618e86f2a700d0342c68869c960c76ead4d415e2c1bd05 SHA512 f5b7acf9ed52b70bcc564e0b13b95e9a352196074b093513c7c74ad7f8bdd3c8938a2860c993590b5289690ac344af94c7a99c496218ce597525671c395d5a72 DIST linux-5.15.146.tar.sign 993 BLAKE2B 4dc2ea0eb1d87eab3250e1c7e3f3a0bead8419c3013a797866edee58dd6bab28396ea7b8a07afd8d7542ac2736a3f66956b17df300afd9bf59bc156c6641229c SHA512 42498bd112fff860f492e53b6556b4abce3c04143d6b46cdef94a6c6121d26d534a1e91542997488aebdece342c8cfcd321e6e44a9bf5a74c9a9a987f3872572 @@ -43,6 +45,7 @@ DIST linux-6.6.9.tar.xz 140052968 BLAKE2B c7deb1221716144b636018ee2936abe6397e15 EBUILD vanilla-kernel-5.10.205.ebuild 3769 BLAKE2B a819d95060bc10320257a1c35a843a763f89e702fe33d93a33770ec02eaaf32a432b6b17bd6485d9e2565c57afa8bcef706bc1cc41ae945b0357f6c7530d7f8b SHA512 539e37e22646fa009c09bc4d9334771e5d57c5d1f234ff668fb7d0fab2cab28fe8b9d7f57fb739f4b72070bfefe6d3e378e65574fee341bd80e219a16f112df2 EBUILD vanilla-kernel-5.10.206.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 EBUILD vanilla-kernel-5.10.207.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 +EBUILD vanilla-kernel-5.10.208.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 EBUILD vanilla-kernel-5.10.9999.ebuild 3283 BLAKE2B 09f42ae4ca54e775fbf38c7b6c1673bb803cba82252035b9ada3a3a05077613b100262c661236c15d8f8e36ad48a662ef32b97d56b588949e1078c780bc1a45b SHA512 16e25af77fcdf34d9d8d1b3a7bd35e48130c988f6c3bc5e7d2036fd377a8234dbc8a1ef99715ada67c89fd4c0c11be4b8b77c0d895b1f36ea0dadd63b7177483 EBUILD vanilla-kernel-5.15.145.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8 EBUILD vanilla-kernel-5.15.146.ebuild 3769 BLAKE2B 32f3d5a6ec9b292d31f9e4e4c63857d74fbc0a0802759d1d1e1e618300e02e78eb8c006adeefb489dfe22f269b60c650bea8354d10ff0efe02ae45fd6bf15180 SHA512 11e4439b625521ecd0df4955a600bdf9eda6bd36172776487cfbea00942cd64d772adc0ac3a0822c315ccfa43142ff114d69de47907028b303503317394b7554 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.208.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.208.ebuild new file mode 100644 index 000000000000..9c5b591d7e2d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.208.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2024 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=g11 + +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 + 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[@]}" +} -- cgit v1.2.3