diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-16 16:47:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-16 16:47:37 +0100 |
commit | 8aebb228036d5e2863b7eaa6e319ab41c1669269 (patch) | |
tree | 00f4b90ce32462dc8e99ae54a31d6462ea2c3ac6 /sys-kernel/linux-headers | |
parent | 76cba73c47c8694e74377004634daca18f2d9c08 (diff) |
gentoo resync : 16.04.2018
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r-- | sys-kernel/linux-headers/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-4.16-r1.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest index 8c18d3f46fe3..486fd222b338 100644 --- a/sys-kernel/linux-headers/Manifest +++ b/sys-kernel/linux-headers/Manifest @@ -11,6 +11,7 @@ DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 837a675ecf05ec270549d0ba6b9 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.15.tar.xz 8199628 BLAKE2B 79a4f694a8335ed4bf1df94ab7829f41d3476165d0ce822a13e47461d7e3ee4cdb5e88acb9960a92ba1142adeb9951c19e17405c37b80d461b8577c7d1dfa37a SHA512 7698ae90e356cb6105d3b1fc5351264774428b5caa405e8695925965ab2ff3a08c0dfe3587a69a87405ecc45c6cd3040c3a9f751d6e6dc8eddf8b28ded4e2584 +DIST gentoo-headers-base-4.16-r1.tar.xz 8227040 BLAKE2B 95b2d64a614430e49d849ab54c58cbc3a850faea1bb5d9f7f43733d7b745ceb5ea3d1f8cc4dbb36c20797ae7d10bd736b99d17f5bfd0cdb90ecedb4eeb0f8610 SHA512 9b7cc82a322bd43dbf07c63d465200c87b838252e449028a363f3ff10921fe3889b503f20184168c7413d792c3d33b4324d89c89b95c8143a4a3c9c3e7e2d28e DIST gentoo-headers-base-4.16.tar.xz 8222256 BLAKE2B a5065cb49b549ea5eff33bc3a60ed070511cc463258666c30681aceaba97a108be059e4fc175bd6ba4dd0b27cf8bab14e0a8225346811eaacb4ddf8b2ba5a147 SHA512 2a5beadc61532d23f999c24101f3ab6db5d184a7327fa26330e318ac6b5b38b14c0e73ead2f550707b4e24c1f4f1a11c306c97608d98d530978fdeb43b4d58d9 DIST gentoo-headers-base-4.4.tar.xz 3911752 BLAKE2B 5031ecd48b99cb0c9c35ca935fa6a62cc36c076bab193ec397fc0d543170f29c6d5a0827a2ea5517eb68fc838819cbe3e5abd125bb920992492369d5e5c1e7cb SHA512 1cd3de58ff790c3730bea38138c7a45ef95d04288c69ffeabebb884fab3add13bd9c99785ddd87a3ee467a0e1b1cdc457bbd28da349e7c178b4d2374c5fb78a3 DIST gentoo-headers-base-4.9.tar.xz 4052748 BLAKE2B e279954c56170fbfa4ebae8dade731825b3d5f0cd5d73a5b33cd93a9c8f5fa140e14edf0d5ac26a452fe8a61b16fdcc851f5329f56e4c8dcf4472a995de44c4c SHA512 a03418cfba7fa4531279d9122411af3e285e962506e8df9279fbbb27ae08a4e30725bd1cf03f48ad523f61f2889195e6c844fa4c7b4ef2f828baf47ef402abfa @@ -23,6 +24,7 @@ EBUILD linux-headers-3.18.ebuild 1444 BLAKE2B 420273f8046f2f94c43503d6674241636a EBUILD linux-headers-4.13.ebuild 1518 BLAKE2B 81bb4a6c26d3d4d0003565e5d42410e0028893b47f0e8352a31760ffb803526b7468cbad2b9125a20c9251df89d40ada97155d7e33278755bf042c8049f499b4 SHA512 4d703c7cd1d645f78560a1710bf2519fdf192930d9d1ef37318700b702cf150b3352de466be4f076f02af8e8e54269d8ca0e0a86d0b52447e372fb3dbf4a2314 EBUILD linux-headers-4.14.ebuild 1539 BLAKE2B 8900db7ba2982d602920c18fdbc34340d624eb18d1477a59426170f8c5d82d88aaca5b1132a6211fe52dd635fe18d06c294d1e93e901bb6fde702ce83a229520 SHA512 412b3b9d932373fa4e3643d7cb14b96972d3fada2991f1150816365a0989fe6d802975882329afd6039809bfa49863a4e3043e596a4f1ff32e18fc7d5ba5bd6f EBUILD linux-headers-4.15.ebuild 1547 BLAKE2B 1fe60dd5ac92ba993f0f8fab74d964f04692b62591ce24e7baa9fb07ca7ffe90b6e285a2232540ec603bd78ca2f3d30541f3709014439a7e664ada330ac3e62f SHA512 ef9ce5b8e639a5eb89fb3a4bd27f0112ace2a9542dd7eff459f8139a764c7b01ca3afba5c5ae0eb9b011fa7a0f366bc31dc1a4b3286d34c92a2c86b1aecc06e1 +EBUILD linux-headers-4.16-r1.ebuild 1726 BLAKE2B 79bbcb3286a6ab00ae23ec100174367db1f2ee5524015218c45d58c6758b3142f579ef6d940356df8d247bacf899463ee8ad37ceaa743b09d0cc10ea598baa77 SHA512 628ae6f079bda9d8890f66cfd9713990a73c6db8a3fc690500e31a88ef0fa9d795f22fac604ce7c782ddb0f341e3a948368e34bcb04ddd7a29e7904c28323557 EBUILD linux-headers-4.16.ebuild 1720 BLAKE2B bb1822bfa5f192c9926e544133e9ad37260e4d4b2a2e9a0545f92f7bcd3d4cb259651cc2553d5b3e21d0c60c8b5737bc65c46101cc14ad4fb602ba88665b7023 SHA512 b4305335d02d9869bb2e57d3890775cf9b2a644e6ad2e0150abe04953b9924970f9bd9c43db4b3e3b19844ec0eaf3be65c11ec2a70e5200e58f4100a5a3a03d1 EBUILD linux-headers-4.4.ebuild 1518 BLAKE2B 7aa19afb813093a903a3de6ac6176470baa3fcac408bfaae4adfb49d676b74f022bcf08ad719184dde1b947e6bd32246af220e9b30649556ded38b58c0833a62 SHA512 f4476f0cd952626fecdf8d13b28f33ad44bc9839d0918306af9dff1a97a65eee730421c906df5ea1f77be143be5deefbd23c985b135b330c15dc3188383015e0 EBUILD linux-headers-4.9.ebuild 1531 BLAKE2B 5ff61c51bad33c6cb0469da3ebd98de40764bd09fc12e6904c8a3f91661a18c7f1de5e90db126a2f9835e2d6676817dde10d8279b570b7339f4e62a74f4c76b8 SHA512 bf62eddd1212635ccb858daf4f1fb54ccc06a053f05cdb86b5a11b2952946e5342ec9a07a85e6b78b041dbd126259655a17344a531a3d30e6939b4740452a60b diff --git a/sys-kernel/linux-headers/linux-headers-4.16-r1.ebuild b/sys-kernel/linux-headers/linux-headers-4.16-r1.ebuild new file mode 100644 index 000000000000..1c1d8730d9d2 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-4.16-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 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 riscv s390 score sh sparc tile x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_VER="1" +SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}-r1.tar.xz + ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz} + https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-base-${PV}-r1.tar.xz + ${PATCH_VER:+https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz} +" + +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 +} |