summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-12-02 12:49:45 +0000
committerMichael Imhof <tantive@gentoo.org>2003-12-02 12:49:45 +0000
commit4bfaf2d4ef0a97a1608395145c13fc3fe0b37f35 (patch)
treef6c001684efc05f1cdc1e8d594b1c6344092d147 /sys-cluster/openmosix-user
parentVersion bumped. (diff)
downloadgentoo-2-4bfaf2d4ef0a97a1608395145c13fc3fe0b37f35.tar.gz
gentoo-2-4bfaf2d4ef0a97a1608395145c13fc3fe0b37f35.tar.bz2
gentoo-2-4bfaf2d4ef0a97a1608395145c13fc3fe0b37f35.zip
Version bumped.
Diffstat (limited to 'sys-cluster/openmosix-user')
-rw-r--r--sys-cluster/openmosix-user/ChangeLog7
-rw-r--r--sys-cluster/openmosix-user/Manifest4
-rw-r--r--sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.51
-rw-r--r--sys-cluster/openmosix-user/openmosix-user-0.3.5.ebuild94
4 files changed, 103 insertions, 3 deletions
diff --git a/sys-cluster/openmosix-user/ChangeLog b/sys-cluster/openmosix-user/ChangeLog
index 39c65de6ac2d..36f08adffa68 100644
--- a/sys-cluster/openmosix-user/ChangeLog
+++ b/sys-cluster/openmosix-user/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/openmosix-user
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.16 2003/11/06 16:17:05 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.17 2003/12/02 12:49:37 tantive Exp $
+
+*openmosix-user-0.3.5 (02 Dec 2003)
+
+ 02 Dec 2003; Michael Imhof <tantive@gentoo.org> openmosix-user-0.3.5.ebuild:
+ Version bumped.
* openmosix-user-0.3.4-r1 (06 Nov 2003)
diff --git a/sys-cluster/openmosix-user/Manifest b/sys-cluster/openmosix-user/Manifest
index 24451d61b5a3..0891709b86fc 100644
--- a/sys-cluster/openmosix-user/Manifest
+++ b/sys-cluster/openmosix-user/Manifest
@@ -1,8 +1,8 @@
MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373
MD5 dffd0d637019dad9b415150df6a6c03b openmosix-user-0.3.3.ebuild 2385
-MD5 ad13efe207c0115ed59e09352bb9b66e ChangeLog 3336
+MD5 62e73490cb5794892740804e8f31656d ChangeLog 3471
MD5 0b20d2a8ce14a92eb2479d91d99f8f0e openmosix-user-0.3.4.ebuild 2386
-MD5 947edceb389e1d8acd965144b6609224 openmosix-user-0.3.5.ebuild 2389
+MD5 c7d7427f1ffff578239de3b35db32ff0 openmosix-user-0.3.5.ebuild 2420
MD5 89d22f691f44455ce9441941e6f6d397 openmosix-user-0.3.2.ebuild 2384
MD5 947edceb389e1d8acd965144b6609224 openmosix-user-0.3.4-r1.ebuild 2389
MD5 25dcd82590aa8f31e939aa58097be907 files/digest-openmosix-user-0.3.4 74
diff --git a/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.5 b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.5
new file mode 100644
index 000000000000..e991ff03cd03
--- /dev/null
+++ b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.5
@@ -0,0 +1 @@
+MD5 d335929c17f38436c0fb34284165d921 openmosix-tools-0.3.5.tar.bz2 300816
diff --git a/sys-cluster/openmosix-user/openmosix-user-0.3.5.ebuild b/sys-cluster/openmosix-user/openmosix-user-0.3.5.ebuild
new file mode 100644
index 000000000000..68f00f924349
--- /dev/null
+++ b/sys-cluster/openmosix-user/openmosix-user-0.3.5.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/openmosix-user-0.3.5.ebuild,v 1.1 2003/12/02 12:49:37 tantive Exp $
+
+S=${WORKDIR}/openmosix-tools-${PV}
+DESCRIPTION="User-land utilities for openMosix process migration (clustering) software"
+SRC_URI="mirror://sourceforge/openmosix/openmosix-tools-${PV}.tar.bz2"
+HOMEPAGE="http://www.openmosix.com/"
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2
+ >=sys-kernel/openmosix-sources-2.4.22"
+RDEPEND="${DEPEND}
+ sys-apps/findutils
+ dev-lang/perl"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="-* x86"
+
+pkg_setup() {
+ if [ -z "`readlink /usr/src/linux|grep openmosix`" ]; then
+ eerror
+ eerror "Your linux kernel sources do not appear to be openmosix,"
+ eerror "please check your /usr/src/linux symlink."
+ eerror
+ die
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cat > configuration << EOF
+
+OPENMOSIX=/usr/src/linux
+PROCDIR=/proc/hpc
+MONNAME=mmon
+CC=gcc
+INSTALLDIR=/usr
+CFLAGS=-I/m/include -I./ -I/usr/include -I\${OPENMOSIX}/include -I${S}/moslib ${CFLAGS}
+INSTALL=/usr/bin/install
+EOF
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --with-kerneldir=/usr/src/linux \
+ --mandir=${D}usr/share/man \
+ --sysconfdir=${D}/etc \
+ --bindir=${D}/bin \
+ --sbindir=${D}/sbin \
+ --libdir=${D}/usr/lib \
+ --with-sysvdir=${D}/etc/init.d \
+ --with-configdir=${D}/etc/openmosix \
+ --with-mapdir=${D}/etc \
+ --with-mosrundir=${D}/bin \
+ --prefix=${D}/usr
+ make
+}
+
+src_install() {
+ dodir /bin
+ dodir /sbin
+ dodir /usr/share/doc
+ dodir /usr/share/man/man1
+
+ make install
+
+ dodoc COPYING README
+ rm ${D}/etc/init.d/openmosix
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/openmosix.init openmosix
+ insinto /etc
+ rm ${D}/etc/openmosix.map
+ #Test if mosix.map is present, stub appropriate openmosix.map
+ #file
+ if test -e /etc/openmosix.map; then
+ einfo "Seems you already have a openmosix.map file, using it.";
+ elif test -e /etc/mosix.map; then
+ cp /etc/mosix.map ${WORKDIR}/openmosix.map;
+ doins ${WORKDIR}/openmosix.map;
+ else
+ doins ${FILESDIR}/openmosix.map;
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo " To complete openMosix installation, edit /etc/openmosix.map or"
+ einfo " delete it to use autodiscovery."
+ einfo " Type:"
+ einfo " # rc-update add openmosix default"
+ einfo " to add openMosix to the default runlevel."
+ einfo
+}