diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-20 19:40:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-20 19:40:26 +0000 |
commit | 96fca41314c123797782ee895ab2c63a7d61f8d7 (patch) | |
tree | f85d3fe9ae28b7b6cdc40010528932d3ffbafe11 /sys-kernel/hppa-dev-sources | |
parent | Closing #41727 (Manifest recommit) (diff) | |
download | gentoo-2-96fca41314c123797782ee895ab2c63a7d61f8d7.tar.gz gentoo-2-96fca41314c123797782ee895ab2c63a7d61f8d7.tar.bz2 gentoo-2-96fca41314c123797782ee895ab2c63a7d61f8d7.zip |
ver bump
Diffstat (limited to 'sys-kernel/hppa-dev-sources')
-rw-r--r-- | sys-kernel/hppa-dev-sources/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.3_p0 | 2 | ||||
-rw-r--r-- | sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.3_p0.ebuild | 42 |
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-kernel/hppa-dev-sources/ChangeLog b/sys-kernel/hppa-dev-sources/ChangeLog index e67d947968de..3dfc8b6402a0 100644 --- a/sys-kernel/hppa-dev-sources/ChangeLog +++ b/sys-kernel/hppa-dev-sources/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/hppa-dev-sources # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-dev-sources/ChangeLog,v 1.7 2004/02/18 19:13:49 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-dev-sources/ChangeLog,v 1.8 2004/02/20 19:40:26 vapier Exp $ + +*hppa-dev-sources-2.6.3_p0 (20 Feb 2004) + + 20 Feb 2004; Mike Frysinger <vapier@gentoo.org> + Version bump. *hppa-dev-sources-2.6.2_p3-r1 (18 Feb 2004) diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.3_p0 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.3_p0 new file mode 100644 index 000000000000..39ab64009869 --- /dev/null +++ b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.3_p0 @@ -0,0 +1,2 @@ +MD5 6063a7e424355ec52e0cb559fb99034d linux-2.6.3.tar.bz2 34271622 +MD5 c5fcc7eaebe29b6ae04e4c2c043ef4b5 patch-2.6.3-pa0.gz 115080 diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.3_p0.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.3_p0.ebuild new file mode 100644 index 000000000000..b08d1f7a2bd3 --- /dev/null +++ b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.3_p0.ebuild @@ -0,0 +1,42 @@ +# 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.3_p0.ebuild,v 1.1 2004/02/20 19:40:26 vapier 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="${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 + + ARCH=parisc kernel_universal_unpack +} |