Permalink
Browse files

FL-783: linux-headers update

  • Loading branch information...
1 parent 45ca35b commit 09ad5e74ab834cd99beaa0f68720c87b20a207c2 @angryvincent angryvincent committed Sep 26, 2013
Showing with 54 additions and 2 deletions.
  1. +4 −2 sys-kernel/linux-headers/Manifest
  2. +50 −0 sys-kernel/linux-headers/linux-headers-3.11.ebuild
@@ -1,14 +1,16 @@
DIST gentoo-headers-2.6.32-1.tar.lzma 9736 SHA256 ab9518100f0e40b682ffdfd5eb4defa2f2ffc259d0ae7c3de771f5a3a621cabe
DIST gentoo-headers-2.6.39-1.tar.xz 3216 SHA256 bb16e4fb1c4566c01ff06fcdcd01c129d9920afac0c097923c08e37cc8e861a1
DIST gentoo-headers-3.1-2.tar.xz 3656 SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972
+DIST gentoo-headers-3.11-1.tar.xz 4228 SHA256 115cf7f7b7d5a92b1ff934dafeabafc8531def5c6dfb4addae81160e36505469 SHA512 2866fcb6d5b3cc7cf44685f70d375e7520aaaac1f894ae6eda925381e5d24dc26ee25827be9c6505366c089e6afd52b1e07b081fe5e956054f41683a150eac38 WHIRLPOOL bbd86d231b72ce35d9d4dbe6a15aa01115e5a4ccb5572cf5c4b96c99cfd9ba9c531554013bcd6cf21a3dd6364dbb70b380192f2492e065c4716e7a8a3c6fd72a
DIST gentoo-headers-3.2-3.tar.xz 3972 SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822
DIST gentoo-headers-3.3-2.tar.xz 34172 SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36
-DIST gentoo-headers-3.4-3.tar.xz 4332 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c
+DIST gentoo-headers-3.4-3.tar.xz 4332 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c SHA512 4f79f7d454e6e7b1ba34e84446ce0c60b8310896eb210493a587773442fe558a3a7ab293055540de9fec5f459131a8a605288fca1f6c39ae6e10c7f4aae5e28f WHIRLPOOL 5cb69daf183137b99ed64eb046d748a82c9a7f89ab5ac4053b23af72e926893ba3c1b369d3bb5a69beadb2f8ff1790bf3ec7c8541efd3982c405dadd788ad98e
DIST gentoo-headers-3.7-1.tar.xz 3212 SHA256 f07407df6577a1a544ed485e0285ad6adca66b516e4ff6af525f36ad2a6cece1 SHA512 d802cf3f3964a80ef2ffa3750139c0aa6b6520e78ec6eaa087532964a6a80999c937b8deb47ac76a250f649d8080308e8f5a5f33bb4859f3907d5dd41fede93f WHIRLPOOL be6aa3e709295d9a74841bf8fb4823ffe3019700ee9ac118b78bbcab50b60a3c404699e0a96267a9aeb71d6e7e62ed770ab5dbb0d8a0097a47f4b20cad663835
DIST gentoo-headers-base-2.6.32.tar.lzma 4181482 SHA256 ae1b8bc31770aeff999ec36d4f28eb96df4191a14c0d384bbcbe569fc2e3d620
DIST gentoo-headers-base-2.6.39.tar.xz 4689080 SHA256 ac7d11395bfe196e4da08e009d1b81494f1c4c1b4f08f5be7b002ed1c6669105
DIST gentoo-headers-base-3.1.tar.xz 4814816 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0
+DIST gentoo-headers-base-3.11.tar.xz 3664640 SHA256 09765c907425044efbc423e00b48ffa3a976a73ff9a71bb03139fa4ec924b240 SHA512 59ae911e9780e49954ce9671ef109537c90180c24c7eb6e639e8d4d2a4bec503d5c198cacfece4d203762a15ad69a11e05e22d31ea373deea4b9d7105047b513 WHIRLPOOL 67b64bc74321e36a1b125ed4db45df9a8af8acd4854cf51eadf4d8080c47c1a3ecc485758d518c5035ec2b14aa32ad69ec06ab0c670f117be02059c8005d011e
DIST gentoo-headers-base-3.2.tar.xz 4912432 SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675
DIST gentoo-headers-base-3.3.tar.xz 5065432 SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea
-DIST gentoo-headers-base-3.4.tar.xz 5115932 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154
+DIST gentoo-headers-base-3.4.tar.xz 5115932 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154 SHA512 2400cb99d275c6d3be8fa9d3e5a4e2e1db9377227b1ae561ac3511659f10c7d1dc667d5fd5b43b9acde8d69bd299273b03b2413a98de70e6f79f0df210cf8ee2 WHIRLPOOL 5d0039e1bfdea386c20d58e84a170c69db48876fc31c09843dd48583c4fc095d15cc19a353c162b709536c8893740175ba86dca5c4e7322c36fa036cc510e50b
DIST gentoo-headers-base-3.7.tar.xz 5322476 SHA256 6bd75073dd2565f87e3ae03e71a2f211146a50a935b998e3f8c670b825aa3fb0 SHA512 8f74730267e7a2e914f17ab6052b0512e88c80409908b7b598093871f8ab834dd3c453b149a02bded1421a420163769c87783f43351eccd5be614856b152d939 WHIRLPOOL 5d0527ef71b4983f046828e27abb92ccb935ad0a4d34e3aa1c0618d7f580a058b2ede73189280f56638e6bac3d522519b0aa0a4a087253b8418db863e7c0e02b
@@ -0,0 +1,50 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arm avr32 bfin cris frv hexagon hppa ia64 m68k metag mips 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="*"
+
+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
+ cd "${ED}"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ # hrm, build system sucks
+ find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+
+ # provided by libdrm (for now?)
+ rm -rf "${ED}"/$(kernel_header_destdir)/drm
+}
+
+src_test() {
+ emake ARCH=$(tc-arch-kernel) headers_check || die
+}

0 comments on commit 09ad5e7

Please sign in to comment.