summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston A. Elder <prez@gentoo.org>2003-08-20 14:40:13 +0000
committerPreston A. Elder <prez@gentoo.org>2003-08-20 14:40:13 +0000
commitc60621cb3f1442ff21e6ca202b0f44a94b501f08 (patch)
treea0566465ff966d25c81c3ee1758f66bbabd486b6 /sys-kernel/development-sources
parentmarked as stable (diff)
downloadgentoo-2-c60621cb3f1442ff21e6ca202b0f44a94b501f08.tar.gz
gentoo-2-c60621cb3f1442ff21e6ca202b0f44a94b501f08.tar.bz2
gentoo-2-c60621cb3f1442ff21e6ca202b0f44a94b501f08.zip
Added -bk8
Diffstat (limited to 'sys-kernel/development-sources')
-rw-r--r--sys-kernel/development-sources/ChangeLog8
-rw-r--r--sys-kernel/development-sources/Manifest2
-rw-r--r--sys-kernel/development-sources/development-sources-2.6.0_beta3-r8.ebuild113
-rw-r--r--sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r82
4 files changed, 124 insertions, 1 deletions
diff --git a/sys-kernel/development-sources/ChangeLog b/sys-kernel/development-sources/ChangeLog
index 85f6e9ac04d2..660b222013e4 100644
--- a/sys-kernel/development-sources/ChangeLog
+++ b/sys-kernel/development-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/development-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.33 2003/08/19 22:21:09 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.34 2003/08/20 14:40:13 prez Exp $
+
+*development-sources-2.6.0_beta3-r8 (20 Aug 2003)
+
+ 20 Aug 2003; Preston A. Elder <prez@gentoo.org>;
+ development-sources-2.6.0_beta3-r8.ebuild:
+ bk bump
*development-sources-2.6.0_beta3-r7 (19 Aug 2003)
diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest
index b8709b969568..e2d57c18d397 100644
--- a/sys-kernel/development-sources/Manifest
+++ b/sys-kernel/development-sources/Manifest
@@ -31,3 +31,5 @@ MD5 227f2c2422f5382be32230d29f265b8a files/digest-development-sources-2.5.72 67
MD5 1cc3d17b5b26440091bfd384b8d43371 files/digest-development-sources-2.5.73 67
MD5 f4493f109865b4224bafa9380559fac3 files/digest-development-sources-2.5.74 67
MD5 879821b31e600ad5815cfabcb6ae1152 files/digest-development-sources-2.5.75 67
+MD5 3d25b43e2bad146dfee3ac9a7a186d2f development-sources-2.6.0_beta3-r8.ebuild 3286
+MD5 ee03bf2bc399597a51976774177ad2f3 files/digest-development-sources-2.6.0_beta3-r8 142
diff --git a/sys-kernel/development-sources/development-sources-2.6.0_beta3-r8.ebuild b/sys-kernel/development-sources/development-sources-2.6.0_beta3-r8.ebuild
new file mode 100644
index 000000000000..f899eb4964e3
--- /dev/null
+++ b/sys-kernel/development-sources/development-sources-2.6.0_beta3-r8.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.0_beta3-r8.ebuild,v 1.1 2003/08/20 14:40:13 prez Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+OKV=${PV/_beta/-test}
+
+PKV=${PF/_beta/-test}
+PKV=${PKV/-r/-bk}
+PKV=${PKV//${PN}-}
+
+KV=${PV/_beta/-test}
+
+S=${WORKDIR}/linux-${PKV}
+ETYPE="sources"
+
+IUSE="alsa"
+DESCRIPTION="Full sources for the Development Branch of the Linux kernel"
+PATCH_URI="http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-${PKV}.bz2"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 ${PATCH_URI}"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
+LICENSE="GPL-2"
+SLOT="${PKV}"
+KEYWORDS="-* ~x86"
+PROVIDE="virtual/linux-sources"
+[ -n "$(use alsa)" ] && PROVIDE="${PROVIDE} virtual/alsa"
+
+if [ $ETYPE = "sources" ] && [ -z "`use build`" ]
+then
+ #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs.
+ DEPEND=">=sys-devel/binutils-2.11.90.0.31"
+ RDEPEND=">=sys-libs/ncurses-5.2 dev-lang/perl
+ sys-devel/make
+ sys-apps/module-init-tools"
+fi
+
+[ -z "$LINUX_HOSTCFLAGS" ] && LINUX_HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack linux-${OKV}.tar.bz2
+
+ mv linux-${OKV} linux-${PKV}
+ cd ${S}
+ epatch ${DISTDIR}/patch-${PKV}.bz2
+
+ unset ARCH
+ #sometimes we have icky kernel symbols; this seems to get rid of them
+ make mrproper || die
+
+ #fix silly permissions in tarball
+ cd ${WORKDIR}
+ chown -R 0.0 *
+ chmod -R a+r-w+X,u+w *
+}
+
+src_compile() {
+ if [ "$ETYPE" = "headers" ]
+ then
+ yes "" | make oldconfig
+ echo "Ignore any errors from the yes command above."
+ fi
+}
+
+src_install() {
+ if [ "$ETYPE" = "sources" ]
+ then
+ dodir /usr/src
+ echo ">>> Copying sources..."
+ mv ${WORKDIR}/* ${D}/usr/src
+ else
+ #linux-headers
+ dodir /usr/include/linux
+ cp -ax ${S}/include/linux/* ${D}/usr/include/linux
+ rm -rf ${D}/usr/include/linux/modules
+ dodir /usr/include/asm
+ cp -ax ${S}/include/asm-i386/* ${D}/usr/include/asm
+ fi
+}
+
+pkg_preinst() {
+ if [ "$ETYPE" = "headers" ]
+ then
+ [ -L ${ROOT}usr/include/linux ] && rm ${ROOT}usr/include/linux
+ [ -L ${ROOT}usr/include/asm ] && rm ${ROOT}usr/include/asm
+ true
+ fi
+}
+
+pkg_postinst() {
+ [ "$ETYPE" = "headers" ] && return
+ if [ ! -e ${ROOT}usr/src/linux-beta ]
+ then
+
+ ln -sf linux-${PKV} ${ROOT}/usr/src/linux-beta
+ fi
+
+ echo
+ 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 "vga_console (Graphics Support->Console...->VGA text console)"
+ ewarn "and the vt_console (Character Devices->Support for console...)."
+ ewarn "Otherwise, you will get the dreaded \"Uncompressing the Kernel\""
+ ewarn "error."
+ echo
+}
diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r8 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r8
new file mode 100644
index 000000000000..fdae4db458e0
--- /dev/null
+++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r8
@@ -0,0 +1,2 @@
+MD5 b7eb2c72aacb289b1448a8ea574ceab3 linux-2.6.0-test3.tar.bz2 32948106
+MD5 940dbf7705230866e87ab9930901f457 patch-2.6.0-test3-bk8.bz2 622374