summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-08-21 22:59:47 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-08-21 22:59:47 +0000
commita1b36521338d29c305a64d136574abe637ba2418 (patch)
tree6b0c288afad26a0b9e35dec8307c896e41a2189e /sys-kernel
parentVersion bump. (diff)
downloadhistorical-a1b36521338d29c305a64d136574abe637ba2418.tar.gz
historical-a1b36521338d29c305a64d136574abe637ba2418.tar.bz2
historical-a1b36521338d29c305a64d136574abe637ba2418.zip
Version bump.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/hppa-sources/Manifest4
-rw-r--r--sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.21_p137
-rw-r--r--sys-kernel/hppa-sources/hppa-sources-2.4.21_p13.ebuild51
3 files changed, 60 insertions, 2 deletions
diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest
index 0c38d30ae147..5b485e86e508 100644
--- a/sys-kernel/hppa-sources/Manifest
+++ b/sys-kernel/hppa-sources/Manifest
@@ -1,11 +1,11 @@
-MD5 b04007b8ccd57e23772245a01d46d50b ChangeLog 2387
+MD5 e164ff17b79678077428b4523ba6d02e ChangeLog 2516
MD5 bedeb0e3a3651d8ba213a8b0a99a72e7 hppa-sources-2.4.21_p2.ebuild 1095
MD5 fc62da6d9160921fa9d8002c44dbb547 hppa-sources-2.4.21_p6.ebuild 1095
MD5 3737f25e505457525feb06e460f91790 hppa-sources-2.4.21_p7.ebuild 1095
MD5 2ff9de45472bbc0b821ca1af8dec454e hppa-sources-2.4.21_p8.ebuild 1498
MD5 ede15d1dc00b4ab56374f197ab3c9b04 hppa-sources-2.4.21_p9.ebuild 1574
MD5 4f813c843aeead2bc983383a932ea109 hppa-sources-2.4.21_p10.ebuild 1575
-MD5 feff753daa8805d3855be0633e14234c hppa-sources-2.4.21_p13.ebuild 1892
+MD5 bc96cc48617b41a35207508dcf2ebe99 hppa-sources-2.4.21_p13.ebuild 1892
MD5 605092c92ae7fda21bdfc646556c3318 files/digest-hppa-sources-2.4.21_p2 136
MD5 b2a01f9d9202ffe4b10185dcc41f55ec files/digest-hppa-sources-2.4.21_p6 136
MD5 9713ddfd2816df19fe5a221d409997d6 files/digest-hppa-sources-2.4.21_p7 136
diff --git a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.21_p13 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.21_p13
new file mode 100644
index 000000000000..67a04970f9fd
--- /dev/null
+++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.21_p13
@@ -0,0 +1,7 @@
+MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733
+MD5 7ba65d0bf885ab820235c8234fbccb44 patch-2.4.21-pa7.diff.gz 688086
+MD5 d23ac4f2d5e20cf3dbebe838ebe40fb8 patch-2.4.21-pa7-pa8.gz 5027
+MD5 6444f68f190a716185067ebb5af97669 patch-2.4.21-pa8-pa9.gz 471
+MD5 bc3f046435a9525f9ce1dd70cc64872d patch-2.4.21-pa9-pa10.gz 2424
+MD5 1a070818974be3a84d5482c955ac6325 patch-2.4.21-pa10-pa11.gz 621
+MD5 dfba1870f2f67ede51ae4d8008b52020 patch-2.4.21-pa11-pa13.gz 1052
diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.21_p13.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.21_p13.ebuild
new file mode 100644
index 000000000000..dda7b8c848ad
--- /dev/null
+++ b/sys-kernel/hppa-sources/hppa-sources-2.4.21_p13.ebuild
@@ -0,0 +1,51 @@
+# 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.21_p13.ebuild,v 1.1 2003/08/21 22:59:36 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="`seq 7 11` `seq 13 ${PATCH_LEVEL}`"
+PATCH_COUNT="$(( `echo ${PATCH_SET} | wc -w` - 1 ))"
+
+
+DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
+SRC_URI="http://www.kernel.org/pub/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 }'`.diff.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 }'`.diff.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
+
+ einfo Please ignore any "Hunk failed" above error if any
+
+ kernel_universal_unpack
+}