summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-12-27 00:49:49 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-12-27 00:49:49 +0000
commit2b6a4013639ddcdff60e1d5229d5d830b2c5975d (patch)
tree6015a34a051993f534348d5329fd510935fc4999 /sys-kernel/ppc-development-sources
parentAdded `sysctl.h' patch to 2.6.0 which should now remove any compilation probl... (diff)
downloadgentoo-2-2b6a4013639ddcdff60e1d5229d5d830b2c5975d.tar.gz
gentoo-2-2b6a4013639ddcdff60e1d5229d5d830b2c5975d.tar.bz2
gentoo-2-2b6a4013639ddcdff60e1d5229d5d830b2c5975d.zip
New Snapshot
Diffstat (limited to 'sys-kernel/ppc-development-sources')
-rw-r--r--sys-kernel/ppc-development-sources/ChangeLog8
-rw-r--r--sys-kernel/ppc-development-sources/Manifest4
-rw-r--r--sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0-r22
-rw-r--r--sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0-r2.ebuild95
4 files changed, 107 insertions, 2 deletions
diff --git a/sys-kernel/ppc-development-sources/ChangeLog b/sys-kernel/ppc-development-sources/ChangeLog
index d145ae6025f3..2033b1cea1ba 100644
--- a/sys-kernel/ppc-development-sources/ChangeLog
+++ b/sys-kernel/ppc-development-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/ppc-development-sources
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ChangeLog,v 1.12 2003/12/21 19:16:47 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ChangeLog,v 1.13 2003/12/27 00:49:48 lu_zero Exp $
+
+*ppc-development-sources-2.6.0-r2 (27 Dec 2003)
+
+ 27 Dec 2003; Luca Barbato <lu_zero@gentoo.org>
+ ppc-development-sources-2.6.0-r2.ebuild:
+ New Snapshot
*ppc-development-sources-2.6.0-r1 (21 Dec 2003)
diff --git a/sys-kernel/ppc-development-sources/Manifest b/sys-kernel/ppc-development-sources/Manifest
index a99a2716038a..001d206837eb 100644
--- a/sys-kernel/ppc-development-sources/Manifest
+++ b/sys-kernel/ppc-development-sources/Manifest
@@ -3,12 +3,14 @@ MD5 87fe5938b88c4497715b7af67cb58f01 ppc-development-sources-2.6.0_beta9-r3.ebui
MD5 daa56811a950ab03aeac0eb11686d799 ppc-development-sources-2.6.0-r1.ebuild 2963
MD5 bea5e662dc5dad0e755644f029d4a003 ppc-development-sources-2.6.0_beta11-r3.ebuild 3002
MD5 7a1b8b42adf73ddcd1580a8525d0d158 ppc-development-sources-2.6.0_beta11-r1.ebuild 3002
-MD5 7564106ce69783d94152fed6c742e773 ChangeLog 2312
+MD5 43f92b55beb59e60f553667c75e2894d ChangeLog 2469
MD5 1c052e00eb39506aa1b54ec02045995a metadata.xml 504
MD5 c2b8a765922ce2b4de4bf843058ad06b ppc-development-sources-2.6.0_beta10-r1.ebuild 3002
MD5 7db2e7683742a7c80cb723a88f3a94f4 ppc-development-sources-2.6.0_beta9-r4.ebuild 3003
+MD5 daa56811a950ab03aeac0eb11686d799 ppc-development-sources-2.6.0-r2.ebuild 2963
MD5 3e462dfe4d3a9d95ec43edc3f9045498 ppc-development-sources-2.6.0_beta11-r2.ebuild 3010
MD5 17d246e6d7366781c35bc702664ca234 files/digest-ppc-development-sources-2.6.0-r1 134
+MD5 b96c50e6586d2c6ae358ba83153c0edb files/digest-ppc-development-sources-2.6.0-r2 134
MD5 14fc5eb5e5d5099de26a4ce7d62f71c1 files/digest-ppc-development-sources-2.6.0_beta11-r1 148
MD5 67b76c684bfe83b8eebe1e76defbbb8a files/digest-ppc-development-sources-2.6.0_beta9-r5 146
MD5 2562356d9d52640bf176789d8904a97f files/digest-ppc-development-sources-2.6.0_beta10-r1 148
diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0-r2 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0-r2
new file mode 100644
index 000000000000..c8093e7fb0f3
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0-r2
@@ -0,0 +1,2 @@
+MD5 c9e73737002521a347d2e6617beb56cc linux-2.6.0.tar.bz2 33255278
+MD5 30e7b62d737760880e9b2e1766ce21d1 patches-2.6.0-benh2.bz2 436618
diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0-r2.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0-r2.ebuild
new file mode 100644
index 000000000000..9a839f6045d6
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2003 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.0-r2.ebuild,v 1.1 2003/12/27 00:49:48 lu_zero Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="sources"
+inherit kernel
+
+OKV=${PV/_beta/-test}
+
+EXTRAVERSION="`echo ${OKV}-${PR/r/benh} | \
+ sed -e 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`"
+
+KV=${OKV}-${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-${PV/_beta/-test}.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
+
+ # 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.codemonkey.org.uk/post-halloween-2.5.txt"
+ einfo "for more info about the 2.6 series."
+ echo
+}