summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosch Pixa <darkspecter@gentoo.org>2004-01-09 16:04:22 +0000
committerBartosch Pixa <darkspecter@gentoo.org>2004-01-09 16:04:22 +0000
commit64df5d036da608a353929baea0eb1b5fc00746cf (patch)
tree2d3dc4d225fdcb51f700108e88f837e197ead213 /sys-kernel/ppc-development-sources
parentversion bump, added gcloop patch 20040102 (diff)
downloadhistorical-64df5d036da608a353929baea0eb1b5fc00746cf.tar.gz
historical-64df5d036da608a353929baea0eb1b5fc00746cf.tar.bz2
historical-64df5d036da608a353929baea0eb1b5fc00746cf.zip
version bump, added gcloop patch 20040102
Diffstat (limited to 'sys-kernel/ppc-development-sources')
-rw-r--r--sys-kernel/ppc-development-sources/Manifest4
-rw-r--r--sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.1-r12
-rw-r--r--sys-kernel/ppc-development-sources/ppc-development-sources-2.6.1-r1.ebuild97
3 files changed, 101 insertions, 2 deletions
diff --git a/sys-kernel/ppc-development-sources/Manifest b/sys-kernel/ppc-development-sources/Manifest
index ac683701b767..ecd6de51aca2 100644
--- a/sys-kernel/ppc-development-sources/Manifest
+++ b/sys-kernel/ppc-development-sources/Manifest
@@ -2,7 +2,7 @@ MD5 1c052e00eb39506aa1b54ec02045995a metadata.xml 504
MD5 5ec889f22b32e88f3fc102fd0c9039cd ppc-development-sources-2.6.0_beta9-r3.ebuild 3010
MD5 4fac9ddbde02bd6bf1578b514f264682 ppc-development-sources-2.6.0_beta9-r4.ebuild 3010
MD5 274d5422634214bb0a03d105104d4f9a ppc-development-sources-2.6.0_beta9-r5.ebuild 3010
-MD5 7cbe8fed244ad6a3e1527abf964eea8d ChangeLog 3419
+MD5 6d3c2198e9a513cbd5e0c4b7d999defc ChangeLog 3612
MD5 ba565792fff8cf2356c98c15b8bd89d8 ppc-development-sources-2.6.0-r1.ebuild 2972
MD5 e6fd094f536ae835bbfa08f9bebef3d7 ppc-development-sources-2.6.0-r2.ebuild 2972
MD5 c878d5cf647b1f33c1366328e606aab1 ppc-development-sources-2.6.0_beta10-r1.ebuild 3011
@@ -10,7 +10,7 @@ MD5 608078e776c1b748a5edfdca61b6173e ppc-development-sources-2.6.0_beta11-r1.ebu
MD5 f0ff6bca5c479dd54a0fcd8964f07b17 ppc-development-sources-2.6.0_beta11-r2.ebuild 3017
MD5 bdcf87fe68dbedbbfcd5a8a826aa83a4 ppc-development-sources-2.6.0_beta11-r3.ebuild 3011
MD5 eec7c07dbcbb383fd1da396c445ae08e ppc-development-sources-2.6.1_rc1-r1.ebuild 3049
-MD5 8fd3fad55db1015a0c9daac9225febf6 ppc-development-sources-2.6.1-r1.ebuild 3049
+MD5 11a31c85061269e7565af9caa8791962 ppc-development-sources-2.6.1-r1.ebuild 3047
MD5 82c462ec939a497add3a635d399298d9 files/digest-ppc-development-sources-2.6.0_beta9-r3 146
MD5 23355c925f3ea8c119c6dda82d6c8a68 files/digest-ppc-development-sources-2.6.0_beta9-r4 146
MD5 67b76c684bfe83b8eebe1e76defbbb8a files/digest-ppc-development-sources-2.6.0_beta9-r5 146
diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.1-r1 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.1-r1
new file mode 100644
index 000000000000..a3ee0dab4555
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.1-r1
@@ -0,0 +1,2 @@
+MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033
+MD5 06917edfb8e3c7431f316a2f4d8ebd10 patches-2.6.1-benh1.bz2 478443
diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.1-r1.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..cb83ec23509c
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.1-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.1-r1.ebuild,v 1.1 2004/01/09 16:04:13 darkspecter Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="sources"
+inherit kernel
+
+OKV="2.6.1"
+
+EXTRAVERSION="`echo ${PV}-${PR/r/benh} | \
+ sed -e 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`"
+
+KV=${PV}-${PR/r/benh}
+
+S=${WORKDIR}/linux-${KV}
+
+inherit eutils
+
+# What's in this kernel?
+
+# INCLUDED: 2.6 vanilla + benh bk snapshot
+
+DESCRIPTION="Full sources for the linux kernel 2.6 with benh's patchset"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2
+ mirror://gentoo/patches-${KV}.bz2"
+KEYWORDS="~ppc ppc64"
+RDEPEND="sys-apps/module-init-tools"
+SLOT=${KV}
+PROVIDE="virtual/linux-sources
+ virtual/alsa"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack linux-${OKV}.tar.bz2
+
+ mv linux-${OKV} ${PF}
+ cd ${PF}
+ bzcat ${DISTDIR}/patches-${KV}.bz2 | patch -p1 || die "patch failed"
+ find . -iname "*~" | xargs rm 2> /dev/null
+
+ epatch ${FILESDIR}/${PN}.CAN-2003-0985.patch || die "Failed to patch mremap() vulnerability!"
+
+ # Gentoo Linux uses /boot, so fix 'make install' to work properly
+ # also fix the EXTRAVERSION
+ mv Makefile Makefile.orig
+ sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
+ -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \
+ Makefile.orig >Makefile || die # test, remove me if Makefile ok
+ rm Makefile.orig
+
+ cd Documentation/DocBook
+ sed -e "s:db2:docbook2:g" Makefile > Makefile.new \
+ && mv Makefile.new Makefile
+
+ cd ${WORKDIR}/${PF}
+ #This is needed on > 2.5
+ MY_ARCH=${ARCH}
+ unset ARCH
+ #sometimes we have icky kernel symbols; this seems to get rid of them
+ make mrproper || die "make mrproper died"
+ ARCH=${MY_ARCH}
+
+}
+
+src_install() {
+ dodir /usr/src
+ echo ">>> Copying sources..."
+ mv ${WORKDIR}/* ${D}/usr/src
+}
+pkg_postinst() {
+ if [ ! -e ${ROOT}usr/src/linux ]
+ then
+ ln -sf ${PF} ${ROOT}/usr/src/linux
+ fi
+
+ ewarn "Please note that ptyfs support has been removed from devfs"
+ ewarn "in the later 2.6 kernels, and you have to compile it in now,"
+ ewarn "or else you will get errors when trying to open a pty."
+ ewarn "The option is File systems->Pseudo filesystems->/dev/pts"
+ ewarn "filesystem."
+ echo
+ ewarn "Also, note that you must compile in support for"
+ ewarn "input devices (Input device support->Input devices),"
+ ewarn "the virtual terminal (Character Devices->Virtual terminal),"
+ ewarn "and the vt_console (Character Devices->Support for console...)."
+ ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\""
+ ewarn "error."
+ echo
+ ewarn "DONT enable preempt as it's very broken on ppc currently, also"
+ ewarn "rivafb and the mac floppy drivers are both broken. NVidia"
+ ewarn "users should use the openfirmware framebuffer for now."
+ echo
+ einfo "Consult http://www.linux.org.uk/~davej/docs/post-halloween-2.6.txt"
+ einfo "for more info about the 2.6 series."
+ echo
+}