summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-10-27 22:06:04 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-10-27 22:06:04 +0000
commitd512009f4faa8d1b8254b37668d627844bd14c69 (patch)
tree1274fca5e3efd14ce34807b0cffbc36967542150 /sys-kernel
parentNew hppa-headers for glibc-2.3.2. It also fix ntp-4.1.2 compilation problem. (diff)
downloadgentoo-2-d512009f4faa8d1b8254b37668d627844bd14c69.tar.gz
gentoo-2-d512009f4faa8d1b8254b37668d627844bd14c69.tar.bz2
gentoo-2-d512009f4faa8d1b8254b37668d627844bd14c69.zip
New hppa-headers for glibc-2.3.2. It also fix ntp-4.1.2 compilation problem.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/hppa-headers/ChangeLog7
-rw-r--r--sys-kernel/hppa-headers/Manifest4
-rw-r--r--sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.21_p137
-rw-r--r--sys-kernel/hppa-headers/hppa-headers-2.4.21_p13.ebuild49
4 files changed, 64 insertions, 3 deletions
diff --git a/sys-kernel/hppa-headers/ChangeLog b/sys-kernel/hppa-headers/ChangeLog
index c8296f8d1b37..63845bea9a37 100644
--- a/sys-kernel/hppa-headers/ChangeLog
+++ b/sys-kernel/hppa-headers/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/hppa-headers
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-headers/ChangeLog,v 1.4 2003/04/22 10:26:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-headers/ChangeLog,v 1.5 2003/10/27 22:05:56 gmsoft Exp $
+
+*hppa-headers-2.4.21_p13 (27 Oct 2003)
+
+ 27 Oct 2003; Guy Martin hppa-headers-2.4.21_p13.ebuild :
+ New hppa-headers for glibc-2.3.2. It also fix ntp-4.1.2 compilation problem.
*hppa-headers-2.4.20_p32 (03 Apr 2003)
diff --git a/sys-kernel/hppa-headers/Manifest b/sys-kernel/hppa-headers/Manifest
index 0d81fccc6182..8828f1e93156 100644
--- a/sys-kernel/hppa-headers/Manifest
+++ b/sys-kernel/hppa-headers/Manifest
@@ -1,5 +1,5 @@
-MD5 d7b12393eff5bab6d5e50c67c6b33ab5 ChangeLog 927
+MD5 28f4db2f1a72cc4595c7ed390ba953b2 ChangeLog 927
MD5 e4b964a4efa23858acef872869a71950 hppa-headers-2.4.20_p32.ebuild 1441
-MD5 42a0566dc88f8896a02beb3a47401c2b hppa-headers-2.4.21_p13.ebuild 1843
+MD5 906aac8ac8a23043bc2b83fdbef25d2a hppa-headers-2.4.21_p13.ebuild 1841
MD5 f72fae092451b4f00cda94fd96432a3d files/digest-hppa-headers-2.4.20_p32 137
MD5 306724fa77532e2a73c383f7322f1e56 files/digest-hppa-headers-2.4.21_p13 469
diff --git a/sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.21_p13 b/sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.21_p13
new file mode 100644
index 000000000000..67a04970f9fd
--- /dev/null
+++ b/sys-kernel/hppa-headers/files/digest-hppa-headers-2.4.21_p13
@@ -0,0 +1,7 @@
+MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733
+MD5 7ba65d0bf885ab820235c8234fbccb44 patch-2.4.21-pa7.diff.gz 688086
+MD5 d23ac4f2d5e20cf3dbebe838ebe40fb8 patch-2.4.21-pa7-pa8.gz 5027
+MD5 6444f68f190a716185067ebb5af97669 patch-2.4.21-pa8-pa9.gz 471
+MD5 bc3f046435a9525f9ce1dd70cc64872d patch-2.4.21-pa9-pa10.gz 2424
+MD5 1a070818974be3a84d5482c955ac6325 patch-2.4.21-pa10-pa11.gz 621
+MD5 dfba1870f2f67ede51ae4d8008b52020 patch-2.4.21-pa11-pa13.gz 1052
diff --git a/sys-kernel/hppa-headers/hppa-headers-2.4.21_p13.ebuild b/sys-kernel/hppa-headers/hppa-headers-2.4.21_p13.ebuild
new file mode 100644
index 000000000000..4cc9b26b4890
--- /dev/null
+++ b/sys-kernel/hppa-headers/hppa-headers-2.4.21_p13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-headers/hppa-headers-2.4.21_p13.ebuild,v 1.1 2003/10/27 22:05:58 gmsoft Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="headers"
+inherit kernel
+OKV="${PV/_p*/}"
+PATCH_LEVEL="${PV/${OKV}_p/}"
+KV=${OKV}-pa${PATCH_LEVEL}
+EXTRAVERSION="-pa${PATCH_LEVEL}"
+S=${WORKDIR}/linux-${KV}
+
+# What's in this kernel?
+
+# INCLUDED:
+# stock 2.4.20 kernel sources
+# patches for hppa
+
+PATCH_SET="`seq 7 11` `seq 13 ${PATCH_LEVEL}`"
+PATCH_COUNT="$(( `echo ${PATCH_SET} | wc -w` - 1 ))"
+
+
+DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa`echo ${PATCH_SET} | awk '{ print $1 }'`.diff.gz
+`for i in \`seq 1 ${PATCH_COUNT}\`; do echo http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa\`echo ${PATCH_SET} | awk \"{ print \\\\\$$i }\"\`-pa\`echo ${PATCH_SET} | awk \"{ print \\\\\$$((i + 1)) }\"\`.gz; done`"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
+KEYWORDS="~hppa -*"
+SLOT="0"
+
+
+src_unpack() {
+ unpack linux-${OKV}.tar.bz2
+ mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV}
+ cd ${S}
+
+ einfo Applying ${OKV}-pa`echo ${PATCH_SET} | awk '{ print $1 }'`
+ zcat ${DISTDIR}/patch-${OKV}-pa`echo ${PATCH_SET} | awk '{ print $1 }'`.diff.gz | patch -sp 1
+
+ for i in `seq 1 ${PATCH_COUNT}`
+ do
+ a=`echo ${PATCH_SET} | awk "{ print \\\$$i }"`
+ b=`echo ${PATCH_SET} | awk "{ print \\\$$((i + 1)) }"`
+ einfo Applying patch from ${OKV}-pa${a} to ${OKV}-pa${b}
+ zcat ${DISTDIR}/patch-${OKV}-pa${a}-pa${b}.gz | patch -sp 1 > /dev/null
+ done
+
+ kernel_universal_unpack
+}