diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-07-06 04:24:31 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-07-06 04:24:31 +0000 |
commit | e1d1ca97b492225c708bfc0b53d2d77b5290f415 (patch) | |
tree | e5b4a6fc4a5b2af8eb15f9536aed88c81f378688 /sys-kernel/mm-sources | |
parent | Bump (diff) | |
download | gentoo-2-e1d1ca97b492225c708bfc0b53d2d77b5290f415.tar.gz gentoo-2-e1d1ca97b492225c708bfc0b53d2d77b5290f415.tar.bz2 gentoo-2-e1d1ca97b492225c708bfc0b53d2d77b5290f415.zip |
Bump
Diffstat (limited to 'sys-kernel/mm-sources')
-rw-r--r-- | sys-kernel/mm-sources/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/mm-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mm-sources/files/digest-mm-sources-2.5.74-r2 | 2 | ||||
-rw-r--r-- | sys-kernel/mm-sources/mm-sources-2.5.74-r2.ebuild | 99 |
4 files changed, 109 insertions, 3 deletions
diff --git a/sys-kernel/mm-sources/ChangeLog b/sys-kernel/mm-sources/ChangeLog index 9dec3abaad81..21a5b47e12e4 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.48 2003/07/03 13:56:43 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.49 2003/07/06 04:24:27 lostlogic Exp $ + +*mm-sources-2.5.74-r2 (05 Jul 2003) + + 05 Jul 2003; Brandon Low <lostlogic@gentoo.org> mm-sources-2.5.74-r2.ebuild: + bump *mm-sources-2.5.74-r1 (03 Jul 2003) diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest index 5e98ae208f29..8f4391a87ede 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -2,8 +2,8 @@ MD5 98f773c2d8d837d43755fe277ede6344 mm-sources-2.5.73-r2.ebuild 2703 MD5 8c8e886fd53d80e668deedfa5e48147f mm-sources-2.5.74-r1.ebuild 2701 MD5 1d15c4a17fc72e7a24832b38db40e3a5 mm-sources-2.5.73-r1.ebuild 2701 MD5 088dc725938e368145e6c631ddc34b49 mm-sources-2.5.73-r3.ebuild 2703 -MD5 8c8e886fd53d80e668deedfa5e48147f mm-sources-2.5.74-r2.ebuild 2701 -MD5 af19fb3500f7c7983014c62c7bddc802 ChangeLog 7744 +MD5 2c81d4ac92ff6eaa1ac7e3b0f926d869 mm-sources-2.5.74-r2.ebuild 2703 +MD5 a1ed809060f8b083f992213c52d32e7a ChangeLog 7870 MD5 28c4be6f72a1a8c32bbec8c4648115ae files/digest-mm-sources-2.5.73-r1 127 MD5 c69b7d716de9420c9f12e22c62d33246 files/digest-mm-sources-2.5.73-r2 127 MD5 c54fcbaeb55a027ef7a6a681b251bfcc files/digest-mm-sources-2.5.73-r3 127 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.74-r2 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.74-r2 new file mode 100644 index 000000000000..53f9f36b531a --- /dev/null +++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.74-r2 @@ -0,0 +1,2 @@ +MD5 5285fc8b7aea93b9fa5fe67c31c0124a linux-2.5.74.tar.bz2 32768829 +MD5 fda60d12eb42b3d7fe7593c3e35a9b89 2.5.74-mm2.bz2 933423 diff --git a/sys-kernel/mm-sources/mm-sources-2.5.74-r2.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.74-r2.ebuild new file mode 100644 index 000000000000..19f0d09357e1 --- /dev/null +++ b/sys-kernel/mm-sources/mm-sources-2.5.74-r2.ebuild @@ -0,0 +1,99 @@ +# 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.74-r2.ebuild,v 1.1 2003/07/06 04:24:27 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="mirror://kernel/linux/kernel/v2.5/linux-${OKV}.tar.bz2 ${PATCH_URI} +mirror://kernel/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 + >=sys-apps/sed-4" + 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 + # ARCH is used differently in the makefiles now, and this seems to fix things + unset ARCH + 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 +} |