summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2004-01-12 21:43:13 +0000
committerGuy Martin <gmsoft@gentoo.org>2004-01-12 21:43:13 +0000
commit77d3c1bc1d9139f7b50041f5f6705ddae504d37b (patch)
tree2521eab5935550349f2697f3ed856d08834f6039 /sys-kernel/hppa-dev-sources
parent Version bump. (diff)
downloadgentoo-2-77d3c1bc1d9139f7b50041f5f6705ddae504d37b.tar.gz
gentoo-2-77d3c1bc1d9139f7b50041f5f6705ddae504d37b.tar.bz2
gentoo-2-77d3c1bc1d9139f7b50041f5f6705ddae504d37b.zip
Version bump.
Diffstat (limited to 'sys-kernel/hppa-dev-sources')
-rw-r--r--sys-kernel/hppa-dev-sources/ChangeLog7
-rw-r--r--sys-kernel/hppa-dev-sources/Manifest4
-rw-r--r--sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p12
-rw-r--r--sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild43
4 files changed, 53 insertions, 3 deletions
diff --git a/sys-kernel/hppa-dev-sources/ChangeLog b/sys-kernel/hppa-dev-sources/ChangeLog
index ebf6b2ba6ca4..e61982fd0177 100644
--- a/sys-kernel/hppa-dev-sources/ChangeLog
+++ b/sys-kernel/hppa-dev-sources/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/hppa-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-dev-sources/ChangeLog,v 1.1 2004/01/08 23:57:03 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-dev-sources/ChangeLog,v 1.2 2004/01/12 21:42:57 gmsoft Exp $
+
+*hppa-sources-2.6.1_p1 (12 Jan 2004°
+
+ 12 Jan 2004; Guy Martin <gmsoft@gentoo.org> hppa-sources-2.6.1_p1.ebuild :
+ Version bump.
*hppa-sources-2.6.0_p8 (09 Jan 2004)
diff --git a/sys-kernel/hppa-dev-sources/Manifest b/sys-kernel/hppa-dev-sources/Manifest
index 2f8157df5239..f702eb38947e 100644
--- a/sys-kernel/hppa-dev-sources/Manifest
+++ b/sys-kernel/hppa-dev-sources/Manifest
@@ -1,8 +1,8 @@
-MD5 4d7c821843b4aaf5887d0fc98e524ce9 ChangeLog 506
+MD5 8cbe78b3ddd4723e4b5e1d03f789e5e9 ChangeLog 638
MD5 f1b3ae515c1f32812ecbf25193148a90 metadata.xml 223
MD5 c96b4ac32a0c224e0e914b80aa2ceae6 hppa-dev-sources-2.6.0_beta11-r6.ebuild 1753
MD5 3cf241017aad72eb742a3ec6bad6a724 hppa-dev-sources-2.6.0_p8.ebuild 1718
-MD5 3cf241017aad72eb742a3ec6bad6a724 hppa-dev-sources-2.6.1_p1.ebuild 1718
+MD5 a173f33115e7c5c5d5374a4a2f1854d4 hppa-dev-sources-2.6.1_p1.ebuild 1718
MD5 5af6043f8c6369f9cf11e6129412a2cf files/digest-hppa-dev-sources-2.6.0_beta11-r6 432
MD5 1723dab352a9ff21751a6fac2e97870e files/digest-hppa-dev-sources-2.6.0_p8 585
MD5 505a2a7595e3ed3d31ae0016857e3a56 files/digest-hppa-dev-sources-2.6.1_p1 129
diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p1 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p1
new file mode 100644
index 000000000000..1833606cd57d
--- /dev/null
+++ b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p1
@@ -0,0 +1,2 @@
+MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033
+MD5 f55cc24c0f06c2856896d2714a57c124 patch-2.6.1-pa1.gz 116966
diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild
new file mode 100644
index 000000000000..b91cb18004df
--- /dev/null
+++ b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild,v 1.1 2004/01/12 21:42:57 gmsoft Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="sources"
+inherit kernel
+OKV="${PV/_p*/}"
+PATCH_LEVEL="${PV/${OKV}_p/}"
+KV=${OKV}-pa${PATCH_LEVEL}
+EXTRAVERSION="-pa${PATCH_LEVEL}"
+S=${WORKDIR}/linux-${KV}
+
+PATCH_SET="`seq 1 ${PATCH_LEVEL}`"
+PATCH_COUNT="$(( `echo ${PATCH_SET} | wc -w` - 1 ))"
+
+
+DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa`echo ${PATCH_SET} | awk '{ print $1 }'`.gz
+`for i in \`seq 1 ${PATCH_COUNT}\`; do echo http://ftp.parisc-linux.org/cvs/linux-2.6/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="${KV}"
+
+
+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 }'`.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
+ done
+
+ kernel_universal_unpack
+}