summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2003-05-25 13:52:05 +0000
committerPeter Johanson <latexer@gentoo.org>2003-05-25 13:52:05 +0000
commit2ee47e0b3d2393f4207ec9723717235331686c63 (patch)
treeea0f960e4f947ec3c1d1e04cff0e0e7f7942415a /sys-kernel
parent-mm9 is out (diff)
downloadhistorical-2ee47e0b3d2393f4207ec9723717235331686c63.tar.gz
historical-2ee47e0b3d2393f4207ec9723717235331686c63.tar.bz2
historical-2ee47e0b3d2393f4207ec9723717235331686c63.zip
-mm9 is out
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/mm-sources/Manifest4
-rw-r--r--sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r92
-rw-r--r--sys-kernel/mm-sources/mm-sources-2.5.69-r9.ebuild96
3 files changed, 100 insertions, 2 deletions
diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest
index 5839711d720d..6278cd116f4c 100644
--- a/sys-kernel/mm-sources/Manifest
+++ b/sys-kernel/mm-sources/Manifest
@@ -2,11 +2,11 @@ MD5 d20ebd8d746cc787742dc090893701ee mm-sources-2.5.69-r3.ebuild 2612
MD5 eb9e6379967357f5b0280cffe7243333 mm-sources-2.5.69-r5.ebuild 2610
MD5 837a37877b15fb886f6bdc7ad817de4e mm-sources-2.5.69-r7.ebuild 2610
MD5 b7869872e62a8e1f91fd3528356c8d55 mm-sources-2.5.69-r2.ebuild 2612
-MD5 3cd30b2df52f774d369c3e39beefb904 mm-sources-2.5.69-r9.ebuild 2610
+MD5 ec22de080f6a673b24f4ae637c77587c mm-sources-2.5.69-r9.ebuild 2610
MD5 7db3b96f7404ad3f46fe51778a3dcee1 mm-sources-2.5.69-r4.ebuild 2610
MD5 685c31e303ee446295f80d0ac209d98e mm-sources-2.5.69-r6.ebuild 2610
MD5 5c258daebd108bee746e8e5727fc4fc3 mm-sources-2.5.69-r1.ebuild 2612
-MD5 e482237ad96fa3547932fa948be7d1a7 ChangeLog 4942
+MD5 488528c324815b6b5592977ea5e7f0f1 ChangeLog 5065
MD5 3cd30b2df52f774d369c3e39beefb904 mm-sources-2.5.69-r8.ebuild 2610
MD5 3d2d616a50391a21dcba5afeda39d681 files/digest-mm-sources-2.5.69-r1 126
MD5 637e5d21e35d6efd85fe335212c2b2b1 files/digest-mm-sources-2.5.69-r2 126
diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r9 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r9
new file mode 100644
index 000000000000..56985f8bc3ce
--- /dev/null
+++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r9
@@ -0,0 +1,2 @@
+MD5 af77e8c9504cb50a5473d485e76b62b6 linux-2.5.69.tar.bz2 32091813
+MD5 1c67e5bf0097429b059ba54bbf106f8d 2.5.69-mm9.bz2 1938606
diff --git a/sys-kernel/mm-sources/mm-sources-2.5.69-r9.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.69-r9.ebuild
new file mode 100644
index 000000000000..13d35d181a55
--- /dev/null
+++ b/sys-kernel/mm-sources/mm-sources-2.5.69-r9.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2003 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.5.69-r9.ebuild,v 1.1 2003/05/25 13:52:01 latexer Exp $
+#OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+inherit eutils
+
+OKV=${PV}
+KV=${PVR/r/mm}
+S=${WORKDIR}/linux-${KV}
+ETYPE="sources"
+
+# 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="http://www.kernel.org/pub/linux/kernel/v2.5/linux-${OKV}.tar.bz2 ${PATCH_URI}
+http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/${PV}/${PVR/r/mm}/${PVR/r/mm}.bz2"
+PROVIDE="virtual/linux-sources"
+HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
+LICENSE="GPL-2"
+SLOT="${KV}"
+KEYWORDS="x86 ppc"
+
+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"
+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-${KV}
+ cd ${S}
+ bzcat ${DISTDIR}/${PVR/r/mm}.bz2 | patch -p1 || die "mm patch failed"
+ sed -i -e "s:^EXTRAVERSION.*$:EXTRAVERSION = -${PR/r/mm}:" Makefile
+
+ #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
+}