From 2e11c88eaeae6dfc669ae9d9b1d4dd8b700259b1 Mon Sep 17 00:00:00 2001 From: Guy Martin Date: Thu, 18 Dec 2003 19:17:26 +0000 Subject: New version. Alignement fix. --- sys-kernel/hppa-sources/ChangeLog | 7 +++- sys-kernel/hppa-sources/Manifest | 4 +- .../files/digest-hppa-sources-2.4.23_p4 | 5 +++ .../hppa-sources/hppa-sources-2.4.23_p4.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.23_p4 create mode 100644 sys-kernel/hppa-sources/hppa-sources-2.4.23_p4.ebuild (limited to 'sys-kernel/hppa-sources') diff --git a/sys-kernel/hppa-sources/ChangeLog b/sys-kernel/hppa-sources/ChangeLog index ec01e6c74ea0..545c39f1061e 100644 --- a/sys-kernel/hppa-sources/ChangeLog +++ b/sys-kernel/hppa-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-sources/ChangeLog,v 1.22 2003/12/05 20:43:59 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/ChangeLog,v 1.23 2003/12/18 19:17:19 gmsoft Exp $ + +*hppa-sources-2.4.23_p4 (18 Dec 2003) + + 18 Dec 2003; Guy Martin hppa-sources-2.4.23_p4.ebuild : + New version. Alignement fix. *hppa-sources-2.4.23_p3 (5 Dec 2003) diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest index dceecb1f724c..763a10655846 100644 --- a/sys-kernel/hppa-sources/Manifest +++ b/sys-kernel/hppa-sources/Manifest @@ -1,4 +1,4 @@ -MD5 da01778b1193cff73e9da2c336b87af2 ChangeLog 3405 +MD5 08405b04278ea71edabd986c1c4ff35b ChangeLog 3554 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 @@ -12,7 +12,7 @@ MD5 6bdfbb6a1254cd02158e028a37e5266f hppa-sources-2.4.22_p17.ebuild 1874 MD5 a7731136711ea8a34621c9247dece54a hppa-sources-2.4.22_p6.ebuild 1795 MD5 d2c27c55a1aa36cf5f88533bd8e252de hppa-sources-2.4.23_p3.ebuild 1049 MD5 05ed5731534e9423f109cbec1aa7e993 metadata.xml 223 -MD5 32def7336a291a4378cadabecc71cee6 hppa-sources-2.4.23_p4.ebuild 1789 +MD5 eec55809d1047284ca33e9eebd18c15e hppa-sources-2.4.23_p4.ebuild 1711 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.23_p4 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.23_p4 new file mode 100644 index 000000000000..e058059029b3 --- /dev/null +++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.23_p4 @@ -0,0 +1,5 @@ +MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609 +MD5 e3d60ede46a72bfed58d7e6b3a34bd0c patch-2.4.23-pa1.gz 715027 +MD5 d1ef1d7ef6d68bee06aae58c824f82bc patch-2.4.23-pa1-pa2.gz 4141 +MD5 255e3de06190a68e71ebd960a51c53a8 patch-2.4.23-pa2-pa3.gz 919 +MD5 498c36aba7ea1e20436f83609867a9dd patch-2.4.23-pa3-pa4.gz 443 diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.23_p4.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.23_p4.ebuild new file mode 100644 index 000000000000..49410738b0f5 --- /dev/null +++ b/sys-kernel/hppa-sources/hppa-sources-2.4.23_p4.ebuild @@ -0,0 +1,43 @@ +# 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.23_p4.ebuild,v 1.1 2003/12/18 19:17:19 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.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