diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-05 15:33:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-05 19:43:28 +0200 |
commit | bc6dee888a578dcde993759ef994c085ffe988fa (patch) | |
tree | bda1edac5e3b01a7085d6db199e3fbafffa8f5a7 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 5.15.65 (diff) | |
download | gentoo-bc6dee888a578dcde993759ef994c085ffe988fa.tar.gz gentoo-bc6dee888a578dcde993759ef994c085ffe988fa.tar.bz2 gentoo-bc6dee888a578dcde993759ef994c085ffe988fa.zip |
sys-kernel/vanilla-kernel: Bump to 5.19.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.19.7.ebuild | 134 |
2 files changed, 140 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 7e86def4c7a4..043e185a95c0 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -3,18 +3,22 @@ DIST gentoo-kernel-config-g2.tar.gz 4359 BLAKE2B 965392fb5b3c1290c596d3e8593cfcf DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb DIST kernel-aarch64-fedora.config.5.19.3-gentoo 246249 BLAKE2B 9c6a0a428e6ac283fe1ab8b114f90f52486bb7c299197ccfa1033f35b703496879f1d3a1303ab620c131d729dcef68040ad7b736f0064ac9bff7efd4628d4650 SHA512 eacac74d846b32204ed6c3ded61280648b8de084c38aad3916b92fe6208e6d1797f7aa42e8f0a3d3c2f1b21b60fd8c91873bd17e3cd70339074e68ccef1a496b +DIST kernel-aarch64-fedora.config.5.19.6-gentoo 246743 BLAKE2B 47b2940510d9be880b24dcc3eb5df44a3e8b1f5aaf467494476c03fd9f484ae0cf6e675fce6b4c3682a1879e7565b58f14caf8ab888e4f8d3e3ceaf98a240b92 SHA512 a9a84fdfc9b76f1706125d763c1ba9d9c97754405893fe87895e778d1832dcfc97b758ac335528c9d276a8ef13c4d9efcd26bfc12124f04338b1a5e6fc67bcc2 DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff DIST kernel-i686-fedora.config.5.10.12 205412 BLAKE2B 92c715b7e2cd7dd74da7970c05981f520597d3e403ce82c8cf4eee31c9f1f50b638792a6bdb256ef5bfdc99f1bcd594e819e8f44dc6febb2ad9a854bad817f2b SHA512 69d8db11723ae1b40fdedfaace74d15bb63198cdb0485e0a1e5eba95b31217110c93a93e39cc7370cf45f1d3a8bc7f75ec096d6db5ea9ecb28ac6b56702ebb10 DIST kernel-i686-fedora.config.5.15.19 222233 BLAKE2B 9e0f4dd37058f59610e46a87d3165039e76299d3c186fbfc3312101bac1b8b198de404075f5bbc6f5e2ba04cfd45f9d02bdf94b01c3ed11b9275f37f11ee7617 SHA512 49ffc39de86763e707a5c0c07c1367d34e9249615f29fdf97904d7b61a375a86fc4ba37a2f02b5f61e4c76ad65d9ba12716d2523af6faa003f6336d7ae61a953 DIST kernel-i686-fedora.config.5.19.3-gentoo 223498 BLAKE2B e93f7c8ffc5131aaae8842e854df4eba19b0e8a2e8a200403d51a9e1a59be9a6a74e5376ab901064ff2b7f8234e0ff5a20bb1eeb50275f9ed1032301ebcd446a SHA512 ead866d21c79f135e477ca77b045ceaa98a2b673a96affe19bb31b895311b9c17d5b9de4a6a492dcfd3dffb533a67ed98e751c20a63536d4ffeb8c5e6320f7ed +DIST kernel-i686-fedora.config.5.19.6-gentoo 223560 BLAKE2B a684919fff6834fa75baa543f7f1b6c1a2ceaa732e0c04c15bb18ec9a2b78d2a634c65eb41fdb1189f6096184a02a0a380cb9bf5080c788c856008faf817b978 SHA512 ff331039eb5061b4a65c647563c1f86e5a55ab1bc16ece351a00ef1d3c6f2361477d52d375c316a8bed55af8fd3cfbc6f20d81a4513d69797fdf32bc415dd79f DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476 DIST kernel-ppc64le-fedora.config.5.10.12 192105 BLAKE2B 889141debb0656a358a3381bae14b5216b982acdfce0bc758f9445c16647807a68a788fb290199c2a1a23627bda1ef4c9405b3f5ac2a4176d1d2b55c71fb7db9 SHA512 3ab0f1401d9f50a61477c71369dede438f575d9d2c3a2f5c2cf36d624c2b59a938efca9c981b075511b3860c983eaaf5e5a9f877d659277f09ceba45edd43770 DIST kernel-ppc64le-fedora.config.5.15.19 213339 BLAKE2B db6bbc9f402b8b48a2441e39d1a78dc112656ae842bc5594065cfd2ec3f6d462e4bde200e8736a70192af35fb3a5d1fc42683783a5b7620881f3a95bb0bc5f4d SHA512 b43439c24be8fa8bdd17d4c0beece799544ae45b2c289f0202fa5eb7a52dce0165a0cbc924b0decf877582af9688efd675cbfbd2313ff85fcc2c8563bba4b1ad DIST kernel-ppc64le-fedora.config.5.19.3-gentoo 213922 BLAKE2B 37305f2850d4259625e2d2eedbf52b8f698a46c9040af64ff74db11ee81f7590f3b86aebf2ee389fd099524e2926312e4cab9fabc2a088b881494c794bf1680f SHA512 22d7654389de7643329269040d783c9ef3e040e34acf95165b996207479e9ccfde32381859b04b9f26fea0e495134d262e243b6660c83294c1de69b7806651dd +DIST kernel-ppc64le-fedora.config.5.19.6-gentoo 213984 BLAKE2B 9abc1d2e03bb34908019dbbc4e54d3d176acddca6e7af72fe73461e60eb249486c4e8a81bfe2515849aa26939d9abef5e981deeaa55605b34bb59552cd3444fe SHA512 d857ce4178950a96ff029c3c9870211424e1c5e95dfef88d25d6d1d517493a6fd95d9d398f42b8a6cf72482b07789be38f674dd4a2b9855da57c8391b0c2708d DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008 DIST kernel-x86_64-fedora.config.5.10.12 206357 BLAKE2B 0eda9d4f3f973336cabd67c1ac78f100aabde926354743e8dcb7ff84496f0de49210d45f99bc850a2096078b0b4687aa7fd965d999248559506004f2b29dac0c SHA512 b12f43d3c1a52a4915cd73db98874ce9ae6c425672c0f1c19ed1b1101341c868ebf1c9620bef5449752ec0d7342c1ce38fb77779d0f89b9267096a605ebf7a26 DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f DIST kernel-x86_64-fedora.config.5.19.3-gentoo 224173 BLAKE2B 4f2afeff3d1a3f71fe77366d7bd0df9bdd846164ee5470ae3d70535cf643437426647b69aaec1cf1090b006a716bd6618ef4499e342893ed465f1b2c6abeabb9 SHA512 f4fede73bec9eacfbc8367d3fd63b38f2375741af63f5d8be7e0acd2495af3101601a9539af0718a8823b3120f2304aae2e8a5c1d687731810494a59ec47b606 +DIST kernel-x86_64-fedora.config.5.19.6-gentoo 224235 BLAKE2B 0c83b710bc350162565966d568caf667f89eea21c65609fb228d19b18477811db60db7a8a572f528316a1201b329a921f4c850721c4ea8a612d1c8a0efd98681 SHA512 8b24bdc7e8dcaded47e4ca7daea078c63ed9dae9cc13bb9f36c4bb4f2230182cd43f6b4ff3672322d77690e1352ee39c370ab40772b99aa1218a2214464cc436 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f DIST linux-5.10.138.tar.sign 993 BLAKE2B 611ade38fa49fccb98deda25a5148b93151ab1a82508b0e64f14a4954bc464784be60c3a957ae7005aafa53639dbd087ae8c8b2882ab11aaeac95101cdba8fab SHA512 0f4bf52d9db557e6c57e73a782f53fb67cf54abbd1ad6b790559aaad50e73d0be37df9f487fee3a9211dfba5effee2bfba166b594dfbbfd691b00790403a13ec DIST linux-5.10.138.tar.xz 120492696 BLAKE2B c98d0fb69c29524485efa6d5ee1b45996002da0ec28c1de031a32354e1e93f9ce274e80e595451b0057b8273c8067580b82427a199d25e879e9368e123a91825 SHA512 a308319046b914b5c3e3864d04c8d618269cc87826c77703f435419f467488c1602819e1ce80fb3a8780360456615292ea161053c326b0acdb22138d9a1f5805 @@ -30,6 +34,8 @@ DIST linux-5.15.65.tar.sign 991 BLAKE2B 23b3a75c1f23f76d57f9072ab0b0269c31628ac5 DIST linux-5.15.65.tar.xz 126447020 BLAKE2B a5205f703e3c2722c3712c14317624e576faecebea10e8f75ef681aa53bc2138058cef4a18b92c758562b7fcb5545f3e78f9c8091e18f0bd55c791baedbe1699 SHA512 39a782a76ab4a840373bae2d7f4ef0cf1a63d60e3cd78b8515184da639badb34642abdb27677ffac0344efe187a161d2ae87ac11d78f401074c21945e0c8bbee DIST linux-5.19.6.tar.sign 989 BLAKE2B af1848224de41fea363df3d6ef1a3d923d242c232e384f960cd813df1f733f4f59bebf61d932455f3742c8278170ba2ed7eb2fd3600cb9636082bb50f8408020 SHA512 29f22d3d55718a8aecac6bf7caf889f20e01cbcddb5d3c2047ae701d90505db045d6414857d61caef8e6a31cd8ce9bd5016e18405c6eefacbeefeeecc7ca22dd DIST linux-5.19.6.tar.xz 131649076 BLAKE2B dd6fba4d56d26923310426589b28c83f699a62b676a76257e0ac49bc85d30ffb24f7a66a20108dfc5bdaa1454fb0ece3f28c483b246d3778cff220de527ec4aa SHA512 b39707864c7cdc4290fc6f4ea545da1b6029eeea54d2bec88affdac9b0187e28ebbf99badbb974d5cf4ad854fbbecb98d7385d5bb6efc74e52a7d8dca146e82b +DIST linux-5.19.7.tar.sign 989 BLAKE2B 0b410b41cc1e41d4e2aa4bc89200636bc577231015684e3409f6dae19c33873aa69c3bb29019f6a968f7ae71dd7265ee9285f8351b8acf1547e627d11201a824 SHA512 bcd13903a4d5d12db6f46f6ca9a219f3dd72388a582b06a0133422f5f95ff6ab582c39730ce3041c0ceacccd3e49a4aa67e552a1087e667c4db90e65a0a96de3 +DIST linux-5.19.7.tar.xz 131634260 BLAKE2B 9fd934cf511ded0800a387beda79e1d4c7523926c69cae0f4eee62cfbc0fab4b97e666c9a0b79130aff9e17dfc4c222a04a6037776182954b1edc0af9b8517c6 SHA512 2db5341362f85a2d7776a093c6b90d53ffaa0dec3f93d883880855ff58a4ac0ad0518ed2affc6b326cc5bfb8b46069e2982109b2db03aa000bdbe52397f81963 DIST linux-5.4.211.tar.sign 991 BLAKE2B b8a72fc09b476ff8539eb9208b7164864822b501ca4b0478a7c32d3b6add1a37641905ff15e4043c897f734033eb8b3dfe1ee981c7f7e7664ca3b9f083083081 SHA512 50e50b7d028877b07fed0d39045d20da36017e5fb57fadd1b0554896e416446c20d5a30d0fcea25fe57f13869c8647029b0ae5b12bd1917eb6150c130069b55f DIST linux-5.4.211.tar.xz 112946912 BLAKE2B fd34cf8643768dad40e96ff12058bbfa6240d456b0f0d58a67d0e40c527b91c3571783ef0abdb2e36d6c6314cd1782e032b64cb1a5c8b7aa1d586e191df024ea SHA512 7da542bc6ae6f46c5ff235c09f2656c29465a71edf2a83f0a7ebc57c6eb14a0f7ef4bd0c25614f0b4e191f80e617517341e8b1f14bb6bdccb003beaaf888cb2d DIST linux-5.4.212.tar.sign 991 BLAKE2B e3520f3a479d9d0c580dae1bccc5a5ff2b510e29921a9cd19598d7f3145db0d831daadc0e424a33cc020a4c9afbd1dd254cad8d04a1ffb458b83c512994f7e98 SHA512 df7b3ac3774069b0d05a93741c8cd10e585abc418585b0a3581b16452e06c1ba04a1f2d2efbaa1a29abb53ad63c8baf70abc5897e85f5d4c288b26890b2454cf diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.19.7.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.19.7.ebuild new file mode 100644 index 000000000000..1b962183c7b5 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.19.7.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 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=5.19.6-gentoo +GENTOO_CONFIG_VER=g2 + +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/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=${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[@]}" +} |