diff options
author | Guy Martin <gmsoft@gentoo.org> | 2003-12-30 14:50:56 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2003-12-30 14:50:56 +0000 |
commit | bb07a197f3593a04a010d3eaa00d5deaa47f4112 (patch) | |
tree | 6e75c406522c1a7203db309bada3106e328e1da3 /sys-kernel/development-sources | |
parent | Added hppa support (2.6.0-pa6). (diff) | |
download | historical-bb07a197f3593a04a010d3eaa00d5deaa47f4112.tar.gz historical-bb07a197f3593a04a010d3eaa00d5deaa47f4112.tar.bz2 historical-bb07a197f3593a04a010d3eaa00d5deaa47f4112.zip |
Added hppa support (2.6.0-pa6).
Diffstat (limited to 'sys-kernel/development-sources')
3 files changed, 30 insertions, 4 deletions
diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest index 344b8414e623..7f205f56d437 100644 --- a/sys-kernel/development-sources/Manifest +++ b/sys-kernel/development-sources/Manifest @@ -1,6 +1,6 @@ -MD5 3c6e4e017e518f78f6eed5a63ce7965e ChangeLog 12032 +MD5 49c841c9458569f9f12f529be371df72 ChangeLog 12029 MD5 1ee67f582ee9017bacb60413d4d88efb development-sources-2.6.0_beta11.ebuild 4926 -MD5 326d40e5f2206c09bcf66fe57eb36c89 development-sources-2.6.0.ebuild 5111 +MD5 87cd206a20fe9e2afe5d73a7878723b0 development-sources-2.6.0.ebuild 5108 MD5 3b4016ecfb9d8924b33cf582f96c9cbe development-sources-2.6.0_beta7.ebuild 3276 MD5 854abf2bdb617fe8c7de18312a60bb85 metadata.xml 442 MD5 c8d4422ae4c4145498a38ba24574efeb files/digest-development-sources-2.6.0_beta11 360 diff --git a/sys-kernel/development-sources/development-sources-2.6.0.ebuild b/sys-kernel/development-sources/development-sources-2.6.0.ebuild index 88aeb7d31b66..02b0e62feb1c 100644 --- a/sys-kernel/development-sources/development-sources-2.6.0.ebuild +++ b/sys-kernel/development-sources/development-sources-2.6.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.0.ebuild,v 1.1 2003/12/18 05:03:11 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.0.ebuild,v 1.2 2003/12/30 14:50:42 gmsoft Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. #Original Kernel Version before Patches @@ -28,11 +28,16 @@ DESCRIPTION="Full sources for the Development Branch of the Linux kernel" [ ! ${GPV} == 0 ] && GPATCH_URI="mirror://gentoo/distfiles/genpatches-2.6-${GPV}.tar.bz2" [ -z ${KV/*-bk*/} ] && PATCH_URI="http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-${KV}.bz2" +HPPA_PATCH_SET="0 1 2 3 4 5 6" +HPPA_PATCH_COUNT="$(( `echo ${HPPA_PATCH_SET} | wc -w` - 1 ))" +PATCH_URI="http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa`echo ${HPPA_PATCH_SET} | awk '{ print $1 }'`.gz +`for i in \`seq 1 ${HPPA_PATCH_COUNT}\`; do echo http://ftp.parisc-linux.org/cvs/linux-2.6/patch-${OKV}-pa\`echo ${HPPA_PATCH_SET} | awk \"{ print \\\\\$$i }\"\`-pa\`echo ${HPPA_PATCH_SET} | awk \"{ print \\\\\$$((i + 1)) }\"\`.gz; done`" + SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 ${PATCH_URI} ${GPATCH_URI}" HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" LICENSE="GPL-2" SLOT="${KV}" -KEYWORDS="-* x86 amd64" +KEYWORDS="-* x86 amd64 hppa" PROVIDE="virtual/linux-sources virtual/alsa" if [ $ETYPE = "sources" ] && [ -z "`use build`" ] @@ -66,6 +71,20 @@ src_unpack() { KV="${KV}-patchset-${GPV}" cd ${WORKDIR} fi + if [ "${ARCH}" = "hppa" ] + then + cd ${S} + einfo Applying ${OKV}-pa`echo ${HPPA_PATCH_SET} | awk '{ print $1 }'` + zcat ${DISTDIR}/patch-${OKV}-pa`echo ${HPPA_PATCH_SET} | awk '{ print $1 }'`.gz | patch -sp 1 + for i in `seq 1 ${HPPA_PATCH_COUNT}` + do + a=`echo ${HPPA_PATCH_SET} | awk "{ print \\\$$i }"` + b=`echo ${HPPA_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 + fi + # move to appropriate src dir if [ ! ${KV} == ${OKV} ] diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.6.0 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0 index 7c2469b8a392..cb6114de3855 100644 --- a/sys-kernel/development-sources/files/digest-development-sources-2.6.0 +++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0 @@ -1 +1,8 @@ MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 +MD5 256919c11997408de6e41e86daf33967 patch-2.6.0-pa0.gz 152930 +MD5 6361ad3c3556443e7a49c9e1b98d590e patch-2.6.0-pa0-pa1.gz 784 +MD5 64106243d6f47469d90eb6866b6fc04a patch-2.6.0-pa1-pa2.gz 1962 +MD5 9b7f0527a03449e8544d6dd8a4fcca6f patch-2.6.0-pa2-pa3.gz 11242 +MD5 1a229c8f91b755980641f037e6c440ed patch-2.6.0-pa3-pa4.gz 1261 +MD5 91f428bbb74f23e2f970dad06586503a patch-2.6.0-pa4-pa5.gz 2867 +MD5 7885b60425aa02a394e2e827bf9ccc6b patch-2.6.0-pa5-pa6.gz 1488 |