diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-05-22 11:55:39 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-05-22 11:55:39 +0000 |
commit | fb88b05bb2ede61f6cfd0fa8f22e1d8c7c90875b (patch) | |
tree | 9f1c900249d7828bbb48a106e01af6e86694c326 /sys-kernel | |
parent | New -mm8 (diff) | |
download | gentoo-2-fb88b05bb2ede61f6cfd0fa8f22e1d8c7c90875b.tar.gz gentoo-2-fb88b05bb2ede61f6cfd0fa8f22e1d8c7c90875b.tar.bz2 gentoo-2-fb88b05bb2ede61f6cfd0fa8f22e1d8c7c90875b.zip |
New -mm8
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/mm-sources/ChangeLog | 8 | ||||
-rw-r--r-- | sys-kernel/mm-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r8 | 2 | ||||
-rw-r--r-- | sys-kernel/mm-sources/mm-sources-2.5.69-r8.ebuild | 96 |
4 files changed, 107 insertions, 3 deletions
diff --git a/sys-kernel/mm-sources/ChangeLog b/sys-kernel/mm-sources/ChangeLog index 9c72ed1a1311..bed1a77c226b 100644 --- a/sys-kernel/mm-sources/ChangeLog +++ b/sys-kernel/mm-sources/ChangeLog @@ -1,6 +1,12 @@ # 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.26 2003/05/19 18:56:27 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.27 2003/05/22 11:55:34 latexer Exp $ + +*mm-sources-2.5.69-r8 (22 May 2003) + + 22 May 2003; Peter Johanson <latexer@gentoo.org> + mm-sources-2.5.69-r8.ebuild: + bump *mm-sources-2.5.69-r5 (19 May 2003) diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest index 87a081e14fb7..663c5b526e16 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -5,8 +5,8 @@ MD5 b7869872e62a8e1f91fd3528356c8d55 mm-sources-2.5.69-r2.ebuild 2612 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 147cfd2705428c8c3e99282c079e110e ChangeLog 4815 -MD5 837a37877b15fb886f6bdc7ad817de4e mm-sources-2.5.69-r8.ebuild 2610 +MD5 e482237ad96fa3547932fa948be7d1a7 ChangeLog 4942 +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 MD5 c73317a09cbf84666143033a3adf2e37 files/digest-mm-sources-2.5.69-r3 126 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r8 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r8 new file mode 100644 index 000000000000..d43aefc08dc2 --- /dev/null +++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.69-r8 @@ -0,0 +1,2 @@ +MD5 af77e8c9504cb50a5473d485e76b62b6 linux-2.5.69.tar.bz2 32091813 +MD5 09b248774ebd6b28200bed25eee4466b 2.5.69-mm8.bz2 1761128 diff --git a/sys-kernel/mm-sources/mm-sources-2.5.69-r8.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.69-r8.ebuild new file mode 100644 index 000000000000..fef44f0ffc5d --- /dev/null +++ b/sys-kernel/mm-sources/mm-sources-2.5.69-r8.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-r8.ebuild,v 1.1 2003/05/22 11:55:34 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 +} |