summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-29 05:21:33 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-29 15:45:59 +0100
commit9d33fbea6d9686f05dd5a99284a6eabb1c200a64 (patch)
tree78bd54cbf29dafa8f641fdb9cd679ccf0d7cc85b /sys-kernel
parentnet-dialup/ppp: Drop pam USE description (diff)
downloadgentoo-9d33fbea6d9686f05dd5a99284a6eabb1c200a64.tar.gz
gentoo-9d33fbea6d9686f05dd5a99284a6eabb1c200a64.tar.bz2
gentoo-9d33fbea6d9686f05dd5a99284a6eabb1c200a64.zip
sys-kernel/vanilla-kernel: Bump to 4.19.107
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest1
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-4.19.107.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index d51126c8cedf..578ee38ca9de 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -1,5 +1,6 @@
DIST linux-4.19.105.tar.xz 103435348 BLAKE2B 58f085797654abcef7a614bba34f77e22c5d2203ba5070e11ee603f7dcb9facb30c9ffcfbcc17c72d7bb4f93c2514c7491963804613e1fe1e0950a6fe812be49 SHA512 32dc4eb8b535af3a3998a8d4fca4d1b47d1a09fdb324d18e70b4098d7431d836d3c6449cbf07d4b5188ba07bfafa0c2f91ec875b369676f208a25f45d40f64c1
DIST linux-4.19.106.tar.xz 103413276 BLAKE2B eaa454def0cd18c38ba47f61a09c526ac15d895ea0131de4b531b09c3f21e1b8afdc66c4207f887dd7b3f13194d8415309546ab7a84c85446b468b8e89c49f71 SHA512 c456c15038c1f0bb98f66dbcb0cb296b10d55f4102e6bb075892b2b65c33f32a7450417dee9b7064a37ef0f42d0b2914be3ee5df0b4fad2d0ab664d7504d1e4c
+DIST linux-4.19.107.tar.xz 103417476 BLAKE2B 4cafa666bb7a5c16bd806c0b0d8bfdf98fd8a09ffc99512a3b354abfe3514fb61802c596a898417e54b52f7c3da4ccac0c52746d4f80c77ceff79f0f9821663f SHA512 92b23cdbe1234bfc606b498bb59e2c493d57693f7897b92c3d1d8b2620394e55dc5c80c1fc40c862778f81f91ed09e2fa4598f196f969977dc44c80ac13dce05
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.107.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.107.ebuild
new file mode 100644
index 000000000000..17bfa6ee759e
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-4.19.107.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
+}