diff options
Diffstat (limited to 'sys-kernel')
3 files changed, 80 insertions, 2 deletions
diff --git a/sys-kernel/usermode-sources/ChangeLog b/sys-kernel/usermode-sources/ChangeLog index ee228fe34718..e9d25005454b 100644 --- a/sys-kernel/usermode-sources/ChangeLog +++ b/sys-kernel/usermode-sources/ChangeLog @@ -1,6 +1,14 @@ -# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# ChangeLog for sys-kernel/usermode-sources # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/ChangeLog,v 1.2 2002/07/16 04:46:43 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/ChangeLog,v 1.3 2002/07/23 13:23:13 seemant Exp $ + +*usermode-sources-2.4.18-r2 (23 Jul 2002) + + 23 Jul 2002; Seemant Kulleen <seemant@gentoo.org> + usermode-sources-2.4.18-r2 : + + Ulf.Bartelt@t-online.de (Ulf Bartelt) submitted this new ebuild, which + basically patches with a newer patch. *usermode-kernel-2.4.18 (4 March 2002) diff --git a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.18-r2 b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.18-r2 new file mode 100644 index 000000000000..1212d8e365a7 --- /dev/null +++ b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.18-r2 @@ -0,0 +1,2 @@ +MD5 ad92859baaa837847b34d842b9f39d38 linux-2.4.18.tar.bz2 24161675 +MD5 7690aef828dc8528b873cbab851f8446 uml-patch-2.4.18-37.bz2 134965 diff --git a/sys-kernel/usermode-sources/usermode-sources-2.4.18-r2.ebuild b/sys-kernel/usermode-sources/usermode-sources-2.4.18-r2.ebuild new file mode 100644 index 000000000000..41aaa5015b27 --- /dev/null +++ b/sys-kernel/usermode-sources/usermode-sources-2.4.18-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.18-r2.ebuild,v 1.1 2002/07/23 13:23:13 seemant Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +#we use this next variable to avoid duplicating stuff on cvs +GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files +OKV=${PV} +KV=${PVR} +# +# 2002-07-23/UBa +# i decided to "upgrade" this ebuild to uml-patch-2.4.37 because this +# is the one i successfully use on debian these days. +# +UML_PATCH="uml-patch-${PV}-37" +S=${WORKDIR}/linux-${KV} + +# What's in this kernel? + +# INCLUDED: +# User mode linux patch +# http://user-mode-linux.sourceforge.net +# UML clashes with the current Gentoo patch, so I've ignored it for now. + +DESCRIPTION="Full (vanilla) sources for the User Mode Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://uml-pub.ists.dartmouth.edu/uml/${UML_PATCH}.bz2" +HOMEPAGE="http://www.kernel.org/ http://user-mode-linux.sourceforge.net" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 -ppc -sparc -sparc64" + +#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-devel/perl" +RDEPEND=">=sys-libs/ncurses-5.2" + +[ -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 linux-${KV} || die + cd ${S} + bzcat ${DISTDIR}/${UML_PATCH}.bz2 | patch -d ${S} -p1 + echo "Preparing for compilation..." + + #fix silly permissions in tarball + cd ${WORKDIR} + chown -R 0.0 * + chmod -R a+r-w+X,u+w * + +} + +src_compile() { + echo "Nothing to compile. That's up to the user" +} + +src_install() { + dodir /usr/src/uml + cd ${S} + echo ">>> Copying sources..." + mv ${WORKDIR}/* ${D}/usr/src/uml + cd ${D}/usr/src/uml + ln -sf linux-${KV} linux +} + + |