summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-09-16 12:26:45 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-09-16 12:26:45 +0000
commitd416b5976000cf66d943ce70c136f20639f11ee7 (patch)
treebf304ca30ea921cd240f035de6e996b987bfa223 /sys-kernel/linux-headers
parentFix gnome useflag switch, remove old snapshot. (diff)
downloadgentoo-2-d416b5976000cf66d943ce70c136f20639f11ee7.tar.gz
gentoo-2-d416b5976000cf66d943ce70c136f20639f11ee7.tar.bz2
gentoo-2-d416b5976000cf66d943ce70c136f20639f11ee7.zip
Fix #144082, #145512, #146407. Stable on x86.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/ChangeLog8
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.6.17-r19
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.17-r1.ebuild43
3 files changed, 59 insertions, 1 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 99bdf359e207..7de74454bf31 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,12 @@
# 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.197 2006/09/13 16:06:33 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.198 2006/09/16 12:26:45 plasmaroo Exp $
+
+*linux-headers-2.6.17-r1 (16 Sep 2006)
+
+ 16 Sep 2006; Tim Yamin <plasmaroo@gentoo.org>
+ +linux-headers-2.6.17-r1.ebuild:
+ Fix #144082, #145512, #146407. Stable on x86.
13 Sep 2006; Luca Barbato <lu_zero@gentoo.org>
linux-headers-2.6.16.ebuild:
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.6.17-r1 b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.17-r1
new file mode 100644
index 000000000000..f5d6e379aff3
--- /dev/null
+++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.17-r1
@@ -0,0 +1,9 @@
+MD5 9772f8174776f7aef5b4a14a58533da5 gentoo-headers-2.6.17-4.tar.bz2 24155
+RMD160 49e0cfbda99a5ab0e2dc456745be7e938706ec8e gentoo-headers-2.6.17-4.tar.bz2 24155
+SHA256 c221c68c3653d50e5bfeafb7da75ad0d5811586e1cf164b429b6c692e3e827b3 gentoo-headers-2.6.17-4.tar.bz2 24155
+MD5 09f2629e5918ebe21f54e610b6713f92 linux-2.6.17-m68k-headers.patch.bz2 18059
+RMD160 9594404d1c3ac50a6baa49c390f21ab729122df6 linux-2.6.17-m68k-headers.patch.bz2 18059
+SHA256 f0815e019ce814f21c6cc7ae8706538cabc23d1dfd177d0f7a91408ad85d5916 linux-2.6.17-m68k-headers.patch.bz2 18059
+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-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.17-r1.ebuild
new file mode 100644
index 000000000000..c6d011f8b9bd
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.6.17-r1.ebuild
@@ -0,0 +1,43 @@
+# 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-r1.ebuild,v 1.1 2006/09/16 12:26:45 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='4'
+
+SRC_URI="${KERNEL_URI} mirror://gentoo/linux-2.6.17-m68k-headers.patch.bz2
+ http://dev.gentoo.org/~plasmaroo/patches/kernel/gentoo-headers/gentoo-headers-${PV}-${PATCHES_V}.tar.bz2"
+KEYWORDS="-* x86"
+
+DEPEND="ppc? ( gcc64? ( sys-devel/gcc-powerpc64 ) )
+ sparc? ( gcc64? ( sys-devel/gcc-sparc64 ) )"
+
+UNIPATCH_LIST="${DISTDIR}/linux-2.6.17-m68k-headers.patch.bz2
+ ${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
+
+ # 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"
+}