diff options
author | Guy Martin <gmsoft@gentoo.org> | 2004-01-14 15:45:38 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2004-01-14 15:45:38 +0000 |
commit | 5a60f9ad450def54d828a47b11d260d13cbb2b45 (patch) | |
tree | a1ece3301c8f613504dc39297a84d66d0a5e1aa1 /sys-kernel | |
parent | Version bump. (diff) | |
download | historical-5a60f9ad450def54d828a47b11d260d13cbb2b45.tar.gz historical-5a60f9ad450def54d828a47b11d260d13cbb2b45.tar.bz2 historical-5a60f9ad450def54d828a47b11d260d13cbb2b45.zip |
Version bump.
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/hppa-dev-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p2 | 3 | ||||
-rw-r--r-- | sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.ebuild | 43 |
3 files changed, 48 insertions, 2 deletions
diff --git a/sys-kernel/hppa-dev-sources/Manifest b/sys-kernel/hppa-dev-sources/Manifest index 98edc2e9dc0b..93d0dbbab4e2 100644 --- a/sys-kernel/hppa-dev-sources/Manifest +++ b/sys-kernel/hppa-dev-sources/Manifest @@ -1,9 +1,9 @@ -MD5 8cbe78b3ddd4723e4b5e1d03f789e5e9 ChangeLog 638 +MD5 a3011437d01202c3d4fb9b9875a1495b ChangeLog 802 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 a173f33115e7c5c5d5374a4a2f1854d4 hppa-dev-sources-2.6.1_p1.ebuild 1718 -MD5 a173f33115e7c5c5d5374a4a2f1854d4 hppa-dev-sources-2.6.1_p2.ebuild 1718 +MD5 ed6e51070038de209410e9ea1747fd78 hppa-dev-sources-2.6.1_p2.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_p2 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p2 new file mode 100644 index 000000000000..ebe9f3e32ed2 --- /dev/null +++ b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p2 @@ -0,0 +1,3 @@ +MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033 +MD5 f55cc24c0f06c2856896d2714a57c124 patch-2.6.1-pa1.gz 116966 +MD5 80666434d715bfe05e15d12a740c2ed4 patch-2.6.1-pa1-pa2.gz 1877 diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.ebuild new file mode 100644 index 000000000000..a3fab6f4a255 --- /dev/null +++ b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.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_p2.ebuild,v 1.1 2004/01/14 15:45:05 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 +} |