diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-20 19:48:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-20 19:48:10 +0000 |
commit | 9e066f30afd74ab06093bf82d7c3fca27c0e9486 (patch) | |
tree | 8b03ed9fcfc5d8ae3476951d963ca2b625d3ee4e /sys-kernel/hppa-dev-sources | |
parent | ver bump (diff) | |
download | gentoo-2-9e066f30afd74ab06093bf82d7c3fca27c0e9486.tar.gz gentoo-2-9e066f30afd74ab06093bf82d7c3fca27c0e9486.tar.bz2 gentoo-2-9e066f30afd74ab06093bf82d7c3fca27c0e9486.zip |
old
Diffstat (limited to 'sys-kernel/hppa-dev-sources')
13 files changed, 0 insertions, 339 deletions
diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.0_p8 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.0_p8 deleted file mode 100644 index 03ae359826e9..000000000000 --- a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.0_p8 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278 -MD5 2ccef21bb15817e2e63119eed3a1ee11 patch-2.6.0-pa1.gz 153003 -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 -MD5 9021fb840e412200ed6cfd3a4f185529 patch-2.6.0-pa6-pa7.gz 2142 -MD5 3738687dd3a0fc0fef10bef85a039f33 patch-2.6.0-pa7-pa8.gz 2200 diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p1 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p1 deleted file mode 100644 index 1833606cd57d..000000000000 --- a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033 -MD5 f55cc24c0f06c2856896d2714a57c124 patch-2.6.1-pa1.gz 116966 diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p2 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p2 deleted file mode 100644 index ebe9f3e32ed2..000000000000 --- a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033 -MD5 f55cc24c0f06c2856896d2714a57c124 patch-2.6.1-pa1.gz 116966 -MD5 80666434d715bfe05e15d12a740c2ed4 patch-2.6.1-pa1-pa2.gz 1877 diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p8 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p8 deleted file mode 100644 index 8da7db0e678e..000000000000 --- a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.1_p8 +++ /dev/null @@ -1,8 +0,0 @@ -MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033 -MD5 40bc115d94c4289deda874f2f6f5f6af patch-2.6.1-pa1.gz 116967 -MD5 80666434d715bfe05e15d12a740c2ed4 patch-2.6.1-pa1-pa2.gz 1877 -MD5 f7517c1f0bb356cecab7a8d06921e842 patch-2.6.1-pa2-pa3.gz 15149 -MD5 d61d4a6c86972c52dc8cb2c80bf62cd2 patch-2.6.1-pa3-pa4.gz 5331 -MD5 24b3ffc288f746d0062cb3af4f7f671b patch-2.6.1-pa4-pa5.gz 12492 -MD5 45b9855e80a260f6c663eb732a67bb5d patch-2.6.1-pa5-pa7.gz 9669 -MD5 9fd0648fc03401a3e8a7085cfb91559b patch-2.6.1-pa7-pa8.gz 2982 diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.2_p3 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.2_p3 deleted file mode 100644 index 7bc8c238b80d..000000000000 --- a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.2_p3 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 2a745088acba366f22f8bd3e284a84d4 linux-2.6.2.tar.bz2 33899733 -MD5 bac25a0908ec16d834820b5ec289b2e7 patch-2.6.2-pa0.gz 149704 -MD5 093d9569f00e47f6a300cebf3a884e42 patch-2.6.2-pa0-pa1.gz 1635 -MD5 6e3ca3b359a39712c965ba1494f1620d patch-2.6.2-pa1-pa3.gz 1273 diff --git a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.2_p3-r1 b/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.2_p3-r1 deleted file mode 100644 index 7bc8c238b80d..000000000000 --- a/sys-kernel/hppa-dev-sources/files/digest-hppa-dev-sources-2.6.2_p3-r1 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 2a745088acba366f22f8bd3e284a84d4 linux-2.6.2.tar.bz2 33899733 -MD5 bac25a0908ec16d834820b5ec289b2e7 patch-2.6.2-pa0.gz 149704 -MD5 093d9569f00e47f6a300cebf3a884e42 patch-2.6.2-pa0-pa1.gz 1635 -MD5 6e3ca3b359a39712c965ba1494f1620d patch-2.6.2-pa1-pa3.gz 1273 diff --git a/sys-kernel/hppa-dev-sources/files/hppa-dev-sources-2.6.2_p3.munmap.patch b/sys-kernel/hppa-dev-sources/files/hppa-dev-sources-2.6.2_p3.munmap.patch deleted file mode 100644 index 47a199c870db..000000000000 --- a/sys-kernel/hppa-dev-sources/files/hppa-dev-sources-2.6.2_p3.munmap.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff -Naur 2.6.2/mm/mremap.c 2.6.3/mm/mremap.c ---- 2.6.2/mm/mremap.c 2004-02-18 03:29:48.000000000 +0100 -+++ 2.6.3/mm/mremap.c 2004-02-18 10:21:20.000000000 +0100 -@@ -135,15 +135,17 @@ - dst = alloc_one_pte_map(mm, new_addr); - if (src == NULL) - src = get_one_pte_map_nested(mm, old_addr); -- error = copy_one_pte(vma, old_addr, src, dst, &pte_chain); -- pte_unmap_nested(src); -- pte_unmap(dst); -- } else - /* -- * Why do we need this flush ? If there is no pte for -- * old_addr, then there must not be a pte for it as well. -+ * Since alloc_one_pte_map can drop and re-acquire -+ * page_table_lock, we should re-check the src entry... - */ -- flush_tlb_page(vma, old_addr); -+ if (src) { -+ error = copy_one_pte(vma, old_addr, src, -+ dst, &pte_chain); -+ pte_unmap_nested(src); -+ } -+ pte_unmap(dst); -+ } - spin_unlock(&mm->page_table_lock); - pte_chain_free(pte_chain); - out: -@@ -346,7 +348,9 @@ - if ((addr <= new_addr) && (addr+old_len) > new_addr) - goto out; - -- do_munmap(current->mm, new_addr, new_len); -+ ret = do_munmap(current->mm, new_addr, new_len); -+ if (ret) -+ goto out; - } - - /* -@@ -354,9 +358,11 @@ - * the unnecessary pages.. - * do_munmap does all the needed commit accounting - */ -- ret = addr; - if (old_len >= new_len) { -- do_munmap(current->mm, addr+new_len, old_len - new_len); -+ ret = do_munmap(current->mm, addr+new_len, old_len - new_len); -+ if (ret && old_len != new_len) -+ goto out; -+ ret = addr; - if (!(flags & MREMAP_FIXED) || (new_addr == addr)) - goto out; - old_len = new_len; diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.0_p8.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.0_p8.ebuild deleted file mode 100644 index 9e567f77f8ed..000000000000 --- a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.0_p8.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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.0_p8.ebuild,v 1.1 2004/01/08 23:57:03 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.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 - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild deleted file mode 100644 index b91cb18004df..000000000000 --- a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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.1_p1.ebuild,v 1.1 2004/01/12 21:42:57 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.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 - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.ebuild deleted file mode 100644 index a3fab6f4a255..000000000000 --- a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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.1_p2.ebuild,v 1.1 2004/01/14 15:45:05 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.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 - - kernel_universal_unpack -} diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p8.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p8.ebuild deleted file mode 100644 index 1d02ca9cb8cf..000000000000 --- a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.1_p8.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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.1_p8.ebuild,v 1.1 2004/01/21 10:58:40 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="1 2 3 4 5 7 8" -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 -} diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.2_p3-r1.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.2_p3-r1.ebuild deleted file mode 100644 index bdf5a290a359..000000000000 --- a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.2_p3-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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.2_p3-r1.ebuild,v 1.1 2004/02/18 19:13:49 plasmaroo 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="0 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.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 - - epatch ${FILESDIR}/${P}.munmap.patch || die "Failed to apply munmap patch!" - ARCH=parisc kernel_universal_unpack -} diff --git a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.2_p3.ebuild b/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.2_p3.ebuild deleted file mode 100644 index cacb671dd822..000000000000 --- a/sys-kernel/hppa-dev-sources/hppa-dev-sources-2.6.2_p3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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.2_p3.ebuild,v 1.1 2004/02/05 22:10:00 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="0 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.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 -} |