summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2003-08-09 15:44:36 +0000
committerPeter Johanson <latexer@gentoo.org>2003-08-09 15:44:36 +0000
commit11e1e6ec822eb29cf3c20370261d38cfd01ffd02 (patch)
treed72c0f4e47655555e17bbd8cf6958636066cbaee /sys-kernel/development-sources
parentBumpage (diff)
downloadgentoo-2-11e1e6ec822eb29cf3c20370261d38cfd01ffd02.tar.gz
gentoo-2-11e1e6ec822eb29cf3c20370261d38cfd01ffd02.tar.bz2
gentoo-2-11e1e6ec822eb29cf3c20370261d38cfd01ffd02.zip
Bumpage
Diffstat (limited to 'sys-kernel/development-sources')
-rw-r--r--sys-kernel/development-sources/ChangeLog8
-rw-r--r--sys-kernel/development-sources/Manifest4
-rw-r--r--sys-kernel/development-sources/development-sources-2.6.0_beta3.ebuild111
-rw-r--r--sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta31
4 files changed, 121 insertions, 3 deletions
diff --git a/sys-kernel/development-sources/ChangeLog b/sys-kernel/development-sources/ChangeLog
index db0e16f1f5ec..fc9810cdf8fa 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.27 2003/08/09 00:34:57 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/ChangeLog,v 1.28 2003/08/09 15:44:30 latexer Exp $
+
+*development-sources-2.6.0_beta3 (09 Aug 2003)
+
+ 09 Aug 2003; Peter Johanson <latexer@gentoo.org>
+ development-sources-2.6.0_beta3.ebuild:
+ Bump
*development-sources-2.6.0_beta2-r8 (09 Aug 2003)
diff --git a/sys-kernel/development-sources/Manifest b/sys-kernel/development-sources/Manifest
index e11bff61bd69..a789fd6c2d96 100644
--- a/sys-kernel/development-sources/Manifest
+++ b/sys-kernel/development-sources/Manifest
@@ -7,8 +7,8 @@ MD5 b02c2e973c722c1322126f654f91dd83 development-sources-2.6.0_beta2-r7.ebuild 3
MD5 6e830d34afaae68cc353396e71cc377b development-sources-2.5.72.ebuild 2289
MD5 92b11c6baf9d49c1da03f6fcf65063ae development-sources-2.6.0_beta1.ebuild 3231
MD5 3ff4c9fa386bf6cf0601def62b8d60b2 development-sources-2.5.74.ebuild 2289
-MD5 b9db8e6603cf1cfa4b29458b18cefa0a development-sources-2.6.0_beta3.ebuild 3238
-MD5 65c3a35169a9702287f79c330200554d ChangeLog 4728
+MD5 76c42584c04c340a8111dde0cd87231f development-sources-2.6.0_beta3.ebuild 3239
+MD5 fb0a1e572ad4581acef0a6c250344332 ChangeLog 4879
MD5 a864e78ffa9b2cf2297607f964a9ee92 development-sources-2.5.71.ebuild 2289
MD5 0bfa6b0284b3999e5d8738aeae713f82 files/digest-development-sources-2.6.0_beta1 72
MD5 a6fe6a426a514c3316fc36aa52b0b67b files/digest-development-sources-2.6.0_beta2 72
diff --git a/sys-kernel/development-sources/development-sources-2.6.0_beta3.ebuild b/sys-kernel/development-sources/development-sources-2.6.0_beta3.ebuild
new file mode 100644
index 000000000000..c2c4630f8970
--- /dev/null
+++ b/sys-kernel/development-sources/development-sources-2.6.0_beta3.ebuild
@@ -0,0 +1,111 @@
+# 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.ebuild,v 1.1 2003/08/09 15:44:30 latexer Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+OKV=${PV/_beta/-test}
+KV=${PV/_beta/-test}
+S=${WORKDIR}/linux-${KV}
+ETYPE="sources"
+
+# What's in this kernel?
+
+# INCLUDED:
+# beta ${PV} linux kernel sources with
+
+DESCRIPTION="Full sources for the Development Branch of the Linux kernel"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2 ${PATCH_URI}"
+PROVIDE="virtual/linux-sources"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
+LICENSE="GPL-2"
+SLOT="${KV}"
+KEYWORDS="x86 ppc amd64 ~alpha"
+
+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
+
+ cd ${S}
+
+ 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-${KV} ${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
+ einfo "Consult http://www.codemonkey.org.uk/post-halloween-2.5.txt"
+ einfo "for more info about the development series."
+ echo
+}
diff --git a/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3 b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3
new file mode 100644
index 000000000000..92286e28efcd
--- /dev/null
+++ b/sys-kernel/development-sources/files/digest-development-sources-2.6.0_beta3
@@ -0,0 +1 @@
+MD5 b7eb2c72aacb289b1448a8ea574ceab3 linux-2.6.0-test3.tar.bz2 32948106