summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-07-02 18:21:31 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-07-02 18:21:31 +0000
commitb99a2c2773fabf1e456b58cfefddf225f207dbde (patch)
treeb937a5992f419d7a0c4a03b4db785803caa501b9 /sys-kernel/linux-headers
parentFix intltool problems, and add missing gstreamer dep. See bug #138687. (diff)
downloadgentoo-2-b99a2c2773fabf1e456b58cfefddf225f207dbde.tar.gz
gentoo-2-b99a2c2773fabf1e456b58cfefddf225f207dbde.tar.bz2
gentoo-2-b99a2c2773fabf1e456b58cfefddf225f207dbde.zip
Version bump; fix #120971, #136941.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/ChangeLog7
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.6.179
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.17.ebuild52
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 56be70b0072b..4e127e789f52 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.183 2006/06/09 05:56:25 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.184 2006/07/02 18:21:31 plasmaroo Exp $
+
+*linux-headers-2.6.17 (02 Jul 2006)
+
+ 02 Jul 2006; <plasmaroo@gentoo.org> +linux-headers-2.6.17.ebuild:
+ Version bump; fix #120971, #136941.
09 Jun 2006; Markus Rothe <corsair@gentoo.org>
linux-headers-2.6.16.ebuild:
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.6.17 b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.17
new file mode 100644
index 000000000000..2be25887b824
--- /dev/null
+++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.17
@@ -0,0 +1,9 @@
+MD5 27d1229af569d6e4efa04f85e04f6518 gentoo-headers-2.6.17-1.tar.bz2 23444
+RMD160 61d33b5fa45d616b32949f7a46568a166be1ecf3 gentoo-headers-2.6.17-1.tar.bz2 23444
+SHA256 3fc1e41405604ff25cc50c1af69c499d4b4c58e3963f923bd6a4222c40b233f6 gentoo-headers-2.6.17-1.tar.bz2 23444
+MD5 0880556aadd7dc0b77258dcf4ea9b88b linux-2.6.11-m68k-headers.patch.bz2 12090
+RMD160 d3fc9886b6d2d17b01e37638fc831e1c29d7bdf7 linux-2.6.11-m68k-headers.patch.bz2 12090
+SHA256 0050ad1f1135289e004e45c952d81a58aa6bf947c57b6c31976ae518fb98be86 linux-2.6.11-m68k-headers.patch.bz2 12090
+MD5 37ddefe96625502161f075b9d907f21e linux-2.6.17.tar.bz2 41272919
+RMD160 26aad30c9a6610665c6c7d62401d79bf56a6a699 linux-2.6.17.tar.bz2 41272919
+SHA256 ab0f647d52f124958439517df9e1ae0efda90cdb851f59f522fa1749f1d87d58 linux-2.6.17.tar.bz2 41272919
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.17.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.17.ebuild
new file mode 100644
index 000000000000..68e9cf30322a
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.6.17.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.17.ebuild,v 1.1 2006/07/02 18:21:31 plasmaroo Exp $
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arm hppa m68k ia64 ppc ppc64 s390 sh sparc x86"
+inherit eutils multilib kernel-2
+detect_version
+
+PATCHES_V='1'
+
+SRC_URI="${KERNEL_URI} mirror://gentoo/linux-2.6.11-m68k-headers.patch.bz2
+ http://dev.gentoo.org/~plasmaroo/patches/kernel/gentoo-headers/gentoo-headers-${PV}-${PATCHES_V}.tar.bz2"
+KEYWORDS="-*"
+
+DEPEND="ppc? ( gcc64? ( sys-devel/gcc-powerpc64 ) )
+ sparc? ( gcc64? ( sys-devel/gcc-sparc64 ) )"
+
+UNIPATCH_LIST="${DISTDIR}/gentoo-headers-${PV}-${PATCHES_V}.tar.bz2"
+
+wrap_headers_fix() {
+ for i in $*
+ do
+ echo -n " $1/"
+ cd ${S}/include/$1
+ headers___fix $(find . -type f -print)
+ shift
+ done
+ echo
+}
+
+src_unpack() {
+ ABI=${KERNEL_ABI}
+ kernel-2_src_unpack
+
+ # This should always be used but it has a bunch of hunks which
+ # apply to include/linux/ which i'm unsure of so only use with
+ # m68k for now (dont want to break other arches)
+ [[ $(tc-arch) == "m68k" ]] && epatch "${DISTDIR}"/linux-2.6.11-m68k-headers.patch.bz2
+
+ # Get headers to bootstrap on PPC
+ if use ppc; then
+ cp arch/powerpc/configs/pmac32_defconfig arch/powerpc/configs/ppc_defconfig
+ fi
+
+ # Fixes ... all the wrapper magic is to keep sed from dumping
+ # ugly warnings about how it can't work on a directory.
+ cd "${S}"/include
+ einfo "Applying automated fixes:"
+ wrap_headers_fix asm-* linux
+ einfo "... done"
+}