diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-07-02 14:49:01 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-07-02 14:49:01 +0000 |
commit | 770f7d5e39de205e726cdd76899167c1053a0bf7 (patch) | |
tree | 47550c52c36a547ae8af8292448543360c08ea52 /sys-kernel | |
parent | Bump (diff) | |
download | historical-770f7d5e39de205e726cdd76899167c1053a0bf7.tar.gz historical-770f7d5e39de205e726cdd76899167c1053a0bf7.tar.bz2 historical-770f7d5e39de205e726cdd76899167c1053a0bf7.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.73-r3 | 2 | ||||
-rw-r--r-- | sys-kernel/mm-sources/mm-sources-2.5.73-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 bf9288573c22..14d850e576a5 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -1,9 +1,9 @@ MD5 98f773c2d8d837d43755fe277ede6344 mm-sources-2.5.73-r2.ebuild 2703 MD5 d4f88b515a685f127f34fe132bec3c6f mm-sources-2.5.72-r2.ebuild 2701 MD5 1d15c4a17fc72e7a24832b38db40e3a5 mm-sources-2.5.73-r1.ebuild 2701 -MD5 98f773c2d8d837d43755fe277ede6344 mm-sources-2.5.73-r3.ebuild 2703 +MD5 088dc725938e368145e6c631ddc34b49 mm-sources-2.5.73-r3.ebuild 2703 MD5 9624881a8fb8f893548c14e3ab9b8701 mm-sources-2.5.72-r1.ebuild 2701 -MD5 eb2e8a5580a1a730ece5dd8a9ed5a9b5 ChangeLog 7483 +MD5 fe13ecd9b3278a0674cf3768ea0124ef ChangeLog 7607 MD5 631a74985cf3cb90459fb0d107c1fbc0 mm-sources-2.5.72-r3.ebuild 2701 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.73-r3 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.73-r3 new file mode 100644 index 000000000000..8961f20e07e5 --- /dev/null +++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.73-r3 @@ -0,0 +1,2 @@ +MD5 48dcb423fc2857d64d0e69856c7af5ad linux-2.5.73.tar.bz2 32289411 +MD5 d99e9ed4ff844ccc32a376626ac7451a 2.5.73-mm3.bz2 2411187 diff --git a/sys-kernel/mm-sources/mm-sources-2.5.73-r3.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.73-r3.ebuild new file mode 100644 index 000000000000..b1a623634c47 --- /dev/null +++ b/sys-kernel/mm-sources/mm-sources-2.5.73-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.73-r3.ebuild,v 1.1 2003/07/02 14:48:57 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 +} |