From: Michał Górny Date: Thu, 12 Mar 2020 05:58:55 +0000 (+0100) Subject: sys-kernel/vanilla-kernel: Bump to 4.19.109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c57d9840d78c5f18f3fb248ec954792a9716d8e9;p=gentoo.git sys-kernel/vanilla-kernel: Bump to 4.19.109 Signed-off-by: Michał Górny --- diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index dfb763f04409..074164ea7aea 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -1,5 +1,6 @@ DIST linux-4.19.107.tar.xz 103417476 BLAKE2B 4cafa666bb7a5c16bd806c0b0d8bfdf98fd8a09ffc99512a3b354abfe3514fb61802c596a898417e54b52f7c3da4ccac0c52746d4f80c77ceff79f0f9821663f SHA512 92b23cdbe1234bfc606b498bb59e2c493d57693f7897b92c3d1d8b2620394e55dc5c80c1fc40c862778f81f91ed09e2fa4598f196f969977dc44c80ac13dce05 DIST linux-4.19.108.tar.xz 103408396 BLAKE2B d8130982ef7b1bbcdc6b1e4099b6bf5bd707f722b74b2e8cf8bcd45e510f3e39c8418851c923013a6919c4c45c43c65fae8f39ba92563f4645c1c3a3fcfd2937 SHA512 c39099f314fe22e902f561f0dd17fad021a9b8d4ad3c154709a7680e710980a44bcadf46092da7f1a0a9c6910a9b2a8116cc874f8991e197ff05fafe4312da2d +DIST linux-4.19.109.tar.xz 103426400 BLAKE2B 0b21b26db8f51d3857eddbdff8267d571bbdafae4b3d0785478769c8c29d049a64297f9b2889fcaa9eb396245cd77a51067d4be6fb6fd8d08c17080e7283bdc8 SHA512 595411940613df10571e8de1d025f8af5596aecad6f4ab5c68c611b9b03a1fba1ef1ac511658fc85e98f6a9aa0569db26dc99e24436912fa53682caebb68de69 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.18.arch1.amd64.config 241388 BLAKE2B dacc83b154eab51e3c7f57bba6e02a4edfe34fa584c907f514b8afe9cb7ef39aa245caf82a35f648e379883fbbb6426b763879676cd3cecf741bcf342f165a81 SHA512 bf211c4293f7dbd980bfcc47fb337a2db359f1320573f5086a5ec60a0c50b4105723e010212eb6d5b9c2ba3ecb5fa4381f8b67c16596647c030b4f49274120b9 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.109.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.109.ebuild new file mode 100644 index 000000000000..17bfa6ee759e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.109.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 +}