summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-04-25 00:06:57 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-04-25 00:06:57 +0000
commit5d25f08ed683277c870a10b503bfeac7c0320b99 (patch)
treea1a6671389d8d97a279e451c64895ca5e352e698 /sys-kernel
parentBump (diff)
downloadgentoo-2-5d25f08ed683277c870a10b503bfeac7c0320b99.tar.gz
gentoo-2-5d25f08ed683277c870a10b503bfeac7c0320b99.tar.bz2
gentoo-2-5d25f08ed683277c870a10b503bfeac7c0320b99.zip
Bump
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/mm-sources/ChangeLog7
-rw-r--r--sys-kernel/mm-sources/Manifest4
-rw-r--r--sys-kernel/mm-sources/files/digest-mm-sources-2.5.68-r22
-rw-r--r--sys-kernel/mm-sources/mm-sources-2.5.68-r2.ebuild96
4 files changed, 106 insertions, 3 deletions
diff --git a/sys-kernel/mm-sources/ChangeLog b/sys-kernel/mm-sources/ChangeLog
index e5cbaa67f236..6e050865605b 100644
--- a/sys-kernel/mm-sources/ChangeLog
+++ b/sys-kernel/mm-sources/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/mm-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.20 2003/04/20 07:29:22 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.21 2003/04/25 00:06:52 lostlogic Exp $
+
+*mm-sources-2.5.68-r2 (24 Apr 2003)
+
+ 24 Apr 2003; Brandon Low <lostlogic@gentoo.org> mm-sources-2.5.68-r2.ebuild:
+ Bump
*mm-sources-2.5.68-r1 (20 Apr 2003)
diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest
index 2cc951fd1be4..3bf5f4ead8ad 100644
--- a/sys-kernel/mm-sources/Manifest
+++ b/sys-kernel/mm-sources/Manifest
@@ -2,8 +2,8 @@ MD5 5ecf1414384604e52eca02d94f44f6d7 mm-sources-2.5.68-r1.ebuild 2612
MD5 acc35cfc40042bea7ff8e0a3ee10069b mm-sources-2.5.67-r4.ebuild 2716
MD5 80597a889e6bfb432f4fbea5e29432c1 mm-sources-2.5.67-r1.ebuild 2715
MD5 49ee09d2c4a812b469e1cbe8af971903 mm-sources-2.5.67-r3.ebuild 2714
-MD5 5ecf1414384604e52eca02d94f44f6d7 mm-sources-2.5.68-r2.ebuild 2612
-MD5 4db335cc876cb25b2a8500caa79cac81 ChangeLog 3906
+MD5 ee881cd736fc89a33ab88cc7b1befe70 mm-sources-2.5.68-r2.ebuild 2612
+MD5 75084440f52af6f46a01f4e673a62eba ChangeLog 3906
MD5 fea0d32c6d1c20bff8a76f6272228be8 mm-sources-2.5.67-r2.ebuild 2717
MD5 55b8a1259a616f53ed21063358d67c3c files/digest-mm-sources-2.5.67-r1 196
MD5 6d07b253c217d485c77396ffc1e8e711 files/digest-mm-sources-2.5.67-r2 126
diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.68-r2 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.68-r2
new file mode 100644
index 000000000000..6a8652be2215
--- /dev/null
+++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.68-r2
@@ -0,0 +1,2 @@
+MD5 77218ccef60bd204d2932f38397c2592 linux-2.5.68.tar.bz2 31913804
+MD5 3ae67b922b4d4f3f03ad6e4a225cc29f 2.5.68-mm2.bz2 787855
diff --git a/sys-kernel/mm-sources/mm-sources-2.5.68-r2.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.68-r2.ebuild
new file mode 100644
index 000000000000..5335deaa95a5
--- /dev/null
+++ b/sys-kernel/mm-sources/mm-sources-2.5.68-r2.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.68-r2.ebuild,v 1.1 2003/04/25 00:06:52 lostlogic 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
+}