diff options
author | Guy Martin <gmsoft@gentoo.org> | 2003-09-29 13:07:20 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2003-09-29 13:07:20 +0000 |
commit | a7342488953413e77dce3d6966b4be22a1eb6b48 (patch) | |
tree | 0e82bc8778ee8a79a5103f587c4d035cd779a770 /sys-kernel/hppa-sources | |
parent | Version bump (diff) | |
download | historical-a7342488953413e77dce3d6966b4be22a1eb6b48.tar.gz historical-a7342488953413e77dce3d6966b4be22a1eb6b48.tar.bz2 historical-a7342488953413e77dce3d6966b4be22a1eb6b48.zip |
Version bump
Diffstat (limited to 'sys-kernel/hppa-sources')
-rw-r--r-- | sys-kernel/hppa-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p10 | 6 | ||||
-rw-r--r-- | sys-kernel/hppa-sources/hppa-sources-2.4.22_p10.ebuild | 50 |
3 files changed, 58 insertions, 2 deletions
diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest index 6171e7874f98..bbddc97a9de4 100644 --- a/sys-kernel/hppa-sources/Manifest +++ b/sys-kernel/hppa-sources/Manifest @@ -1,4 +1,4 @@ -MD5 0be8edd4b76926990ee2ebe185a28fc0 ChangeLog 2662 +MD5 c7180e426ffc574a42703be1985eed05 ChangeLog 2797 MD5 1e3744c222c2f70420e3c838f23eda49 hppa-sources-2.4.21_p10.ebuild 1575 MD5 1c4fc0810448418aac81748630439a83 hppa-sources-2.4.21_p13.ebuild 1893 MD5 ade0a7515d5df27c7a0b85eee0a0e1d9 hppa-sources-2.4.21_p2.ebuild 1096 @@ -7,7 +7,7 @@ MD5 a02977c93f49011f2d4fa90b1ce58f43 hppa-sources-2.4.21_p7.ebuild 1096 MD5 d414dc1f863ecb364ba4178dfd1e831e hppa-sources-2.4.21_p8.ebuild 1499 MD5 e8b13c794cfa7c8d800b3a20fef1cd75 hppa-sources-2.4.21_p9.ebuild 1574 MD5 aee5360e47d20ea46579bd2d58b3d2c4 hppa-sources-2.4.22_p6.ebuild 1809 -MD5 3150d38f6149fe8621336c70af37379c hppa-sources-2.4.22_p10.ebuild 1800 +MD5 369f43fcedb162140f53fa380b21aa0a hppa-sources-2.4.22_p10.ebuild 1799 MD5 7743c939ccccf0343faed987e12b489b files/digest-hppa-sources-2.4.21_p10 334 MD5 306724fa77532e2a73c383f7322f1e56 files/digest-hppa-sources-2.4.21_p13 469 MD5 605092c92ae7fda21bdfc646556c3318 files/digest-hppa-sources-2.4.21_p2 136 diff --git a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p10 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p10 new file mode 100644 index 000000000000..30b7e0394cb7 --- /dev/null +++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p10 @@ -0,0 +1,6 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 f0f76a6a693d900e9c2425ee672a150a patch-2.4.22-pa3.gz 708958 +MD5 8c34003a098800bc0c1c17e92db3e8b7 patch-2.4.22-pa3-pa4.gz 914 +MD5 07316c6fe6c149f4b92033166fc0a7bd patch-2.4.22-pa4-pa6.gz 1185 +MD5 3f0ef9a23b3c4993b79fb7538aa4b686 patch-2.4.22-pa6-pa7.gz 4191 +MD5 b708ec44e5acb96deb81aacacdf5123c patch-2.4.22-pa7-pa10.gz 2546 diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.22_p10.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.22_p10.ebuild new file mode 100644 index 000000000000..f06115e98f1d --- /dev/null +++ b/sys-kernel/hppa-sources/hppa-sources-2.4.22_p10.ebuild @@ -0,0 +1,50 @@ +# 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-sources/hppa-sources-2.4.22_p10.ebuild,v 1.1 2003/09/29 13:07:02 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} + +# What's in this kernel? + +# INCLUDED: +# stock 2.4.20 kernel sources +# patches for hppa + +PATCH_SET="3 4 6 7 10" +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 }'`.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="${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 +} |