summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-12-28 16:39:29 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-12-28 16:39:42 +0000
commitbec9a6b3b37904887d0581265daba42c7e28c338 (patch)
treed25f68f78562e16eea89824b99ee269a57765e20 /sys-kernel
parentsci-geosciences/qmapshack: bump to 1.10.0 (diff)
downloadgentoo-bec9a6b3b37904887d0581265daba42c7e28c338.tar.gz
gentoo-bec9a6b3b37904887d0581265daba42c7e28c338.tar.bz2
gentoo-bec9a6b3b37904887d0581265daba42c7e28c338.zip
sys-kernel/linux-headers: bump up to 4.14 (unkeyworded), bug #638848
Copied patchset from 4.13 as-is. Before KEYWORDS are restored two things need to happen: - distfiles should propagate to mirrors - a few low-level packages need to pass basic tests. For a package list see https://wiki.gentoo.org/wiki/Project:Toolchain/sys-kernel/linux-headers Reported-by: Jiří Moravec Bug: https://bugs.gentoo.org/638848 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/Manifest2
-rw-r--r--sys-kernel/linux-headers/linux-headers-4.14.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
index 224d9ae0a6d..ce5a685ca47 100644
--- a/sys-kernel/linux-headers/Manifest
+++ b/sys-kernel/linux-headers/Manifest
@@ -5,6 +5,7 @@ DIST gentoo-headers-4.10-1.tar.xz 4640 BLAKE2B 34aa23ad5903c432b9b9998d9ecf6e0d1
DIST gentoo-headers-4.11-1.tar.xz 4072 BLAKE2B 81a4e2e216d8f1edeb651f60df2ff1d83da38743b4cbe010e014c28868041fd69dc90cb5a72d24c3fb827225b5b8e1f225862f0d8a41c192a0c390e06d4c8d6f SHA512 25b36c2b73e98be9f5ca6c60e41323737ce767e55eb92d344b848d5c78aa247957789d33318174b1322ecd069b601e4aac9ce562134749b493d23041340220ed
DIST gentoo-headers-4.12-1.tar.xz 4096 BLAKE2B 5f62c065bd4b722fcc4347cfa8898dbf92f813295a3b9a09b2641d0b4c9b274e3359139480693969c1aa7b342b4f7e5b74f43d712687903b4d970f4d002c8900 SHA512 d6499c036529da2d0d853d30d4fa45c201d4d029b0cb7edce0586a6c7e662374452002e277b46ca179886560db153ba5bdb0b4126ba647b9d494d00cd34649bd
DIST gentoo-headers-4.13-1.tar.xz 4096 BLAKE2B a0506c6aec14d8d710863cc3f7b5ce6cc067af245cc96dbf83f10f02ba83d580f900c9cf8b09b496370d580a9b9cd935738d8b4b0cb987836490894fba01cf23 SHA512 14236185c8810b88d94ff0533fe59e84599c2d4e5c7507c37cb458b6728eed69b581df7f8654d5323454ec359e93490c4dcbbb1ee58a66f2586047c93f0f1aa6
+DIST gentoo-headers-4.14-1.tar.xz 4080 BLAKE2B 5d8bb4453d3b0b739922a86e0e45120fe5ad57c3310ff6a94830a3a7561fb3b5eef7805ff171bdf0d5582fc91848fad948162e63ec4922280c8ed68ba58d50e1 SHA512 e0f806db641c99f3f71e27fde29705685745c9c03b901c943cab5af84e2e9c3af96f5d2d10d8f5328ec7e4dba28b378f534317bf1bee597d429557b981f0a865
DIST gentoo-headers-4.3-1.tar.xz 6336 BLAKE2B 822d26966d6cc82218340ebba29b6a17679164d5a91c468422ad0676431ca47907ad536840ea953cf9e11097195cb5b48a8c6f300ee6662ebeacb15f9ea4ba3c SHA512 55310299ccf6fc013b26b28df52740188ea68547617141af45a1278d0028c8db47e43e230f08fff399793e420028ed1602438a73bad6f4ffb6f3c43f9f28002d
DIST gentoo-headers-4.4-1.tar.xz 6624 BLAKE2B 9cdf0c22520e413f175942c4994dd90b0fed8f72c67332a05e7ed72b901ee04594f4e4a3c0252e0a6e057d9c08c4d653387dc36cda82ce9ef8a16e7317ba9ea0 SHA512 dd8a5c627a9cd373022d7afa1beb126f15694f80452821f31fc5c1a3439635814d205bcbc873a5869946472d86cdec872a44f4870751b96d42e89893fca1b983
DIST gentoo-headers-4.5-1.tar.xz 6388 BLAKE2B c9ccda579431285d6c2c37a6a86a85ad316037cad33ee626ff9ee39a885cdfa68448f76a1452eb0e10cb4d6e4f9ac3039dd935bc2618899194be01a5afdcad65 SHA512 48b19592bce8176bb6a363fb383fa4f88b3f1d30712339ba215c1246a59c9463423c53e77967039703adc5b7eb32cee532686715cc61cab95bd0694f283a76de
@@ -17,6 +18,7 @@ DIST gentoo-headers-base-4.10.tar.xz 4077280 BLAKE2B b4aa31d630a4fb70a53905b0e89
DIST gentoo-headers-base-4.11.tar.xz 4092160 BLAKE2B 5218a181795566231acb2587eb748d096e403301b2f69de466a7d4c3009652c6e11909f870f73db7c86442c97e3627c8fd8ec7c4c2dbfeb4e4d3b8166c8e2737 SHA512 e12d6016b8ea85396d5f757f904fbf7ebb0bc5d1f7d58865085fa7dfe49f6a6b9b46acfa744f9784c24fdb9ecb075ca94a62609d03b0562a583af09ebbf59d2f
DIST gentoo-headers-base-4.12.tar.xz 7881588 BLAKE2B 1c5ab1d3009481323f379495cd8bbdac28fcdd8a4a6920bf30ddb322e2b8c187bfdab876d61d41b95005acb47faf0992dbd0e053fbaaa764f6a01ca40862db04 SHA512 a9fa182318bf811fbfa3ca5f5d24a9efac4278ff332ed8dc6163682c7a53a32772d1253e24037d9ed2256e1cf3c677e5f6d573eb1a3cdd46cdabf08fb37c7d8e
DIST gentoo-headers-base-4.13.tar.xz 7951980 BLAKE2B 8b3b5d9152455b08bf06c275a69168f8a2418584058e23f784d3ab956d72b100b89d398bfeb351d8faa8285cd9ae8942726099ce9aa3fd94b8e0e92b8de1c217 SHA512 3b528e18199d43db3f51c8fb9a5a4c67b9317ea7e9b9fd82fe2cb4d704bbc1253f2af64dc79377ee8ec26511d0893409e3dddbb9a6ae11e8bb7f4ca4d8d3ac9a
+DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a SHA512 2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a
DIST gentoo-headers-base-4.3.tar.xz 3892104 BLAKE2B 8dbd93493100fbeae23ddc48309acf0008471aff0444c062559a00c0fdcd70a8ba1ad6d64ef1b88d7ee2e78af95eede7a2f06304247dfc017908f88b923f6e48 SHA512 fed69490e15b2add489fe55225b98641135d4d7f10b4a8fa716ab039c79e74172168b90a4c3c154bbac14abddbde1dfb901e35527a76c898afba32a2d76b6f48
DIST gentoo-headers-base-4.4.tar.xz 3911752 BLAKE2B 5031ecd48b99cb0c9c35ca935fa6a62cc36c076bab193ec397fc0d543170f29c6d5a0827a2ea5517eb68fc838819cbe3e5abd125bb920992492369d5e5c1e7cb SHA512 1cd3de58ff790c3730bea38138c7a45ef95d04288c69ffeabebb884fab3add13bd9c99785ddd87a3ee467a0e1b1cdc457bbd28da349e7c178b4d2374c5fb78a3
DIST gentoo-headers-base-4.5.tar.xz 3915016 BLAKE2B 4588cda801ed31f69cdeb364b0b2308cfd0e6ce6ff936a3d71533305ab507c12c68ea33e245cb11fdcb25379156a547b36affebc2315dac563ac1b389256fd38 SHA512 fee3d986d0fa25beda7b04e971810903c1a4dd50b82167a511f65cba8e6b5fdf08005578663b36841c75168e144330004561c24d827c9b4b734e08bbab4608e2
diff --git a/sys-kernel/linux-headers/linux-headers-4.14.ebuild b/sys-kernel/linux-headers/linux-headers-4.14.ebuild
new file mode 100644
index 00000000000..72d66535a21
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-4.14.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 s390 score sh sparc tile x86 xtensa"
+inherit kernel-2
+detect_version
+
+PATCH_VER="1"
+SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
+ ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
+
+# Restore keywords after successful basic tests
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ default
+
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
+}
+
+src_install() {
+ kernel-2_src_install
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}