commit: 30c745636b52a9f7500489c0bc74ea57868e6c30 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com> AuthorDate: Mon Dec 19 21:02:08 2016 +0000 Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com> CommitDate: Mon Dec 19 21:02:08 2016 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=30c74563
sys-kernel/linux-headers: Bump stable and unstable Keep 4.8 because most patched kernels are still on 4.8, and keep 4.3 because of keywording. sys-kernel/linux-headers/Manifest | 6 +++ sys-kernel/linux-headers/linux-headers-4.4.ebuild | 57 +++++++++++++++++++++++ sys-kernel/linux-headers/linux-headers-4.9.ebuild | 56 ++++++++++++++++++++++ 3 files changed, 119 insertions(+) diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest index 602f2ba..2268fdc 100644 --- a/sys-kernel/linux-headers/Manifest +++ b/sys-kernel/linux-headers/Manifest @@ -1,9 +1,15 @@ AUX libc-4.3-portability.patch 3908 SHA256 cdd4a603361bb3e3e776b360460ce5df8247aa64fb06d62801fec2761ac0ae0c SHA512 7b577f7b0a489274685fc9af9234cd6fd00a033342e62c38601b3e663798b1af8e053f7df2a6d78fadcbf2e582ca25bfcc45259f01bc08c46d3d846a2b397eb3 WHIRLPOOL 415fb348b873dc3138e4cd2265b6be9a47bb92f05a8bc38c317edf1e0257312a169958774a3c03c621977769436027ca8768d868459e484392afff9f54149a25 AUX libc-4.8-portability.patch 6471 SHA256 e8bd0da130161340e347714f633a17e077e9e932f70b7d7c7df3b5afdc1f9125 SHA512 9ca54f7f3f00ce5764f7c943e53fd19a824e6c8160c91344cee550b70e3752d9128fa0eb45a82a7b8063faffbb23f4f4bb223044b3ffbdb2d514f3abe2d4ff9e WHIRLPOOL 58b9b61ae89c38db86808215214ee094d163eb294ca30faec7e895779aed34f7638566072b3bbda42cda4e76312ca70bf8961d81d2e5afa5580beb1c1be4f12b DIST gentoo-headers-4.3-1.tar.xz 6336 SHA256 dbe99afe8b96b181f1b065b4d91969913eb23750c1fdf5c05f86667a314ca726 SHA512 55310299ccf6fc013b26b28df52740188ea68547617141af45a1278d0028c8db47e43e230f08fff399793e420028ed1602438a73bad6f4ffb6f3c43f9f28002d WHIRLPOOL a87198b9f868d913c14a2578c5cd452fd0f041576141fc8089d4a3eef0840929923d95de188fac8a6f1115d588f2a17dd51ddcaae90871131d39458c90afe956 +DIST gentoo-headers-4.4-1.tar.xz 6624 SHA256 2d4dbc94f05f2ac376b2b0523340f7351f94b2cef180c9c793fa5e8453c7a770 SHA512 dd8a5c627a9cd373022d7afa1beb126f15694f80452821f31fc5c1a3439635814d205bcbc873a5869946472d86cdec872a44f4870751b96d42e89893fca1b983 WHIRLPOOL 07c351a05d0e808d6de6c2143713ec0e78760987cf7fbc9ec6a6192a185f9c578acdc5b7f96368a25ed9bfe778ac7435fe5596c3e2931d6645ddf631a92b8e01 DIST gentoo-headers-4.8-1.tar.xz 6332 SHA256 8d3076b8908d2503c1d34c7a02ba5e8373af124cc587eff4304b64a48295dec1 SHA512 4c4fab57f764c02150cd3f57c4e2410247f5a1d2aca66deebe6d218e30e6c9a065d15a6757a325d96125a51a65e5cba484ded295dcbe346323e8e11975b8a623 WHIRLPOOL 73b1c2783cdb5624f766cd93b9900bf139f21298ba7f1ca96d0554601415dee06a5cf7d2d694d1bcde88689f0ad8d82183bf9b8f9172761bd1cf5cb5bf592ec9 +DIST gentoo-headers-4.9-1.tar.xz 5416 SHA256 2d57ac966b325c2c3bda00cfc7012479f3ade6264bc1e8fc5b9aa36ad4353ed6 SHA512 1069f50c58f25ceb8a13c8e53dce6a21e352e2a624da3b9a6d139939e7613e9a97226eb0173fa060ee69443c6a50b53b6d5c6d752dcaebffbe2a78f06cfbe2b6 WHIRLPOOL 047718799ed5fc39b33473d7dad599fabf94281eb3327be37bf4e8274b31a9f02023cfb93edc0f0d983943592621b1b6ae37c83910b14aeeb3289ac4f8708ec1 DIST gentoo-headers-base-4.3.tar.xz 3892104 SHA256 5add8ce264a85ced6222060d962c079821bb15b4dc015091425f609fd8db4629 SHA512 fed69490e15b2add489fe55225b98641135d4d7f10b4a8fa716ab039c79e74172168b90a4c3c154bbac14abddbde1dfb901e35527a76c898afba32a2d76b6f48 WHIRLPOOL b1193f24ae4a31c12e5fcddfb62ce73d1434e18048a6ae67dbeb4e0bb6b514c7350faaafe6d9b5ecd4cdd43468ec88e1ba8109da6f1eb83c26a9d1e360bff565 +DIST gentoo-headers-base-4.4.tar.xz 3911752 SHA256 c16a80976837e347e4356380ce4942286e7485d3335005647152b839e3267b8e SHA512 1cd3de58ff790c3730bea38138c7a45ef95d04288c69ffeabebb884fab3add13bd9c99785ddd87a3ee467a0e1b1cdc457bbd28da349e7c178b4d2374c5fb78a3 WHIRLPOOL 6ea6c16718fab89d6e5c190d41b90f1d050cbc94bf56d00bea58b50006d4a7871f6bebbeb09623746b32066a1a514e84fead5ba3fbdc299ed363027caa4ae9dc DIST gentoo-headers-base-4.8.tar.xz 4025544 SHA256 ab6a8276da6c691db2eb12c83d3277be26d86660a52f813562db6c2dd79c481f SHA512 379d4ef9b14c1a2277c996df2683b9e21b591ef3b77c8a4e593d7e687c298196fadd032c96d442a67e227bb8a70a15763e832e2f70da9a819911e9e678c46733 WHIRLPOOL d2786dd580daf3227c7fa9ad460c3d50702b94c5b6f37677a08587855e367dbe3423dff9865e6f7db4ca9943334dab8233e6f375a6c931ba5b94a1b0278b0598 +DIST gentoo-headers-base-4.9.tar.xz 4052748 SHA256 8468aa4b44e224c33e8d1ffab74afe61600f34aa2a07528bc710a682a037f851 SHA512 a03418cfba7fa4531279d9122411af3e285e962506e8df9279fbbb27ae08a4e30725bd1cf03f48ad523f61f2889195e6c844fa4c7b4ef2f828baf47ef402abfa WHIRLPOOL a24056d5e2d5cc43efca9f9c9df4189e6f103450d89f0f5fadfe0a34fedf815c7f2d8b609b4a706bb46ee4b492bec2bddf8fab5af83c356458a4543d2d6a0ade EBUILD linux-headers-4.3.ebuild 1574 SHA256 6eee4973da0d615b7f492cce814bd60ebdb0891daaa5aab698a866c90a596b4f SHA512 6e0e93908cb4ab438fb83ab1e4445f9776d0287455ba486981c3b4107199db868e5fb7b81a4eba6d024f4d6ca9410f5f454dc5d835777c7524c73ee1ace82e7c WHIRLPOOL ae9b24193e5b760872e7c53803d4bd4e44e61f43c87f82694d5d08a62c1148628af54c0438066306995f6bad215cf30de0f24dfddbefd7b84b437c78490ff7b3 +EBUILD linux-headers-4.4.ebuild 1579 SHA256 baea2287868feb723a86a29dddd278ce9951810e1e6956c838c0e9f1ff08f398 SHA512 22f92be3a78286d77361489db4f628c3e70a26ad96325a4e24cb5d9cfe4f73ebb35cdcf8593a450937322f62859d9378981f0b7487b550083c967ecc47865b98 WHIRLPOOL 54360970c1be07ba23240ba1182b3de4a1ba6c9a40191c4f32cc2309fc9d98744c01549ee7d1b5822dc67e06306c51aec5592805502d7d4034ffb61b64c01be5 EBUILD linux-headers-4.8.ebuild 1580 SHA256 40c5325aaefcb53fe9f3df69d6a96557f780684fd191e41db1867a1db69432e2 SHA512 dfe8337398f709eb3b63c73535ba38bca5272e6737acaed7c37cee9bd1e98c2c5f5c03acb1b55278b79661413f1cb53f57d95fe760391662153726253436a6d6 WHIRLPOOL 28f447a009aee2f3970f7587db0fc930fdc8e413cf5b7f59d4a3396d52fe233468012a89e01787a17aa4f4b51f4001b4bc3e66963359616461d0e58fecb7ece1 +EBUILD linux-headers-4.9.ebuild 1580 SHA256 40c5325aaefcb53fe9f3df69d6a96557f780684fd191e41db1867a1db69432e2 SHA512 dfe8337398f709eb3b63c73535ba38bca5272e6737acaed7c37cee9bd1e98c2c5f5c03acb1b55278b79661413f1cb53f57d95fe760391662153726253436a6d6 WHIRLPOOL 28f447a009aee2f3970f7587db0fc930fdc8e413cf5b7f59d4a3396d52fe233468012a89e01787a17aa4f4b51f4001b4bc3e66963359616461d0e58fecb7ece1 MISC metadata.xml 344 SHA256 9a1be7c7cda2e8f30ea65c0abc9b3663e8efecd6d8d383b28a55de2ff7071d10 SHA512 4dfc3a4130e5ae01c17510c693c4f2bd81fb019cf003e866c7f359213b58c6e36ed59699d6a458464e1dabd73c8f4a24eada8ced06d7ac513ec3553c0179f164 WHIRLPOOL df2e1ce9fe16c663dca50b97b9e8f3c80ada9b8feceb9381ca256a052f1c7176c56439ca61c5d734e22d04386c8efd9462758d2aa1f12d24a73425b9f1a6a6dc diff --git a/sys-kernel/linux-headers/linux-headers-4.4.ebuild b/sys-kernel/linux-headers/linux-headers-4.4.ebuild new file mode 100644 index 0000000..c0b3b19 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-4.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +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}" + +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() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} + epatch "${FILESDIR}"/libc-4.3-portability.patch +} + +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 +} diff --git a/sys-kernel/linux-headers/linux-headers-4.9.ebuild b/sys-kernel/linux-headers/linux-headers-4.9.ebuild new file mode 100644 index 0000000..0f6f574 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-4.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +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}" + +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() { + [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} + epatch "${FILESDIR}"/libc-4.8-portability.patch +} + +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 +}