commit: 1edbc4da73c2b13ca47e8bbb68a108d72c6c86fb Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Tue Sep 1 01:16:21 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Sep 1 02:38:26 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1edbc4da
sys-kernel/linux-headers: version bump to 4.2 We also stop deleting the /drm/ subdir since the libdrm package no longer installs into there. sys-kernel/linux-headers/Manifest | 2 + sys-kernel/linux-headers/linux-headers-4.2.ebuild | 56 +++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest index 8413c12..65aab8e 100644 --- a/sys-kernel/linux-headers/Manifest +++ b/sys-kernel/linux-headers/Manifest @@ -24,6 +24,7 @@ DIST gentoo-headers-3.8-1.tar.xz 3204 SHA256 6790d6934be43251bcc40d19da3776cd004 DIST gentoo-headers-3.9-1.tar.xz 3204 SHA256 b7f54447f0787cef16796e64a52fe7a4891d1b0c7198d87d00b4203eb40a938a SHA512 c206dccafa969d80406cdc4b6747aeff7451c5eab6b4b35827eaa102cdda4f69a3944d79b3b78276ca5122a68e980bf047f2cc53255aff7959fa5863cbfdf59c WHIRLPOOL 19e84a5ef8274adc9cffe383f4c95180210c8fb871082eab90bdc8d7ec98d617ab858e6c3aa19f61fa388f171ee695553b4aea1b6853a8d50a96debb15fda471 DIST gentoo-headers-4.0-2.tar.xz 5368 SHA256 ac090b3ced9f1a4b046795402ef919a756570b33f605a8a963af421d5a86af5e SHA512 2c7687c460bba24c8ed6e1df6f55ae79acbdc9f0f5b83074ec062226208fa0384b9660850ebe699bf72eeb8d44716f71115d802858bdf3147fa91c2f85eed85e WHIRLPOOL fcc530b2b973817cd5a16a34e26b1f817b67d622ab6cdcf0398ced6b73a6a626d7d1179b30895e2a33eb044d304fc98ed313e0353cf55fe4d791cd8959b202a8 DIST gentoo-headers-4.1-1.tar.xz 5616 SHA256 c66e0f023fb786ed4c041e0643e7a778bcc868528ee902b0228cf71986d30dbc SHA512 fa1ebc03e5a3a15b25e037d566ace812a451830c0a05454524e6e3021a6a77dd048ae79b85f2d2aeb4cff414f4bfabe93bfb42ec18a3a8a9c80ed7d6b5352832 WHIRLPOOL 93ecfac69c93500c5f2d3734d2a8a260821032a549b119bb554688ddc725b800e2c0c37612c2cc4f217452d0b2887dd1e1d2bb3f0a3774f3395a72a7cf307445 +DIST gentoo-headers-4.2-1.tar.xz 5624 SHA256 1ec257e2cb9d79068d563868a08bfd13bdd0f4c053c368d97d7d40c24dece4f9 SHA512 a022f0af952956d330bc05f86868953de86a736395658bbedb91cd7db16401795a6f556978d1c1c5fc584479e00a042c43b90dd0d3f80e8c231fe980dfbfbdfe WHIRLPOOL c957b99005f5f16dafee216ec7afc293acb6cdc963b3f1ddadeeb8e1550afbe0b4188a038e80598fc1f1c67080a3db79aa77ba4c3f19afeb41cd17b8fe4c4dbb DIST gentoo-headers-base-3.1.tar.xz 4814816 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0 SHA512 1218eba261172f5480d6b399be25f9fff0d3c9de48f6b47669820d746957cd9225a7beb3d94eb3d7779c1d28a97da0623dd494a56c8761c092d939afcd99d42f WHIRLPOOL 85869c824fa2a691f50feb94d85aa63103e4cece793273e8d9eca7b23e8459e5fbe31b46e1f97e4f62a1fc8e03b27827ac70ed061369c9df8efadc6e8beb7962 DIST gentoo-headers-base-3.10.tar.xz 3643164 SHA256 ac054e6370381f6ba504371e6125551489f0dbb3207a79f9f328a0b9a6eac8bb SHA512 1c2c6cbdd5dd7bcabdd0854376202806bd45af519046aa776c3cad54730b8d4f5b0eb7e7bc580314aca070ce7f9f548c43b74fd11c8fc19e4a65c8834e0112ca WHIRLPOOL f86788bffee26f9598fa9d94ad4c590558d6d08f85c4d7888e9115aefe4d783a4234f835c93f2137abdebba8f84d5a8fdb89e9e21bb72073902a49584b0b9932 DIST gentoo-headers-base-3.11.tar.xz 3664640 SHA256 09765c907425044efbc423e00b48ffa3a976a73ff9a71bb03139fa4ec924b240 SHA512 59ae911e9780e49954ce9671ef109537c90180c24c7eb6e639e8d4d2a4bec503d5c198cacfece4d203762a15ad69a11e05e22d31ea373deea4b9d7105047b513 WHIRLPOOL 67b64bc74321e36a1b125ed4db45df9a8af8acd4854cf51eadf4d8080c47c1a3ecc485758d518c5035ec2b14aa32ad69ec06ab0c670f117be02059c8005d011e @@ -45,6 +46,7 @@ DIST gentoo-headers-base-3.8.tar.xz 3585964 SHA256 ce0ccbff24c3b7472c7c5e9fb4dfa DIST gentoo-headers-base-3.9.tar.xz 3697180 SHA256 7cfb2066936dc3668d16ff8881cdb9ccec7b16f460b7c9bb753e41c1432ff9be SHA512 55ce32970d4f2750648b76dfde53250c7dd8800672a0c3831844f54e4c2ada1e20a66deb1079e4e61f2250dda929abce4db65634e0b042c3293f31a1f6d49210 WHIRLPOOL e13bec4bfd735ac156acbf6b5b6d968e30b2c2ac1963302101fc1e029e256582ce4721a6d0fdcca2d26dce461959fdb0a5b98087d5014ec2e5c1e878c489c60b DIST gentoo-headers-base-4.0.tar.xz 3815288 SHA256 96c4ff8acc80fe6c401e0452212cd49fec50c7eccceb5b1e79e9b3a70d309318 SHA512 42e158532181dd225009a4b564cbd1d7ae00485ec4a3d56ab7cd54b6816e171b6a6a9217b9db460ceb701b473a4082f1f4f9cd7a7da6fde2bba5591d95d03fc9 WHIRLPOOL 5a9d29237f1729109dee4b9990efa339b1e953e5663a2774dac17a463d8c7f5934f4a0627a7b46496fa2127e9d9b205f673a1b32c4c77bb5b849078a39a5db5c DIST gentoo-headers-base-4.1.tar.xz 3832284 SHA256 7abef9c950ebbc5da3f11c6b7883f1417ba429cd4d39aa7776c13c50f5c68e83 SHA512 e91ee80d31a0205f8d835931c39b4b4c085e338a3dddaf1fc179ae95a566148ba7b8a28e73e661700b834c7b2ca9b25e0a0645403d13330fd2fd887695898111 WHIRLPOOL 7cfb035b6d4cc330bce89d2025ee927758fcf20addbd8100503ccecd9e3b0be057603da96412cc1cc564698a6ffdf961a4a35f24b1a3bb822c8be1370a0751ae +DIST gentoo-headers-base-4.2.tar.xz 3866404 SHA256 b0787b40c865988b2f934f60291c5cb0df861f6eadf747b1efb85add6fafd6cd SHA512 3f75ff4dcfed72f1b2e8c6833a8e84dadbf5085114c9704499a0e75022ebffb12881260567eda01a7f08c729c72c320e6cde165385b7e943d7b3d69d80621b89 WHIRLPOOL 40993e689b37645e92c121fba68546f7c3734ba5eab004ce48236ea487b886c5638f7b7d8a01d7b25669812658e0004f3dd39f6d45bc6359183248e15d82136c DIST linux-2.4.33.tar.xz 25725956 SHA256 f5e58cc4b85cfc84accb284b9b65eec24ba637d6bacddc734948a8ca3ca75d4b SHA512 cc5b6ba5824471a81b80e973378a706882b10951ff4ff6c888e849fb5efff88cce20d2265ba5c8161605cbf87d1759851f9e4703720dd0ac339ec129985d4b0e WHIRLPOOL 7389d6adbaed5731d4f58fa6e1c3e58c65b326329c91a40ab75d50d8c5dc3c18f04aa90d30ff04bd9db90ed94079cd7efcef600bb4e000595446722bdfbf642d DIST linux-2.4.36.tar.xz 25535188 SHA256 7850a814e5be336214b9e4b68cfcf3d03c8061b4d7b9926aac65b968435fcfbd SHA512 e203ceebf97bd4228bb680ded39d6ebc801dd77eb82bafc63802e548849f5922b5c80462ba7e0564c04d40cc777414c2cefe57d3c0024b811277d6c2dddd38d2 WHIRLPOOL ba1452d09e97a52ff2b9003a46680beba399ac6d77f690c1b19c262903018f7933b8d048106a2cd1a626c1293e4a515651ca2608365f73d14befc8faf45f7090 DIST patch-2.4.33.3.xz 5796 SHA256 89fe1dbf5cb9513b73f9825328765c342f6054186f0b41c08b8612a6a4ad7a90 SHA512 9f6b9118f4888b34b7b20ba0d6c9ffaba547dea0f7cc93019117ad94411d9008e5513367e7da23a19e347f63ef823a493972850edd69b140d528454fa65124c9 WHIRLPOOL 75a06efb368fe5268fc0e6a625a4144dacf0e4ad3d4b6a4128e6e483dd809d294f406d96314b60138365d35397799f3d2c507f3e4eefdce17f7732eac565e55f diff --git a/sys-kernel/linux-headers/linux-headers-4.2.ebuild b/sys-kernel/linux-headers/linux-headers-4.2.ebuild new file mode 100644 index 0000000..f0e3954 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-4.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 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} +} + +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 +}