diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-06-22 08:55:55 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-06-22 08:55:55 +0000 |
commit | 8d03fb33bdcbe74bd77f5f8340b823b0ffab74b6 (patch) | |
tree | 1cdcfbb7659388df4c06b64cb116a09da156757c /sys-kernel | |
parent | bump (diff) | |
download | historical-8d03fb33bdcbe74bd77f5f8340b823b0ffab74b6.tar.gz historical-8d03fb33bdcbe74bd77f5f8340b823b0ffab74b6.tar.bz2 historical-8d03fb33bdcbe74bd77f5f8340b823b0ffab74b6.zip |
bump
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/mm-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mm-sources/files/digest-mm-sources-2.5.72-r3 | 2 | ||||
-rw-r--r-- | sys-kernel/mm-sources/mm-sources-2.5.72-r3.ebuild | 99 |
3 files changed, 103 insertions, 2 deletions
diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest index 808c314e489d..8a6e8ee5c30f 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -1,8 +1,8 @@ MD5 0a022c23a0356ea7d5197f3fb7f65eac mm-sources-2.5.71-r1.ebuild 2721 MD5 d4f88b515a685f127f34fe132bec3c6f mm-sources-2.5.72-r2.ebuild 2701 MD5 9624881a8fb8f893548c14e3ab9b8701 mm-sources-2.5.72-r1.ebuild 2701 -MD5 49392a1f4cb38480c6eb9c92acb439ac ChangeLog 7062 -MD5 d4f88b515a685f127f34fe132bec3c6f mm-sources-2.5.72-r3.ebuild 2701 +MD5 a3b00c4e1a927fafb2a30fec87adee0b ChangeLog 7189 +MD5 631a74985cf3cb90459fb0d107c1fbc0 mm-sources-2.5.72-r3.ebuild 2701 MD5 b4ab387b77e4f94ea9615ec59dc76c58 files/digest-mm-sources-2.5.71-r1 126 MD5 aa778e6b18cb46bb494bd6e1edb1b159 files/digest-mm-sources-2.5.72-r1 126 MD5 4b155bd4e8eb2efb978d5c4c775abf8e files/digest-mm-sources-2.5.72-r2 127 diff --git a/sys-kernel/mm-sources/files/digest-mm-sources-2.5.72-r3 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.72-r3 new file mode 100644 index 000000000000..3829f834190b --- /dev/null +++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.72-r3 @@ -0,0 +1,2 @@ +MD5 b14ae665d15eeb494c2b05021ee414b4 linux-2.5.72.tar.bz2 32584415 +MD5 1df8d2fdc550acfa2f9320dbbd63db1c 2.5.72-mm3.bz2 1582026 diff --git a/sys-kernel/mm-sources/mm-sources-2.5.72-r3.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.72-r3.ebuild new file mode 100644 index 000000000000..cb8b703e5149 --- /dev/null +++ b/sys-kernel/mm-sources/mm-sources-2.5.72-r3.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.72-r3.ebuild,v 1.1 2003/06/22 08:55:50 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="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 +} |