From 62a28471053c17c222718ad1d8f375228ceffc13 Mon Sep 17 00:00:00 2001 From: Guy Martin Date: Wed, 19 Nov 2003 05:01:03 +0000 Subject: Version bump. Should fix some segfault. --- sys-kernel/hppa-sources/Manifest | 4 +- .../files/digest-hppa-sources-2.4.22_p17 | 13 ++++++ .../hppa-sources/hppa-sources-2.4.22_p17.ebuild | 50 ++++++++++++++++++++++ 3 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p17 create mode 100644 sys-kernel/hppa-sources/hppa-sources-2.4.22_p17.ebuild (limited to 'sys-kernel/hppa-sources') diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest index 531e44454b8c..ec342080068f 100644 --- a/sys-kernel/hppa-sources/Manifest +++ b/sys-kernel/hppa-sources/Manifest @@ -1,4 +1,4 @@ -MD5 d22ef69e320471432c33a4b8e2bdc456 ChangeLog 2931 +MD5 23fbfad7017570de095b26abd001fc3c ChangeLog 3092 MD5 622e8f2314c5ea410458584582a6e460 hppa-sources-2.4.21_p10.ebuild 1561 MD5 0758f55b4873a3d88c96aec4952597c3 hppa-sources-2.4.21_p13.ebuild 1879 MD5 38b00b5d2411620e0ff2f40b7f3228f6 hppa-sources-2.4.21_p2.ebuild 1082 @@ -9,7 +9,7 @@ MD5 a6ee3f76c9292211bafbc08ab583b3ce hppa-sources-2.4.21_p9.ebuild 1560 MD5 09f6accca0f7d64509ba9c0ceb968229 hppa-sources-2.4.22_p10.ebuild 1787 MD5 a7731136711ea8a34621c9247dece54a hppa-sources-2.4.22_p6.ebuild 1795 MD5 73163d13e15653d51ad7bff9a63b3bd2 hppa-sources-2.4.22_p13.ebuild 1798 -MD5 9de694b18003b2e94e04a04fdcedd24e hppa-sources-2.4.22_p17.ebuild 1798 +MD5 1bc846ec80d7326ccec79817836d8242 hppa-sources-2.4.22_p17.ebuild 1798 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_p17 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p17 new file mode 100644 index 000000000000..3975d0dfadda --- /dev/null +++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.22_p17 @@ -0,0 +1,13 @@ +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 +MD5 6617f7054e2e24c753f53a09dbfdbec3 patch-2.4.22-pa10-pa11.gz 2184 +MD5 76cd5f3048f981295f4a4700c64edbc0 patch-2.4.22-pa11-pa12.gz 553 +MD5 7c9ca48aab3bb97c249be35b31bd45b8 patch-2.4.22-pa12-pa13.gz 2741 +MD5 3d7c506efc5fe75f8a5d9bb0a26bd622 patch-2.4.22-pa13-pa14.gz 1342 +MD5 2463dc089bfe025d586bcc233f2ad9d2 patch-2.4.22-pa14-pa15.gz 1040 +MD5 1c3386a0f3023d8b92aef9fa903048bb patch-2.4.22-pa15-pa16.gz 1754 +MD5 bc98a277e16ae74edb9049af23488583 patch-2.4.22-pa16-pa17.gz 1124 diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.22_p17.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.22_p17.ebuild new file mode 100644 index 000000000000..cd29e21a0fcb --- /dev/null +++ b/sys-kernel/hppa-sources/hppa-sources-2.4.22_p17.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_p17.ebuild,v 1.1 2003/11/19 05:00:33 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 `seq 10 17`" +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.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 +} -- cgit v1.2.3-65-gdbad