summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2004-08-31 13:06:55 +0000
committerGuy Martin <gmsoft@gentoo.org>2004-08-31 13:06:55 +0000
commitfb522a8242f0d8c60f4db9c8891b9b2790dafdc6 (patch)
treef39114ac499402893d6160d50ecb502be274dc9c /sys-kernel/hppa-sources
parentBump x11-plugins/allin1 to version 0.5.0. Closes #61622 (Manifest recommit) (diff)
downloadgentoo-2-fb522a8242f0d8c60f4db9c8891b9b2790dafdc6.tar.gz
gentoo-2-fb522a8242f0d8c60f4db9c8891b9b2790dafdc6.tar.bz2
gentoo-2-fb522a8242f0d8c60f4db9c8891b9b2790dafdc6.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/Manifest2
-rw-r--r--sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.27_p44
-rw-r--r--sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild58
4 files changed, 70 insertions, 1 deletions
diff --git a/sys-kernel/hppa-sources/ChangeLog b/sys-kernel/hppa-sources/ChangeLog
index f3d29ec5f1b3..b021035e893d 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-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/ChangeLog,v 1.43 2004/08/09 23:24:56 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/ChangeLog,v 1.44 2004/08/31 13:06:55 gmsoft Exp $
+
+*hppa-sources-2.4.27_p4 (31 Aug 2004)
+
+ 31 Aug 2004; Guy Martin <gmsoft@gentoo.org> +hppa-sources-2.4.27_p4.ebuild:
+ Version bump.
09 Aug 2004; Guy Martin <gmsoft@gentoo.org>
+files/security-proc-cmdline.patch, hppa-sources-2.4.26_p7-r1.ebuild:
diff --git a/sys-kernel/hppa-sources/Manifest b/sys-kernel/hppa-sources/Manifest
index a2406d910ec3..e9c748c5a767 100644
--- a/sys-kernel/hppa-sources/Manifest
+++ b/sys-kernel/hppa-sources/Manifest
@@ -3,6 +3,7 @@ MD5 928282cf4a7e64fcd4ac3fe8a4f13102 ChangeLog 7472
MD5 502f3aee4aee214f710d0de28f255fa2 hppa-sources-2.4.26_p6-r1.ebuild 2294
MD5 ac36567dfb23d8bd364cbdb41d0a7b88 hppa-sources-2.4.26_p7.ebuild 2470
MD5 a77f4d3e69268faffc1b09bb4e4d3d7e hppa-sources-2.4.26_p7-r1.ebuild 2788
+MD5 3f4f583c8806a054e8fc54e1cdec07e2 hppa-sources-2.4.27_p4.ebuild 2080
MD5 d4a740ae56c2049247083af387a22a85 files/CAN-2004-0394.patch 350
MD5 0f66013f643c79c97fda489618a4e2fd files/CAN-2004-0535-2.4-e1000.patch 476
MD5 dc18e982f8149588a291956481885a8c files/CAN-2004-0495-2.4-sparse.patch 17549
@@ -12,3 +13,4 @@ MD5 cf38cb04fc6f56768ff1fce46e5da41c files/digest-hppa-sources-2.4.26_p7 302
MD5 60d25ff310fc6abfdce39ec9e47345af files/CAN-2004-685.patch 2809
MD5 fac8b9be67d8fe295b751bbf2b6c608c files/digest-hppa-sources-2.4.26_p7-r1 378
MD5 222e890035f4ad3152f0c2a625a9ea67 files/security-proc-cmdline.patch 693
+MD5 c449f3e3ac5fd27c7771268cb03ee5ae files/digest-hppa-sources-2.4.27_p4 302
diff --git a/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.27_p4 b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.27_p4
new file mode 100644
index 000000000000..ed0632124e01
--- /dev/null
+++ b/sys-kernel/hppa-sources/files/digest-hppa-sources-2.4.27_p4
@@ -0,0 +1,4 @@
+MD5 59a2e6fde1d110e2ffa20351ac8b4d9e linux-2.4.27.tar.bz2 30898453
+MD5 e6ee93aafa687932abd2c09fca43d4c3 patch-2.4.27-pa4.gz 727846
+MD5 010fe6b49e97365f12ce3f70376d5eb0 parisc-2.4.23-pa4-missing-ioctl-translations.diff 18091
+MD5 2758cec1dc37d4069a42fc7544599860 lasi-config-max-tag-queue-dep.patch 1455
diff --git a/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild b/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild
new file mode 100644
index 000000000000..a919e4f3f75c
--- /dev/null
+++ b/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hppa-sources/hppa-sources-2.4.27_p4.ebuild,v 1.1 2004/08/31 13:06:55 gmsoft Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="sources"
+inherit kernel eutils
+OKV="${PV/_p*/}"
+PATCH_LEVEL="${PV/${OKV}_p/}"
+EXTRAVERSION="-pa${PATCH_LEVEL}"
+[ ! "${PR}" = "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
+KV="${OKV}${EXTRAVERSION}"
+
+S=${WORKDIR}/linux-${KV}
+
+
+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${PATCH_LEVEL}.gz
+http://dev.gentoo.org/~gmsoft/patches/parisc-2.4.23-pa4-missing-ioctl-translations.diff http://dev.gentoo.org/~gmsoft/patches/lasi-config-max-tag-queue-dep.patch"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
+KEYWORDS="hppa -*"
+IUSE=""
+SLOT="${KV}"
+
+
+src_unpack() {
+ unpack linux-${OKV}.tar.bz2
+ mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV}
+ cd ${S}
+
+ einfo Applying ${OKV}-pa${PATCH_LEVEL}.gz
+ zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_LEVEL}.gz | patch -sp 1
+
+ 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!"
+ epatch ${DISTDIR}/lasi-config-max-tag-queue-dep.patch || die "Failed to patch lasi config max taq queue!"
+
+ kernel_universal_unpack
+}