diff options
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.ebuild | 65 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild | 65 |
3 files changed, 134 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 7b462f94f1e8..8b10fe9a1dfa 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -1,15 +1,19 @@ DIST linux-4.19.100.tar.xz 103408008 BLAKE2B 047d803af6a54e57aee2536222fb4aec729c2525a113cf87a0ad043f66b3a29cecaaa2ff71c3020796162199ab3926374a2cd52bc905cbe531c5aaf07b23d9ee SHA512 d59d6b85afc04f4c37d42cc0b76e505ba49b607489f69fc25eae6ca6f21a3ea66b33337382d899ed3326896fa283b604d687f8d13f50efd53947c368d5c082a8 DIST linux-4.19.101.tar.xz 103403812 BLAKE2B 47ebacfd10bc34b6d7936205a60b4af0d3d0a4f685666dcd065ffaf022eaef13caf49919f1dbc72a97a20dbbc5059508ab99139a651fc968ddb67c0cc8d4a074 SHA512 571087e1d3a34239d5c93643cc5727924950842295ec351cd87776d166c5109bfbc0ffd61d054247b089d687a0c40fabadc9069ed3230edf6741b36faaaa4e0c +DIST linux-4.19.102.tar.xz 103407708 BLAKE2B 556745e509fbec2550fd5a914757fd863c0d9006e58ccfa3e76aecefd85851abecb335711c1621297a7e5190f87757e2e60ab27f303e44a2513bc10cc9bfb018 SHA512 4047f4027f9f011765e38ec75a9b1f9115d7a6dae15d8691ff42afea0ea284ed1ab1b33eaa4a1ae439b40880099ad8f0151b85f4bf303abe2d0a8e9c91a48849 DIST linux-4.19.85-arch1.i686.config 222183 BLAKE2B 03eac77940db0ee6b4f2a006edc600ef34141bbca849f5be4de9b961301a8fc987da6d0e21344aa5d80c29bb7793d56cf5441abb6c8e4057d94e2601c174c1be SHA512 6bd45c9dfd96b1afb8c1ca1ca72722baee6c91894e454d7af937de02242d3bb9d3b6870f5976aa96245c753c6bc1ac637a6356125b0d4c596aadef643b8c3d8d DIST linux-4.19.92-arch1.amd64.config 222487 BLAKE2B a658d80d85525287a1df9053ca2ddfe423ab423bcc3b9ea8bd9cda65cc7ffa4b1be782c48c867c13e46070af4016f446860f5cf71351f239da1eff6c45a5aa6a SHA512 a5658c8e8464516dffd6f624344e739784cb315d334b2c5105bd5d16022b6366ad4ec00d3692a7b78e2458514175522bc85e834bf19593feff6363b616860258 DIST linux-5.4.13-arch1.i686.config 239816 BLAKE2B e776321fa163759332e7b5e3cca6a8a3f7124fc7a5bdd498f0aeaec1f2a819f27a87ca6f9f3fb0f0b9f28e8ba6f207bb27c5e48a494664d21ea3845e99b1eab4 SHA512 4e083028a140fcd2e65bba3c39e9d7bf9004e114b3233e8c2ab9e67405a3db9179c10a9564407bf19875317a352453f3e02f137297941277f694e687d3b97674 DIST linux-5.4.13.arch1.amd64.config 241498 BLAKE2B 3c6d13d84ea75247fae4f4474648abe295fb6ea577d4c9becc58551c3954d35a72edd5937b7bb345f783fe2015940035d5f6766e08e5a9dd6b8723cc69c85ee6 SHA512 3039a333f3000f416bfccd7efdc54c8ea07d9b01b349be87f83b7dcb3e0f13a1f3fb02ccae42412cf28958aa7df42ef73f87e637269c7525476d73682596fa07 DIST linux-5.4.16.tar.xz 109474712 BLAKE2B cf99bbd992d8e90c4255c0ce81fd27793663fb2b300ea1bf686ca21933e6ec6cd2ce7a2bea7b59e235ad70bc05519fd06e033baa0d6e881df732d3a85bc6a17c SHA512 994d0884230c258c97af8c9b1857241d34c780bc61271102707e7bd861270306b1f4c51a00d48826786d1544e8647de8c1e72fa74bf3e9a498a32b7db428337d DIST linux-5.4.17.tar.xz 109469504 BLAKE2B e03e9b5564320ea60d69db06b6a282d332718269bd8ed694e126e6aca83215de183b52ad331d7af80fee1b4682625a3489373894c4100d38943c097c6958bf06 SHA512 b909cc5fa383ca25496851cd8d0af0efbe1613ee6c3579abb122285fcdcd28f4736fbb26675d741474388a63d1a312cc70a6b0aa8f25c1cd62b9f95b99462628 +DIST linux-5.4.18.tar.xz 109470980 BLAKE2B 4345598577f39644b00693c95a8402d70c7aba94614bd9a61f5e212768c6e58ffbaa0d8392c129010e77d6c9770182d4967635c797a2d86e11ecad417df87a27 SHA512 ec4568bfb816b3645bbe6c709343b4cc058068500948c10e9da191d2556ab1bd66a90674880e5be2dbf169afe416fe88c48ed5bd9fc1a55739ea94f8f0cb62b2 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641 DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895 EBUILD vanilla-kernel-4.19.100.ebuild 1850 BLAKE2B 0ca37cce8bff8754a85859419e624eb43a6546208fd75263f4ecb0404516b3c887e93d8e9ca4411963cf0289fd8865c338db59798a773711a58d13a54a3e3b67 SHA512 bd6b26fc58cf510ab393562501d9371ba339317da57a7ba7f4bf4d9f1ba2c6a7c1e3fac42094788a1453a4f465db555c9ce95e497e01b06205b1a813b3da9248 EBUILD vanilla-kernel-4.19.101.ebuild 1850 BLAKE2B 0ca37cce8bff8754a85859419e624eb43a6546208fd75263f4ecb0404516b3c887e93d8e9ca4411963cf0289fd8865c338db59798a773711a58d13a54a3e3b67 SHA512 bd6b26fc58cf510ab393562501d9371ba339317da57a7ba7f4bf4d9f1ba2c6a7c1e3fac42094788a1453a4f465db555c9ce95e497e01b06205b1a813b3da9248 +EBUILD vanilla-kernel-4.19.102.ebuild 1850 BLAKE2B 0ca37cce8bff8754a85859419e624eb43a6546208fd75263f4ecb0404516b3c887e93d8e9ca4411963cf0289fd8865c338db59798a773711a58d13a54a3e3b67 SHA512 bd6b26fc58cf510ab393562501d9371ba339317da57a7ba7f4bf4d9f1ba2c6a7c1e3fac42094788a1453a4f465db555c9ce95e497e01b06205b1a813b3da9248 EBUILD vanilla-kernel-5.4.16.ebuild 1842 BLAKE2B 9eabcf8ada1190aa78c46f160db40fe2af963b937a43082c4d6dc8af954fa3449552d6b772c1b68096fc6c264abe2b7b968c0c56b1b951a8c255a969fb48bac6 SHA512 1167f00a415fece5a562e7f09ebd41cedbe8cd9729eacdad98b5d18df0672e559ec34c08487968a5918747457be9a415dec7f45b876fab88019f772244cf4723 EBUILD vanilla-kernel-5.4.17.ebuild 1842 BLAKE2B 9eabcf8ada1190aa78c46f160db40fe2af963b937a43082c4d6dc8af954fa3449552d6b772c1b68096fc6c264abe2b7b968c0c56b1b951a8c255a969fb48bac6 SHA512 1167f00a415fece5a562e7f09ebd41cedbe8cd9729eacdad98b5d18df0672e559ec34c08487968a5918747457be9a415dec7f45b876fab88019f772244cf4723 +EBUILD vanilla-kernel-5.4.18.ebuild 1842 BLAKE2B 9eabcf8ada1190aa78c46f160db40fe2af963b937a43082c4d6dc8af954fa3449552d6b772c1b68096fc6c264abe2b7b968c0c56b1b951a8c255a969fb48bac6 SHA512 1167f00a415fece5a562e7f09ebd41cedbe8cd9729eacdad98b5d18df0672e559ec34c08487968a5918747457be9a415dec7f45b876fab88019f772244cf4723 MISC metadata.xml 352 BLAKE2B d45c3f23945883bcb819c225e43715f5cfd86090f3e928dfb62b26a7b38b98421ee0c0d3b4fe9ebdb9de39c294cbc288c1731e9493f69436a6916034d8b834d9 SHA512 e3b9651b8f0fa3b07626b4cfb01456e4ecea1ae053ad9e9e1b3c925a5de601b35c9f3983535d62edae9ef49a40fe4c319e013542908839f30415f6ad85463e24 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.ebuild new file mode 100644 index 000000000000..17bfa6ee759e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.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-lts +AMD64_CONFIG_VER=4.19.92-arch1 +AMD64_CONFIG_HASH=bf97de6a2e405659aaad4c251b7f0bb48d5ed3c9 +# https://git.archlinux32.org/packages/log/core/linux-lts/config +I686_CONFIG_VER=4.19.85-arch1 +I686_CONFIG_HASH=1f0345e2983d2edd55b401cb5a87fdf365a4192c + +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-lts&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux-lts/config?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.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild new file mode 100644 index 000000000000..92992f98790f --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.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.13.arch1 +AMD64_CONFIG_HASH=9eed969590614a38d370a9fe04a4f5d38ba5e06e +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.4.13-arch1 +I686_CONFIG_HASH=95f890a9f9131e7a0e01a4f3e9c5ee423756a233 + +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 +} |