From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- sys-kernel/vanilla-kernel/Manifest | 12 ++++ .../vanilla-kernel/vanilla-kernel-5.4.44.ebuild | 65 ++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.4.45.ebuild | 65 ++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.4.46.ebuild | 65 ++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.6.16.ebuild | 71 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.6.17.ebuild | 71 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.6.18.ebuild | 71 ++++++++++++++++++++++ 7 files changed, 420 insertions(+) create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.44.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.45.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.46.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.6.16.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.6.17.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.6.18.ebuild (limited to 'sys-kernel/vanilla-kernel') diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index a087471d0e79..0879894b790f 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -4,10 +4,16 @@ DIST linux-5.4.39.tar.xz 109528644 BLAKE2B 359300cf9628267e5f450623d6ca5e0a91820 DIST linux-5.4.40.tar.xz 109535980 BLAKE2B 4857f032d5333f3c16f0947f51d6fe632527cfd78e6c556b62f5356848ef3280244eef7ffaaa136589b10e151aad3087593f3518fd0fc6958d4647b786401169 SHA512 c8785d30f7b88f3a6e565789974ecf1a055900ab4b66e358070547506aecab57b5d34afb77140cb2aeb803498c407d34f7fc11c29fbba00f6d4dedea8dd8788a DIST linux-5.4.42.tar.xz 109532008 BLAKE2B 673a3e9ecca06f74d8506e5723c7cd888a7c9fe7d1beebc8223ef07fe58a9a573e9e192d377d0e848c75f99750613b505908e93069771ed89284442edefd4d0d SHA512 3382b77f4e55ee8de108422dff59b292828ccb16048acd1d03b509b9928fe81bf7513921922e28a9d7465bf5a5db28bdb4f192becfb7cafef39b1ef87e55f3c2 DIST linux-5.4.43.tar.xz 109534404 BLAKE2B 33a467b5c57d1457ec4c02961bc4ea798819ecb424431070537e01f425a8f6560a94242e1227a43ee59bdde257cf5facae21d896c1357d35435c6c953607a365 SHA512 e32433fd45724831d30df38dd17cf6e14c8ba6c62e469dc5e86ffed3bab72b1b88881a5a44ad5c4c16c0bc30c97cc046c8a62ab581e95caa3c62e0b6c33e26d1 +DIST linux-5.4.44.tar.xz 109536112 BLAKE2B 85a355b99cb2c69a87899162a41dc48b2f956ddab6e9927daf2f99de126766571e04ac17a3317638ee43497056ed643ff258315bc9e095b22d51b4112031d252 SHA512 e91ddf29880668786de8d08ab220616fc0fc11ac962789a843dd70f92697c782699df2356c55f355161804c91653b63467a582694fafc85b23e3ab0189f5059a +DIST linux-5.4.45.tar.xz 109551316 BLAKE2B ae8829277fa716dd786f5a27148f038d326f3a00d8967242d18b6f7e65de9d802b733cb64136f2904dc6b04364baa8925299742cb72812e3db6cd2c4e3ac4430 SHA512 c50acbc6466d276e41f511a63e86f7280c5f4bddbbc5c482dc303c72b30d3e6051b1f9e66bee85fc091209daf35118bb886b6efbb8df809f5dbb949185e55ab7 +DIST linux-5.4.46.tar.xz 109542096 BLAKE2B 99c63fc28649fc7e75a18a8a6786ca81f46516979cae9dabfe604f3353ae8a145a1a2b7e6e2747af6ea7e11d52518e7ff4261ffce0cbbd7084318da56d429e2c SHA512 780d515dfb7490f3d0ea8683d4a8f7da88c2d027c1d94a0c76507f0a9b2aa3a898401eec6684206dafd281a886062c2537b8ab1865ed08a576bb1cd6c9c75f7c DIST linux-5.6.11.tar.xz 111798824 BLAKE2B 0b483cea53eade0e0f74dfc7230c79c0df8b383f1bcbaa71c6bcfa05a06f15e3c8b7ad2ffd0fb096d091cc3d191ffa91c984b60377f28c8fd77873ed8751668a SHA512 f4c02f59353d2199084583bed6fa9cec6e7a7cb755296c883969c579a8f9d34e202c3c922eaf32ca7a3ffbd35ada7f835545d4beab50b2bab2a66c43e739ec74 DIST linux-5.6.12.tar.xz 111805220 BLAKE2B e7fe1bdfd7acbbe774c6630785533d3f76e6d0bc195472f106a5859579a5d7ff11b9ec474a86d9a714283110606865bc0abdb96d57b478f7b90fea328f197fcc SHA512 34f91c07287707901786166c6056e75edabea263fa61bcce8d5c925ed48323020e1400283fa29263e6e2e740b75e0165077388330ed900d81f30b35c73fa7752 DIST linux-5.6.14.tar.xz 111812744 BLAKE2B 6613ae43fde5313c972a314a5e4008d32da51b87a5773e2f9819d53209e8661fd7436e029a3b28f21e26aab937fb0a4b1b6891bd1f865b642a386ae3d89470f7 SHA512 fe19ad3165ae46f1511e39c495ba1a5a304ea3f69a169debe27026e0c888a4766b1618c76aee2279ba6fb0316cb731fdcd8ad5f9ac8dc1d4058573bd5dc00cd0 DIST linux-5.6.15.tar.xz 111812776 BLAKE2B 3e38479d0921015d37473b110b6f7a4a94ce12f3fc6b64030c13a12c59b7683cda9a16ae031f4fbd7d0032cbaa3075aa31a1243717ccaeae0022b6fcb2eb3c5a SHA512 fb87f0857b242cda7137b8ef32431f14f48ab9349cbf964b06d07ccbb81d1d4683e33c2b629fb41edf6d0c32c412069397b85683654ee632a9539c764fd9e7a2 +DIST linux-5.6.16.tar.xz 111824400 BLAKE2B 8304f112ba8861ad7a807b0e58ce2a265998225f045aa45fab4f51d714cd7484a6d6fd65d65e51786b27334360ebeb955117b2f5d1fd2d1e9c24eae8aa9820f7 SHA512 77b1d65a477e4acdc27851d984d0e9e8ac08c3d68f5a6994163246e93d9f81bd2c56f6fef3766496edb104d6a049bdfb8a6c12a152151d7da307cf851494a299 +DIST linux-5.6.17.tar.xz 111818008 BLAKE2B 848b0a64ceff91de0e99bcaba826d11df9f95afc2e264c5b26a3bbb3da3f9cd2ec0910cd5923de0464cb1bc8d349455ef5e8c602b982cce5a0a942851208c1d4 SHA512 7d42eb0327997df85b4c5c7c0babab738f0dd85ef3e739cbc7ce6a21e19821acb72ca6f0beb7636f988b95c29e61b9bf79175ecbdb309835a517f5f538cbc2b3 +DIST linux-5.6.18.tar.xz 111817124 BLAKE2B a8c01860ac9e55b33709c450fb663815205260b5e62cd2bed224a47ccf1e249d2b02515f945d2508b83f1f59727d9fed29937fe584d5cfe42c5d035c020f3407 SHA512 4cef44b489b51bc4f826aafb36d0b767fc33adeb471c69c088d5e5f8a779a580a6992bcc0769800ecf658e77434dd513ed436813cbffa39d3f98f24ea8fcf1f3 DIST linux-5.6.8-arch1.amd64.config 246166 BLAKE2B e749472cf4bcd1fae509bf524367106c07111f5d385b5cacf335fe03188c30c184e3535603de2b855f81538fa6fb09cedfec16ff02db5b5583a90e5cb150dba5 SHA512 873275e0ba75fb5670ac7f90abfb16ab912b1a94e5f8f39845283230763118d244c1b02e33f1b05b5d86fce90cd274c944725465dabf2dd0e79fa735fabe4d4f DIST linux-5.6.8-arch1.i686.config 245339 BLAKE2B 746b39cc8d8d880eadd3a04eaed7fa978ec73a412428fbd99e7e3543ac722a86a004b5fc31b4a307e8f4bb706224e032f22681dad8dea0340652cb4aade0d65b SHA512 a97487a842344e8dbda758b602c2b2095641d3e504c866e12afefa6744cbea39fe0d23900b0749cf4896160baf2bcde5a77a9614b23132665f1c7e3a580c7ca6 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 @@ -16,8 +22,14 @@ EBUILD vanilla-kernel-5.4.39.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd EBUILD vanilla-kernel-5.4.40.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd1683ea4c7e5b15d59e4644b24db2cc256f14f74d80bff40ba4aefa320cafebebe7c1e5b920e15e1bd5fd63a94f42c51f6 SHA512 b0bf845214b80b447bf5bec57fbf3df7a130f4d1a0d710cb212224705366b469b09eb2d8b669e5cee89ce8cd778f4297fca139beec6e9fc9d4985a22e3a9f4fa EBUILD vanilla-kernel-5.4.42.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd1683ea4c7e5b15d59e4644b24db2cc256f14f74d80bff40ba4aefa320cafebebe7c1e5b920e15e1bd5fd63a94f42c51f6 SHA512 b0bf845214b80b447bf5bec57fbf3df7a130f4d1a0d710cb212224705366b469b09eb2d8b669e5cee89ce8cd778f4297fca139beec6e9fc9d4985a22e3a9f4fa EBUILD vanilla-kernel-5.4.43.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd1683ea4c7e5b15d59e4644b24db2cc256f14f74d80bff40ba4aefa320cafebebe7c1e5b920e15e1bd5fd63a94f42c51f6 SHA512 b0bf845214b80b447bf5bec57fbf3df7a130f4d1a0d710cb212224705366b469b09eb2d8b669e5cee89ce8cd778f4297fca139beec6e9fc9d4985a22e3a9f4fa +EBUILD vanilla-kernel-5.4.44.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd1683ea4c7e5b15d59e4644b24db2cc256f14f74d80bff40ba4aefa320cafebebe7c1e5b920e15e1bd5fd63a94f42c51f6 SHA512 b0bf845214b80b447bf5bec57fbf3df7a130f4d1a0d710cb212224705366b469b09eb2d8b669e5cee89ce8cd778f4297fca139beec6e9fc9d4985a22e3a9f4fa +EBUILD vanilla-kernel-5.4.45.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd1683ea4c7e5b15d59e4644b24db2cc256f14f74d80bff40ba4aefa320cafebebe7c1e5b920e15e1bd5fd63a94f42c51f6 SHA512 b0bf845214b80b447bf5bec57fbf3df7a130f4d1a0d710cb212224705366b469b09eb2d8b669e5cee89ce8cd778f4297fca139beec6e9fc9d4985a22e3a9f4fa +EBUILD vanilla-kernel-5.4.46.ebuild 1842 BLAKE2B 602e78ae2dde6491e22e190d3e156cd1683ea4c7e5b15d59e4644b24db2cc256f14f74d80bff40ba4aefa320cafebebe7c1e5b920e15e1bd5fd63a94f42c51f6 SHA512 b0bf845214b80b447bf5bec57fbf3df7a130f4d1a0d710cb212224705366b469b09eb2d8b669e5cee89ce8cd778f4297fca139beec6e9fc9d4985a22e3a9f4fa EBUILD vanilla-kernel-5.6.11.ebuild 1840 BLAKE2B aa922f6ddead911263ef92a8b2898dfdb347b1af26f06cb9273c6880ebe188680b9af26b9f938a7b27abb9ea4d78d92e1dbc06a6615c5661a141e270262bf6f6 SHA512 2afbced422a86331370968e1a0d3e33ebe84bb28478be97a49e85742c3910810ffd0f0a84dd2938264aed7f8b0dd3c4d274d597d5eeea3db339196fcceebb667 EBUILD vanilla-kernel-5.6.12.ebuild 1840 BLAKE2B aa922f6ddead911263ef92a8b2898dfdb347b1af26f06cb9273c6880ebe188680b9af26b9f938a7b27abb9ea4d78d92e1dbc06a6615c5661a141e270262bf6f6 SHA512 2afbced422a86331370968e1a0d3e33ebe84bb28478be97a49e85742c3910810ffd0f0a84dd2938264aed7f8b0dd3c4d274d597d5eeea3db339196fcceebb667 EBUILD vanilla-kernel-5.6.14.ebuild 1943 BLAKE2B cb0a35c29c61d5483b3d94996bc947f2821f3d13331f25f97ebf84fc68f272402b9066de9abfe1c2994246a7d8447540a454da3b0eb07636f46ba5d1947c8877 SHA512 942b7d041be0746be9023bb52be8f00c4cb33ed17e6b29670f860222bfc73ea0533ae2c1c0809799bc48ae4cc57cd2f480f35fb9ae7c1c67309eb13367cdfaf6 EBUILD vanilla-kernel-5.6.15.ebuild 1943 BLAKE2B cb0a35c29c61d5483b3d94996bc947f2821f3d13331f25f97ebf84fc68f272402b9066de9abfe1c2994246a7d8447540a454da3b0eb07636f46ba5d1947c8877 SHA512 942b7d041be0746be9023bb52be8f00c4cb33ed17e6b29670f860222bfc73ea0533ae2c1c0809799bc48ae4cc57cd2f480f35fb9ae7c1c67309eb13367cdfaf6 +EBUILD vanilla-kernel-5.6.16.ebuild 1943 BLAKE2B cb0a35c29c61d5483b3d94996bc947f2821f3d13331f25f97ebf84fc68f272402b9066de9abfe1c2994246a7d8447540a454da3b0eb07636f46ba5d1947c8877 SHA512 942b7d041be0746be9023bb52be8f00c4cb33ed17e6b29670f860222bfc73ea0533ae2c1c0809799bc48ae4cc57cd2f480f35fb9ae7c1c67309eb13367cdfaf6 +EBUILD vanilla-kernel-5.6.17.ebuild 1943 BLAKE2B cb0a35c29c61d5483b3d94996bc947f2821f3d13331f25f97ebf84fc68f272402b9066de9abfe1c2994246a7d8447540a454da3b0eb07636f46ba5d1947c8877 SHA512 942b7d041be0746be9023bb52be8f00c4cb33ed17e6b29670f860222bfc73ea0533ae2c1c0809799bc48ae4cc57cd2f480f35fb9ae7c1c67309eb13367cdfaf6 +EBUILD vanilla-kernel-5.6.18.ebuild 1943 BLAKE2B cb0a35c29c61d5483b3d94996bc947f2821f3d13331f25f97ebf84fc68f272402b9066de9abfe1c2994246a7d8447540a454da3b0eb07636f46ba5d1947c8877 SHA512 942b7d041be0746be9023bb52be8f00c4cb33ed17e6b29670f860222bfc73ea0533ae2c1c0809799bc48ae4cc57cd2f480f35fb9ae7c1c67309eb13367cdfaf6 MISC metadata.xml 352 BLAKE2B d45c3f23945883bcb819c225e43715f5cfd86090f3e928dfb62b26a7b38b98421ee0c0d3b4fe9ebdb9de39c294cbc288c1731e9493f69436a6916034d8b834d9 SHA512 e3b9651b8f0fa3b07626b4cfb01456e4ecea1ae053ad9e9e1b3c925a5de601b35c9f3983535d62edae9ef49a40fe4c319e013542908839f30415f6ad85463e24 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.44.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.44.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.44.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.4.15-arch1 +AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.4.15-arch1 +I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.45.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.45.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.45.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.4.15-arch1 +AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.4.15-arch1 +I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.46.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.46.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.46.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.4.15-arch1 +AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.4.15-arch1 +I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.16.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.16.ebuild new file mode 100644 index 000000000000..ae908034bdca --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.16.ebuild @@ -0,0 +1,71 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.6.8-arch1 +AMD64_CONFIG_HASH=7dcb86e3e6f24c6d5462c5c8d25c3fa09e7e9f55 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.6.8-arch1 +I686_CONFIG_HASH=bc42cce2cca0d42b5cfeb8c6bcbf9f39430791f2 + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +REQUIRED_USE=" + arm? ( savedconfig ) + arm64? ( savedconfig )" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + arm|arm64) + return + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.17.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.17.ebuild new file mode 100644 index 000000000000..ae908034bdca --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.17.ebuild @@ -0,0 +1,71 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.6.8-arch1 +AMD64_CONFIG_HASH=7dcb86e3e6f24c6d5462c5c8d25c3fa09e7e9f55 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.6.8-arch1 +I686_CONFIG_HASH=bc42cce2cca0d42b5cfeb8c6bcbf9f39430791f2 + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +REQUIRED_USE=" + arm? ( savedconfig ) + arm64? ( savedconfig )" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + arm|arm64) + return + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.18.ebuild new file mode 100644 index 000000000000..ae908034bdca --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.18.ebuild @@ -0,0 +1,71 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.6.8-arch1 +AMD64_CONFIG_HASH=7dcb86e3e6f24c6d5462c5c8d25c3fa09e7e9f55 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.6.8-arch1 +I686_CONFIG_HASH=bc42cce2cca0d42b5cfeb8c6bcbf9f39430791f2 + +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 + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +REQUIRED_USE=" + arm? ( savedconfig ) + arm64? ( savedconfig )" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + arm|arm64) + return + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} -- cgit v1.2.3