summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2003-08-17 13:59:37 +0000
committerJohn Mylchreest <johnm@gentoo.org>2003-08-17 13:59:37 +0000
commitd0ccb6aa150b0c866804e783bb863bfe410729d6 (patch)
treeb034ff3a128081a298ce1c13943bfdbb4fdc4524 /sys-kernel/development-sources
parentcleanup (diff)
downloadgentoo-2-d0ccb6aa150b0c866804e783bb863bfe410729d6.tar.gz
gentoo-2-d0ccb6aa150b0c866804e783bb863bfe410729d6.tar.bz2
gentoo-2-d0ccb6aa150b0c866804e783bb863bfe410729d6.zip
bk bump
Diffstat (limited to 'sys-kernel/development-sources')
-rw-r--r--sys-kernel/development-sources/Manifest2
-rw-r--r--sys-kernel/development-sources/development-sources-2.6.0_beta3-r5.ebuild113
-rw-r--r--sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r52
3 files changed, 117 insertions, 0 deletions
diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest
index b12bb74e0406..e8d41a921016 100644
--- a/sys-kernel/development-sources/Manifest
+++ b/sys-kernel/development-sources/Manifest
@@ -12,6 +12,7 @@ MD5 76c42584c04c340a8111dde0cd87231f development-sources-2.6.0_beta3.ebuild 3239
MD5 e31a9574008692a2666c884e2c136c16 development-sources-2.6.0_beta3-r3.ebuild 3414
MD5 d6ac66aeb4b56f1dfcfbdf4e57067575 ChangeLog 5350
MD5 a864e78ffa9b2cf2297607f964a9ee92 development-sources-2.5.71.ebuild 2289
+MD5 b3d7859cb7b770ac3bcb0226edacdeba development-sources-2.6.0_beta3-r5.ebuild 3286
MD5 0bfa6b0284b3999e5d8738aeae713f82 files/digest-development-sources-2.6.0_beta1 72
MD5 a6fe6a426a514c3316fc36aa52b0b67b files/digest-development-sources-2.6.0_beta2 72
MD5 db7bfbfe14a9294f714e162f6a4cff3b files/digest-development-sources-2.6.0_beta3 72
@@ -19,6 +20,7 @@ MD5 a6fe6a426a514c3316fc36aa52b0b67b files/digest-development-sources-2.6.0_beta
MD5 9160b1678070923fe5417335ce90ca96 files/digest-development-sources-2.6.0_beta2-r8 143
MD5 064d55f8be98a413fbaad155e3aaff7d files/digest-development-sources-2.6.0_beta3-r1 141
MD5 36f88c22be8cbe7216a6119bf9e182e1 files/digest-development-sources-2.6.0_beta3-r3 142
+MD5 9f5f5bdb22c7c6efaddc75e483e32b09 files/digest-development-sources-2.6.0_beta3-r5 142
MD5 a1867ed6ed9737f050a335953e36b414 files/digest-development-sources-2.5.70 67
MD5 77d97aec24091542f58bd398c9aeb709 files/digest-development-sources-2.5.71 67
MD5 227f2c2422f5382be32230d29f265b8a files/digest-development-sources-2.5.72 67
diff --git a/sys-kernel/development-sources/development-sources-2.6.0_beta3-r5.ebuild b/sys-kernel/development-sources/development-sources-2.6.0_beta3-r5.ebuild
new file mode 100644
index 000000000000..b1a4ac88b0a2
--- /dev/null
+++ b/sys-kernel/development-sources/development-sources-2.6.0_beta3-r5.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-r5.ebuild,v 1.1 2003/08/17 13:59:14 johnm 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-r5 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r5
new file mode 100644
index 000000000000..c970944edf0e
--- /dev/null
+++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3-r5
@@ -0,0 +1,2 @@
+MD5 b7eb2c72aacb289b1448a8ea574ceab3 linux-2.6.0-test3.tar.bz2 32948106
+MD5 b4d6d17e1ee841540998b2b98db02428 patch-2.6.0-test3-bk5.bz2 317923