diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-07-11 18:46:39 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-07-11 18:46:39 +0000 |
commit | e446530fadc67bf328a60195aea2792daddee21f (patch) | |
tree | 99b7985e1b224630ef2750554367a1f5b7c31424 /sys-kernel | |
parent | bump (diff) | |
download | historical-e446530fadc67bf328a60195aea2792daddee21f.tar.gz historical-e446530fadc67bf328a60195aea2792daddee21f.tar.bz2 historical-e446530fadc67bf328a60195aea2792daddee21f.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.75-r1 | 2 | ||||
-rw-r--r-- | sys-kernel/mm-sources/mm-sources-2.5.75-r1.ebuild | 99 |
3 files changed, 103 insertions, 2 deletions
diff --git a/sys-kernel/mm-sources/Manifest b/sys-kernel/mm-sources/Manifest index fc431693d075..5fab56bc664a 100644 --- a/sys-kernel/mm-sources/Manifest +++ b/sys-kernel/mm-sources/Manifest @@ -4,8 +4,8 @@ MD5 ece2eca96d8d1148ca5271b8d1812e59 mm-sources-2.5.74-r3.ebuild 2701 MD5 1d15c4a17fc72e7a24832b38db40e3a5 mm-sources-2.5.73-r1.ebuild 2701 MD5 088dc725938e368145e6c631ddc34b49 mm-sources-2.5.73-r3.ebuild 2703 MD5 2c81d4ac92ff6eaa1ac7e3b0f926d869 mm-sources-2.5.74-r2.ebuild 2703 -MD5 0cbcafb17dd076d5a944d127a706e58e ChangeLog 7995 -MD5 ece2eca96d8d1148ca5271b8d1812e59 mm-sources-2.5.75-r1.ebuild 2701 +MD5 34a56113975d29d333d977be906d36fc ChangeLog 8121 +MD5 f5051bf46b0cb3f14a41e4d668dd041d mm-sources-2.5.75-r1.ebuild 2703 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.75-r1 b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.75-r1 new file mode 100644 index 000000000000..936f6d257b98 --- /dev/null +++ b/sys-kernel/mm-sources/files/digest-mm-sources-2.5.75-r1 @@ -0,0 +1,2 @@ +MD5 ed4e25318e9cd18dc7e732b3483f271d linux-2.5.75.tar.bz2 32748267 +MD5 02f46a6f51e22c9f059d1652571d8b1f 2.5.75-mm1.bz2 923334 diff --git a/sys-kernel/mm-sources/mm-sources-2.5.75-r1.ebuild b/sys-kernel/mm-sources/mm-sources-2.5.75-r1.ebuild new file mode 100644 index 000000000000..ab0618ccaf84 --- /dev/null +++ b/sys-kernel/mm-sources/mm-sources-2.5.75-r1.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.75-r1.ebuild,v 1.1 2003/07/11 18:46:35 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 +} |