summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-01-09 15:10:27 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-01-09 15:10:27 +0000
commit80bea034afec68eb86386b81c3969049a6caecd5 (patch)
treef6d49b98c0f447babd3e9f2655a3ada3e0b218ba /sys-kernel/mm-sources
parentVersion bump. (diff)
downloadhistorical-80bea034afec68eb86386b81c3969049a6caecd5.tar.gz
historical-80bea034afec68eb86386b81c3969049a6caecd5.tar.bz2
historical-80bea034afec68eb86386b81c3969049a6caecd5.zip
Version bump.
Diffstat (limited to 'sys-kernel/mm-sources')
-rw-r--r--sys-kernel/mm-sources/Manifest4
-rw-r--r--sys-kernel/mm-sources/files/digest-mm-sources-2.6.1-r12
-rw-r--r--sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild90
3 files changed, 94 insertions, 2 deletions
diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest
index b9bade2aece1..da20c71a2b8a 100644
--- a/sys-kernel/mm-sources/Manifest
+++ b/sys-kernel/mm-sources/Manifest
@@ -1,5 +1,5 @@
-MD5 aa6003c4c1a352ae1511b85a01497ab1 ChangeLog 18362
-MD5 76aef67b7621f567c250d3607cacdc8c mm-sources-2.6.1-r1.ebuild 2859
+MD5 910ca9fdc65dae74d024ae0f8ae393b0 ChangeLog 18362
+MD5 a719933e912550bf3f017cfc9e1d7e52 mm-sources-2.6.1-r1.ebuild 2855
MD5 b9eb796023fdab38a56e30135dd57501 mm-sources-2.6.1_rc1-r2.ebuild 3109
MD5 5e95fced23ea7c26d39274bc200dabd5 metadata.xml 351
MD5 cd95d73b738b813a5687a2293f305e50 mm-sources-2.6.1_rc1-r1.ebuild 3109
diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.6.1-r1 b/sys-kernel/mm-sources/files/digest-mm-sources-2.6.1-r1
new file mode 100644
index 000000000000..3f7be2bd0d7a
--- /dev/null
+++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.6.1-r1
@@ -0,0 +1,2 @@
+MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033
+MD5 4fd52fe17bec8ce5b6609a7d615b7cce 2.6.1-mm1.bz2 1259796
diff --git a/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild b/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..22da6936cfcc
--- /dev/null
+++ b/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.6.1-r1.ebuild,v 1.1 2004/01/09 15:10:15 plasmaroo Exp $
+# OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+ETYPE="sources"
+inherit kernel
+
+OKV=2.6.1
+
+EXTRAVERSION="`echo ${PKV}-${PR/r/mm} | \
+ sed -e 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`"
+
+KV=${PV/_/-}-${PR/r/mm}
+S=${WORKDIR}/linux-${KV}
+
+inherit eutils
+
+# What's in this kernel?
+
+# INCLUDED:
+# The development branch of the linux kernel with Andrew Morton's patch
+
+DESCRIPTION="Full sources for the development linux kernel with Andrew Morton's patchset"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2
+ mirror://kernel/linux/kernel/people/akpm/patches/2.6/${OKV}/${KV}/${KV}.bz2"
+KEYWORDS="~x86"
+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} linux-${KV}
+ cd ${S}
+ bzcat ${DISTDIR}/${KV}.bz2 | patch -p1 || die "mm patch failed"
+ find . -iname "*~" | xargs rm 2> /dev/null
+
+ # Gentoo Linux uses /boot, so fix 'make install' to work properly
+ # also fix the EXTRAVERSION
+
+ cd ${S}
+ 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 ${S}/Documentation/DocBook
+ sed -e "s:db2:docbook2:g" Makefile > Makefile.new \
+ && mv Makefile.new Makefile
+ cd ${S}
+
+ # 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}
+
+}
+
+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 "and you have to compile it in now, or else you will get"
+ ewarn "errors when trying to open a pty. The options are:"
+ ewarn "Device Drivers -> Character devices -> Unix98 PTY support and"
+ ewarn "File systems -> Pseudo filesystems -> /dev/pts 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
+}