summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2004-01-12 22:16:40 +0000
committerGuy Martin <gmsoft@gentoo.org>2004-01-12 22:16:40 +0000
commit5c929265bd520fef5bd898ddb978ff6b1451e944 (patch)
treef5d25197048445ee17eb0e7ea1aad9e3b0f6aa61 /sys-kernel/hppa-sources
parentVersion bump. (diff)
downloadgentoo-2-5c929265bd520fef5bd898ddb978ff6b1451e944.tar.gz
gentoo-2-5c929265bd520fef5bd898ddb978ff6b1451e944.tar.bz2
gentoo-2-5c929265bd520fef5bd898ddb978ff6b1451e944.zip
Version bump.
Diffstat (limited to 'sys-kernel/hppa-sources')
-rw-r--r--sys-kernel/hppa-sources/ChangeLog7
-rw-r--r--sys-kernel/hppa-sources/Manifest5
-rw-r--r--sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.24_p04
-rw-r--r--sys-kernel/hppa-sources/hppa-sources-2.4.24_p0.ebuild72
4 files changed, 85 insertions, 3 deletions
diff --git a/sys-kernel/hppa-sources/ChangeLog b/sys-kernel/hppa-sources/ChangeLog
index fa8f2ca7d893..f57211123a68 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.29 2004/01/07 10:53:44 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/ChangeLog,v 1.30 2004/01/12 22:16:21 gmsoft Exp $
+
+*hppa-sources-2.4.24_p0 (12 Jan 2004)
+
+ 12 Jan 2004; guy Martin <gmsoft@gentoo.org> hppa-sources-2.4.24_p0.ebuild :
+ Version bump.
*hppa-sources-2.4.23_p4-r2 (06 Jan 2004)
diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest
index 830b69c32240..bafa3fa18488 100644
--- a/sys-kernel/hppa-sources/Manifest
+++ b/sys-kernel/hppa-sources/Manifest
@@ -1,4 +1,4 @@
-MD5 5cfceb60f6d4dad3fad4f24bfbb6a02e ChangeLog 4277
+MD5 414799a4bc116f19d9ac77ba0dae7a0b ChangeLog 4411
MD5 51f36b719aef57601b622fca2df7dcac hppa-sources-2.4.21_p10.ebuild 1566
MD5 3e8a90325c2148e1a02cb477ff04ca87 hppa-sources-2.4.21_p13.ebuild 1884
MD5 9ef4b6ac1a5d02b0bfd4f49d7404511f hppa-sources-2.4.21_p2.ebuild 1087
@@ -14,7 +14,8 @@ MD5 1c944d786538d3fcc7664f02fc1dd624 hppa-sources-2.4.23_p3.ebuild 1052
MD5 05ed5731534e9423f109cbec1aa7e993 metadata.xml 223
MD5 bee2f1a7f9d66d115848622af53b8d33 hppa-sources-2.4.23_p4.ebuild 1714
MD5 a9410b4a56e7aba7dcbd9b48292279e8 hppa-sources-2.4.23_p4-r1.ebuild 2432
-MD5 a7d7460a7590f04a57d53ec3d88f7e7a hppa-sources-2.4.24_p0.ebuild 2648
+MD5 e257378b886ae58009aae7e42b9f12b4 hppa-sources-2.4.23_p4-r2.ebuild 2825
+MD5 fc0301cc5a5438f30f6a9b868403ea81 hppa-sources-2.4.24_p0.ebuild 2695
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.24_p0 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.24_p0
new file mode 100644
index 000000000000..5a8a354a453b
--- /dev/null
+++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.24_p0
@@ -0,0 +1,4 @@
+MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
+MD5 326be2ca68ac102caa62eac1bf61bb8e patch-2.4.24-pa0.gz 716114
+MD5 fd23b7f3af634c6e93151cb48cbde8d8 xfs-2.4.23_p4-hppa.patch.bz2 1188535
+MD5 010fe6b49e97365f12ce3f70376d5eb0 parisc-2.4.23-pa4-missing-ioctl-translations.diff 18091
diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.24_p0.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.24_p0.ebuild
new file mode 100644
index 000000000000..0236d7f22c6e
--- /dev/null
+++ b/sys-kernel/hppa-sources/hppa-sources-2.4.24_p0.ebuild
@@ -0,0 +1,72 @@
+# 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-sources/hppa-sources-2.4.24_p0.ebuild,v 1.1 2004/01/12 22:16:21 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/}"
+EXTRAVERSION="-pa${PATCH_LEVEL}"
+[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
+KV="${OKV}${EXTRAVERSION}"
+
+S=${WORKDIR}/linux-${KV}
+IUSE="xfs"
+
+PATCH_SET="`seq 0 ${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`
+xfs? ( http://dev.gentoo.org/~gmsoft/patches/xfs-2.4.23_p4-hppa.patch.bz2 )
+http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff"
+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
+
+ use xfs && epatch ${DISTDIR}/xfs-2.4.23_p4-hppa.patch.bz2
+
+ DEFCONFIG="${S}/arch/parisc/defconfig"
+
+ # Tweaks the default configuration
+
+ # Enable stuff
+ for i in CONFIG_SERIAL_NONSTANDARD CONFIG_PDC_CONSOLE CONFIG_DEVFS_FS \
+ CONFIG_USB CONFIG_USB_OHCI CONFIG_USB_HID CONFIG_USB_HIDINPUT \
+ CONFIG_CRC32 CONFIG_BLK_STATS CONFIG_TMPFS
+ do
+ sed -i -e "s/^.*${i}\ .*$//" "${DEFCONFIG}"
+ echo "${i}=y" >> "${DEFCONFIG}"
+ done
+
+ # Disable stuff
+ for i in CONFIG_HOTPLUG CONFIG_PARPORT CONFIG_BLK_DEV_RAM CONFIG_MD \
+ CONFIG_CRYPTO CONFIG_DEVPTS_FS
+ do
+ sed -i -e "s/^.*${i}=.*$/# ${i} is not set/" "${DEFCONFIG}"
+ done
+
+ epatch ${DISTDIR}/parisc-2.4.23-pa4-missing-ioctl-translations.diff || die "Failed to patch missing ioctls translations!"
+
+ kernel_universal_unpack
+}