summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-12-02 22:31:19 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-12-02 22:31:19 +0000
commit540cb0a303fe97a1caf1518865d4a993c14f4413 (patch)
tree1b25aeb1ac779352dacb3a618ad7a04e23bb6241 /sys-kernel/ppc-development-sources
parentnew version (diff)
downloadgentoo-2-540cb0a303fe97a1caf1518865d4a993c14f4413.tar.gz
gentoo-2-540cb0a303fe97a1caf1518865d4a993c14f4413.tar.bz2
gentoo-2-540cb0a303fe97a1caf1518865d4a993c14f4413.zip
new version
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_beta11-r12
-rw-r--r--sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r1.ebuild95
4 files changed, 106 insertions, 3 deletions
diff --git a/sys-kernel/ppc-development-sources/ChangeLog b/sys-kernel/ppc-development-sources/ChangeLog
index 15e9ef4d198e..2aa1c6e8dee3 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.7 2003/11/26 02:38:50 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-development-sources/ChangeLog,v 1.8 2003/12/02 22:31:09 lu_zero Exp $
+
+*ppc-development-sources-2.6.0_beta11-r1 (02 Dec 2003)
+
+ 02 Dec 2003; Luca Barbato <lu_zero@gentoo.org>
+ ppc-development-sources-2.6.0_beta11-r1.ebuild:
+ New version
*ppc-development-sources-2.6.0_beta10-r1 (26 Nov 2003)
diff --git a/sys-kernel/ppc-development-sources/Manifest b/sys-kernel/ppc-development-sources/Manifest
index 5faa6164898e..940057c2b3da 100644
--- a/sys-kernel/ppc-development-sources/Manifest
+++ b/sys-kernel/ppc-development-sources/Manifest
@@ -1,7 +1,7 @@
MD5 25107a6e72f6f07245c3b41022a68a40 ppc-development-sources-2.6.0_beta9-r5.ebuild 3003
MD5 87fe5938b88c4497715b7af67cb58f01 ppc-development-sources-2.6.0_beta9-r3.ebuild 3003
-MD5 c2b8a765922ce2b4de4bf843058ad06b ppc-development-sources-2.6.0_beta11-r1.ebuild 3002
-MD5 ce1579882c13ab823c21eda8ba7da8fd ChangeLog 1723
+MD5 7a1b8b42adf73ddcd1580a8525d0d158 ppc-development-sources-2.6.0_beta11-r1.ebuild 3002
+MD5 bac98f7269dd397b3f30fb11e326c3f0 ChangeLog 1723
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
diff --git a/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r1 b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r1
new file mode 100644
index 000000000000..9a1474509f9d
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/files/digest-ppc-development-sources-2.6.0_beta11-r1
@@ -0,0 +1,2 @@
+MD5 06ba5a7eeb924036633a7b33689b2c4f linux-2.6.0-test11.tar.bz2 33243689
+MD5 f6172ef29f40b0bd25b36d61a0426e00 patches-2.6.0-test11-benh1.bz2 328464
diff --git a/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r1.ebuild b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r1.ebuild
new file mode 100644
index 000000000000..fbf6e2fed7b9
--- /dev/null
+++ b/sys-kernel/ppc-development-sources/ppc-development-sources-2.6.0_beta11-r1.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_beta11-r1.ebuild,v 1.1 2003/12/02 22:31:09 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 development 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"
+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-beta ]
+ then
+ ln -sf linux-${KV} ${ROOT}/usr/src/linux-beta
+ fi
+
+ ewarn "Please note that ptyfs support has been removed from devfs"
+ ewarn "in the later 2.5.x 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 development series."
+ echo
+}