From 934e23707183d86147cb5f0d1b1b68949f4e400d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 29 Feb 2020 05:23:32 +0100 Subject: [PATCH] sys-kernel/vanilla-kernel: Bump to 5.4.23 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-kernel/vanilla-kernel/Manifest | 1 + .../vanilla-kernel-5.4.23.ebuild | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-5.4.23.ebuild diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 578ee38ca9de..611efd615df2 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -7,6 +7,7 @@ DIST linux-5.4.18.arch1.amd64.config 241388 BLAKE2B dacc83b154eab51e3c7f57bba6e0 DIST linux-5.4.18.arch1.i686.config 240651 BLAKE2B 9e00b28951593aefc53cf735bd30589e44c9326f53ff98f7b2a244e171192910f93ab9f20d879ec06ace9b1169a6b3d3d6acf2105736905cca3b9c2db1cc8e68 SHA512 0c9331fd1256e044734d24d4ca58e2677604482aa0ce33f65a5df63dce4d2615ea9686a53a0e603956437d9b9d23e54389459d7ea0bfe66597609dae96952785 DIST linux-5.4.21.tar.xz 109482812 BLAKE2B 21322e6bddbdb2d8e7c0e21a3bb908b83230bcf28626273e4af745e6453823a9d33d46ab86121175278748c7823c8139ffa9eebaa4da1995f7debf821adb5992 SHA512 816e0acc3be5ab5614f573fea6749fb3e2bd260753f97129882455875b60faf2cf1bee949e5920e11a05052e8ea845a94a922ea6ab4e9097594b2f468bd8d75a DIST linux-5.4.22.tar.xz 109491488 BLAKE2B 4e7695ec5777b83327b598e2cf99f8204936d47bb090e1ac35c335029ae85d269598bd5d277d604cff2a98154aa4936ebadcdbcba64829bb069afd07d017980a SHA512 7003f1f2d57baa9aabc52fdcfaac9456fb4e3fe1e6edc46a4016e561a1d7be4440ce10d2d45366125f950dfd8147e51d9bbabdcf34701f95528a4f8f68a32c81 +DIST linux-5.4.23.tar.xz 109502288 BLAKE2B 84b3f193c490e9e6a5095266a61dd683470c14351dc597b569106b813e96e7ab304468495dbf9997ab42d602eb1a3f80dffe523e36e6d209a9986dbfaf75579d SHA512 392cb5daac01f5d7de958ac5aa5163a4ce9f66312539ebe62742e82307a35462a785450e1265fb4c20134ba25b979ee8566e6a6e5c2e6b305658b9939ee993eb DIST linux-5.5.2-arch1.i686.config 243261 BLAKE2B dc0a7efb9c94af540043db8e559c04bfe2eb493158b0fe7d25984b85ae364cf262cf78ee57f1b1b6c4e9cc51138be15c098268e77f63f158702851352952837b SHA512 29cbf564fc30f9e8030001cae09d2711292d4e2c9c66f96a61a7d1575dd93d86f00d356697f011ff3810c8db95f95ac1fd54d6220c1f9095797891c29a7e2723 DIST linux-5.5.4-arch1.amd64.config 243869 BLAKE2B cf65ebea77e2c8d3de643ddec5b6a3afee6abb3f858ddd987c96a294152caa4aa6731350774a8438d5e2a40c6847433d4243dcebddaaa63bb4cc4187674d7d7d SHA512 a14808fd73c1d15ca1d73de1e0cf91cecc89332c8ed650352c972b116325c6126cb70e2a40b002616b2bcc9e9197f4486705c353ad3da300c7bbd6ce44ff3737 DIST linux-5.5.5.tar.xz 110709764 BLAKE2B 7b0486c66f70dc58d84244810a8d7790a29c7a282b8e22585607bc87a98970dafba61c0894bcb523647b93b32e5511137cd350583b83715a15527dc02995d4a6 SHA512 2d0ed596509546169d0e0d46c23e10920e6b565178e044fe57b68b7ff0ec5c613bb090105affc74e5bcacda36f8c8a49c269017e90dd7145f58e9359707f35d1 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.23.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.23.ebuild new file mode 100644 index 000000000000..120e57e30b74 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.23.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=5.4.18.arch1 +AMD64_CONFIG_HASH=f81c67d74936ab16f9356add6600be0de003abb4 +# https://git.archlinux32.org/packages/log/core/linux-lts/config +I686_CONFIG_VER=5.4.18.arch1 +I686_CONFIG_HASH=c4c120c5fde43a49d84db7d60a9722e2ca1d1c2a + +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 +} -- 2.26.2