diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/usermode-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.22 | 2 | ||||
-rw-r--r-- | sys-kernel/usermode-sources/usermode-sources-2.4.22.ebuild | 53 |
3 files changed, 57 insertions, 2 deletions
diff --git a/sys-kernel/usermode-sources/Manifest b/sys-kernel/usermode-sources/Manifest index 3ff80251d71b..bbe35e1668ec 100644 --- a/sys-kernel/usermode-sources/Manifest +++ b/sys-kernel/usermode-sources/Manifest @@ -1,8 +1,8 @@ -MD5 6f38f8860c9dd465407d1aed5e98984c ChangeLog 1887 +MD5 7c5d20374d526de7272fd84669650da5 ChangeLog 2027 MD5 00cdbcc82cd37fe2f29b8fa5edc34c4d usermode-sources-2.4.19-r51.ebuild 1923 MD5 021679bed486e72a35e73ba7a49c8ec9 usermode-sources-2.4.20-r1.ebuild 1922 MD5 2e50a55deb4d2b34f626d20243c32ff9 usermode-sources-2.4.21.ebuild 1433 -MD5 88e74e1a6406fbdc57fd5f8aa8cc0119 usermode-sources-2.4.22.ebuild 1434 +MD5 978912a5fd797df645585b547c523154 usermode-sources-2.4.22.ebuild 1431 MD5 6a8f7d56f78aa30e55baf1d522dac7cc files/digest-usermode-sources-2.4.19-r51 135 MD5 3c89919b01bf69d48c4307faa77d99a1 files/digest-usermode-sources-2.4.20-r1 134 MD5 2b62c53b9695ab543819727b7e64e73b files/digest-usermode-sources-2.4.21 134 diff --git a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.22 b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.22 new file mode 100644 index 000000000000..69c15fc88a04 --- /dev/null +++ b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.22 @@ -0,0 +1,2 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 555e7ff2f04bdeb49e24371b7f246709 uml-patch-2.4.22-5.bz2 184079 diff --git a/sys-kernel/usermode-sources/usermode-sources-2.4.22.ebuild b/sys-kernel/usermode-sources/usermode-sources-2.4.22.ebuild new file mode 100644 index 000000000000..a039296ff7be --- /dev/null +++ b/sys-kernel/usermode-sources/usermode-sources-2.4.22.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.22.ebuild,v 1.1 2003/09/29 19:13:09 lanius Exp $ + +UML_VERSION="${PV}" +UML_PATCH="uml-patch-2.4.22-5" + +S=${WORKDIR}/linux-${PV} + +# we patch against vanilla-sources only + +DESCRIPTION="Full (vanilla) sources for the User Mode Linux kernel" +SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${PV}.tar.bz2 +mirror://sourceforge/user-mode-linux/${UML_PATCH}.bz2" +HOMEPAGE="http://www.kernel.org/ http://user-mode-linux.sourceforge.net" +LICENSE="GPL-2" +SLOT="${UML_VERSION}" +KEYWORDS="~x86 -ppc -sparc -alpha" + +#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 dev-lang/perl" +RDEPEND=">=sys-libs/ncurses-5.2" + +src_unpack() { + + cd ${WORKDIR} + unpack linux-${PV}.tar.bz2 + if [ "${PV}" != "${UML_VERSION}" ]; then + mv linux-${PV} linux-${UML_VERSION} || die + fi + cd ${S} + bzcat ${DISTDIR}/${UML_PATCH}.bz2 | patch -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() { + ewarn "Nothing to compile. That's up to the user" +} + +src_install() { + mkdir -p ${D}/usr/src/uml + cd ${WORKDIR} + mv linux-${UML_VERSION} ${D}/usr/src/uml/ +} + + |