From 53cba99042fa967e2a93da9f8db806fe2d035543 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Feb 2020 01:16:38 +0000 Subject: gentoo resync : 17.02.2020 --- sys-kernel/vanilla-kernel/Manifest | 24 ++++---- .../vanilla-kernel/vanilla-kernel-4.19.101.ebuild | 65 ---------------------- .../vanilla-kernel/vanilla-kernel-4.19.102.ebuild | 65 ---------------------- .../vanilla-kernel/vanilla-kernel-4.19.103.ebuild | 65 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-4.19.104.ebuild | 65 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.4.16.ebuild | 65 ---------------------- .../vanilla-kernel/vanilla-kernel-5.4.17.ebuild | 65 ---------------------- .../vanilla-kernel/vanilla-kernel-5.4.18.ebuild | 65 ---------------------- .../vanilla-kernel/vanilla-kernel-5.4.19.ebuild | 65 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.4.20.ebuild | 65 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.5.3.ebuild | 65 ++++++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-5.5.4.ebuild | 65 ++++++++++++++++++++++ 12 files changed, 404 insertions(+), 335 deletions(-) delete mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-4.19.101.ebuild delete mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-4.19.103.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-4.19.104.ebuild delete mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.16.ebuild delete mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.17.ebuild delete mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.19.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.20.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.5.3.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.5.4.ebuild (limited to 'sys-kernel/vanilla-kernel') diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 8b10fe9a1dfa..1b44c64866fa 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -1,19 +1,23 @@ 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.103.tar.xz 103435048 BLAKE2B 1b1e6fb1899d9cae8e082d05ab0b509b685d7a41eee00d80513a8afb11db75b6eddc3db0f59a6ef8e1d702e983bef236c3d0d550727c2a61c40782d9261aed2d SHA512 60dac34d4e97c1d42c180a4058f2db5b56c743f6e5a7557f5f14843839af27bbf2321b6da12769559737106ed16fcdb0f16da7b503c92fb010228d53475d4774 +DIST linux-4.19.104.tar.xz 103438092 BLAKE2B 10324dae2d3e29048f4ae9474eb3b9dc6c210e7d0fad017b07620ca600cf76bf144b026a47ef7ff11e1dbb9ed7e60bba7d51e8ef6b278b32cae2205ac478a48c SHA512 08bd31c37e413a5f1f785a0fd53d7f044255fc30bf6af15876c15a88ad533c1895d905f8708d93c7fa769b4f6b13af46b442ff213b8ac8a936fee433c8fcd012 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 linux-5.4.19.tar.xz 109480508 BLAKE2B 8e51c7f13cf328bd93444ea27898e789f2d6a1bc85be6d95e6300c44a1d6b8c5e0e35c6c1f3a9da3acea748e63e5bf4bcc08154d2ae0944e594fefef07e82fde SHA512 f122ee2baf31c4af6e6c727116558ef535d824fd893b80944f3272a32aa33c699be692c19b6a7333a4fbe93e706dca1f1b5ab3c918d9c9fa690daee42e2185e6 +DIST linux-5.4.20.tar.xz 109485940 BLAKE2B 57f09bf197864cae4245ac7df11a4f42c48205efef7423b70b241f8d17906f26326189b68ce95463dabdbded8d14e440f22ee6c1d80be75434f71c27f145966f SHA512 4bb38382eecf41a3e70adeb722c52e0475da27c80c4e07cdba806c5371ceb4bcf621229a991e19fab7e58cbc854052013e5ccdb2c8a1fff08978c002359d0166 +DIST linux-5.5.1-arch1.amd64.config 243880 BLAKE2B d8a5b3fc87c462000ee63bf8611c4075737a61a7fa939b941bb0b139f5e94ffcf53809e3ee1a80b280d2ad2241530f2aa524fbbd291c1198f0aebeaf3bbd9718 SHA512 0b58154a521e41f6275f56198ed8613afaf70b3b793aeed526c00caa74f94dd6191f2358e4678e18add05f6423f472372a1f5cf6ea652197da296ed2a5628ba5 +DIST linux-5.5.2-arch1.i686.config 243261 BLAKE2B dc0a7efb9c94af540043db8e559c04bfe2eb493158b0fe7d25984b85ae364cf262cf78ee57f1b1b6c4e9cc51138be15c098268e77f63f158702851352952837b SHA512 29cbf564fc30f9e8030001cae09d2711292d4e2c9c66f96a61a7d1575dd93d86f00d356697f011ff3810c8db95f95ac1fd54d6220c1f9095797891c29a7e2723 +DIST linux-5.5.3.tar.xz 110706004 BLAKE2B fee027190fec757fdda70f7ef302914420e99644fac151acd32f2c9e562ccfa866c6702a28db98e6df8947ec161d68165161516bad083f0de8f5b35fe82dab05 SHA512 ffc4f5605b6f9278030146d8ed8f1c3341bb588f6a96400ff5466daf0d74e95e94bc47f22308ef917adff3de211385e959de583b91523a1ab1e0e93b4326e3c3 +DIST linux-5.5.4.tar.xz 110717156 BLAKE2B 508995a96406fd40b4f85873dff56c9a992937424f148cbbf7b85298955f0207f6ce2ad93b7c1f79ac563d0195145801d403a571521bb0be7eeed8a857295d89 SHA512 87af2cf22b3c8884ce276a92d7a538a723b8fdbac9e40ec243ca78576afb4baa8a1d07b49d9bc9c773f020858121285d6a60a384fccbb0c82433a5597f133456 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 +EBUILD vanilla-kernel-4.19.103.ebuild 1850 BLAKE2B 0ca37cce8bff8754a85859419e624eb43a6546208fd75263f4ecb0404516b3c887e93d8e9ca4411963cf0289fd8865c338db59798a773711a58d13a54a3e3b67 SHA512 bd6b26fc58cf510ab393562501d9371ba339317da57a7ba7f4bf4d9f1ba2c6a7c1e3fac42094788a1453a4f465db555c9ce95e497e01b06205b1a813b3da9248 +EBUILD vanilla-kernel-4.19.104.ebuild 1850 BLAKE2B 0ca37cce8bff8754a85859419e624eb43a6546208fd75263f4ecb0404516b3c887e93d8e9ca4411963cf0289fd8865c338db59798a773711a58d13a54a3e3b67 SHA512 bd6b26fc58cf510ab393562501d9371ba339317da57a7ba7f4bf4d9f1ba2c6a7c1e3fac42094788a1453a4f465db555c9ce95e497e01b06205b1a813b3da9248 +EBUILD vanilla-kernel-5.4.19.ebuild 1842 BLAKE2B 9eabcf8ada1190aa78c46f160db40fe2af963b937a43082c4d6dc8af954fa3449552d6b772c1b68096fc6c264abe2b7b968c0c56b1b951a8c255a969fb48bac6 SHA512 1167f00a415fece5a562e7f09ebd41cedbe8cd9729eacdad98b5d18df0672e559ec34c08487968a5918747457be9a415dec7f45b876fab88019f772244cf4723 +EBUILD vanilla-kernel-5.4.20.ebuild 1842 BLAKE2B 9eabcf8ada1190aa78c46f160db40fe2af963b937a43082c4d6dc8af954fa3449552d6b772c1b68096fc6c264abe2b7b968c0c56b1b951a8c255a969fb48bac6 SHA512 1167f00a415fece5a562e7f09ebd41cedbe8cd9729eacdad98b5d18df0672e559ec34c08487968a5918747457be9a415dec7f45b876fab88019f772244cf4723 +EBUILD vanilla-kernel-5.5.3.ebuild 1840 BLAKE2B b71adfd8d967cddff717271a891c9df91ee9eaa06b13f4aefec459d60d65e645408421cd502cb15a0c01bdc2536173056c702c6693201e767a2d0a31406354f9 SHA512 99363c3f3f1e10eee5c94b0a9fe832f69aa3aefd3e626b9505678b3e8cc53c162e456ccd38d3dc1538bef28686f401d0f8ebe61c57699879d3ff1056652d93fb +EBUILD vanilla-kernel-5.5.4.ebuild 1840 BLAKE2B b71adfd8d967cddff717271a891c9df91ee9eaa06b13f4aefec459d60d65e645408421cd502cb15a0c01bdc2536173056c702c6693201e767a2d0a31406354f9 SHA512 99363c3f3f1e10eee5c94b0a9fe832f69aa3aefd3e626b9505678b3e8cc53c162e456ccd38d3dc1538bef28686f401d0f8ebe61c57699879d3ff1056652d93fb MISC metadata.xml 352 BLAKE2B d45c3f23945883bcb819c225e43715f5cfd86090f3e928dfb62b26a7b38b98421ee0c0d3b4fe9ebdb9de39c294cbc288c1731e9493f69436a6916034d8b834d9 SHA512 e3b9651b8f0fa3b07626b4cfb01456e4ecea1ae053ad9e9e1b3c925a5de601b35c9f3983535d62edae9ef49a40fe4c319e013542908839f30415f6ad85463e24 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.101.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.101.ebuild deleted file mode 100644 index 17bfa6ee759e..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.101.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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-4.19.102.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.ebuild deleted file mode 100644 index 17bfa6ee759e..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.102.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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-4.19.103.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.103.ebuild new file mode 100644 index 000000000000..17bfa6ee759e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.103.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-4.19.104.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.104.ebuild new file mode 100644 index 000000000000..17bfa6ee759e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.104.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.16.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.16.ebuild deleted file mode 100644 index 92992f98790f..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.16.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.17.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.17.ebuild deleted file mode 100644 index 92992f98790f..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.17.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild deleted file mode 100644 index 92992f98790f..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.18.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.19.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.19.ebuild new file mode 100644 index 000000000000..92992f98790f --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.19.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 +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.20.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.20.ebuild new file mode 100644 index 000000000000..92992f98790f --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.20.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 +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.3.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.3.ebuild new file mode 100644 index 000000000000..50511d1437cd --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.3.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.5.1-arch1 +AMD64_CONFIG_HASH=2e42789fe089b87dfe6763e7d48781b6a0c33b95 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.5.2-arch1 +I686_CONFIG_HASH=06ff2f85b50e8d38c79597e1dae4aee8b501f057 + +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.5.4.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.4.ebuild new file mode 100644 index 000000000000..50511d1437cd --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.4.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.5.1-arch1 +AMD64_CONFIG_HASH=2e42789fe089b87dfe6763e7d48781b6a0c33b95 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.5.2-arch1 +I686_CONFIG_HASH=06ff2f85b50e8d38c79597e1dae4aee8b501f057 + +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 +} -- cgit v1.2.3