summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-08-28 18:33:55 +0000
committerStuart Herbert <stuart@gentoo.org>2003-08-28 18:33:55 +0000
commitb5178ade9217938089ec143be809c332d8252fce (patch)
treeeacef1f4c86a32b4a0888d5f3bc7e97a4126ded3 /sys-kernel/usermode-sources
parentUML for Linux 2.4.21 kernels (diff)
downloadhistorical-b5178ade9217938089ec143be809c332d8252fce.tar.gz
historical-b5178ade9217938089ec143be809c332d8252fce.tar.bz2
historical-b5178ade9217938089ec143be809c332d8252fce.zip
UML for Linux 2.4.21 kernels
Diffstat (limited to 'sys-kernel/usermode-sources')
-rw-r--r--sys-kernel/usermode-sources/Manifest4
-rw-r--r--sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.212
-rw-r--r--sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild53
3 files changed, 57 insertions, 2 deletions
diff --git a/sys-kernel/usermode-sources/Manifest b/sys-kernel/usermode-sources/Manifest
index 26b2c5fd9f79..e8480287ff6f 100644
--- a/sys-kernel/usermode-sources/Manifest
+++ b/sys-kernel/usermode-sources/Manifest
@@ -1,7 +1,7 @@
-MD5 79da20d01b1f0e535bf338037b8c1f85 usermode-sources-2.4.21.ebuild 1449
+MD5 78caf65ec90f1c98323b3113fab91c82 usermode-sources-2.4.21.ebuild 1445
MD5 a42bbfac9dabc751f86958b0ad26269b usermode-sources-2.4.19-r51.ebuild 1938
MD5 bdc0a47359d72e89bc07bddb125461aa usermode-sources-2.4.20-r1.ebuild 1937
-MD5 ed520ddc2a46c7d4ff76000390b24ada ChangeLog 1434
+MD5 4fa6de171fe2859a9cdd1fad0ecf3bf2 ChangeLog 1503
MD5 cdbafa988f39cff5d9e7a5d850915fff files/digest-usermode-sources-2.4.21 132
MD5 3c89919b01bf69d48c4307faa77d99a1 files/digest-usermode-sources-2.4.20-r1 134
MD5 6a8f7d56f78aa30e55baf1d522dac7cc files/digest-usermode-sources-2.4.19-r51 135
diff --git a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.21 b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.21
new file mode 100644
index 000000000000..d518837d7947
--- /dev/null
+++ b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.21
@@ -0,0 +1,2 @@
+MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733
+MD5 33d54a27f578bc563eb2ef608396e1bb uml-patch-2.4.21.bz2 176502
diff --git a/sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild b/sys-kernel/usermode-sources/usermode-sources-2.4.21.ebuild
new file mode 100644
index 000000000000..d18040f0904b
--- /dev/null
+++ b/sys-kernel/usermode-sources/usermode-sources-2.4.21.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.21.ebuild,v 1.1 2003/08/28 18:33:47 stuart Exp $
+
+UML_VERSION="${PV}"
+UML_PATCH="uml-patch-2.4.21"
+
+S=${WORKDIR}/linux-${PV}
+
+# we patch against vanilla-sources only
+
+DESCRIPTION="Full (vanilla) sources for the User Mode Linux kernel"
+SRC_URI="http://www.kernel.org/pub/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/
+}
+
+