diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-06-09 13:36:19 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-06-09 13:36:19 +0000 |
commit | 01af4dc2450466d8c360d95ebf6bdf41d91ccc94 (patch) | |
tree | a0c40d79ad5efa08eae14499b2c754f290ed050a /sys-cluster/openmosix-user | |
parent | Version bump. (diff) | |
download | gentoo-2-01af4dc2450466d8c360d95ebf6bdf41d91ccc94.tar.gz gentoo-2-01af4dc2450466d8c360d95ebf6bdf41d91ccc94.tar.bz2 gentoo-2-01af4dc2450466d8c360d95ebf6bdf41d91ccc94.zip |
Version bump.
Diffstat (limited to 'sys-cluster/openmosix-user')
-rw-r--r-- | sys-cluster/openmosix-user/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.2 | 1 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/openmosix-user-0.3.2.ebuild | 93 |
4 files changed, 102 insertions, 3 deletions
diff --git a/sys-cluster/openmosix-user/ChangeLog b/sys-cluster/openmosix-user/ChangeLog index 294c725e9d22..ee122c69f9cf 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.11 2003/05/07 21:26:31 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.12 2003/06/09 13:36:02 tantive Exp $ + +* openmosix-user-0.3.2 (09 Jun 2003) + + 09 Jun 2003; Michael Imhof <tantive@gentoo.org> + Version bump. * openmosix-user-0.3.-r3 (07 May 2003) diff --git a/sys-cluster/openmosix-user/Manifest b/sys-cluster/openmosix-user/Manifest index ae50f71f9085..02399fc9f691 100644 --- a/sys-cluster/openmosix-user/Manifest +++ b/sys-cluster/openmosix-user/Manifest @@ -1,9 +1,9 @@ MD5 131c4803f4d8b9d1d7b6f30472fb3f8a openmosix-user-0.3-r2.ebuild 2434 MD5 010bdc7b672f424e9dcce6c218591648 openmosix-user-0.3-r4.ebuild 2434 MD5 e21d23eb9248958047f0f443fe7049fd openmosix-user-0.3-r1.ebuild 2831 -MD5 2cab86528cd787f2e0c11b34ef58e47d openmosix-user-0.3.2.ebuild 2437 +MD5 967b8f6d44babc659304d466aab9d168 openmosix-user-0.3.2.ebuild 2408 MD5 84f69caf636e94ad8e5267b67dd3d4a3 openmosix-user-0.3.ebuild 2431 -MD5 4a2375f96a60931b27004f5112455990 ChangeLog 2769 +MD5 2e3726276b96c4c80610e743f873ba54 ChangeLog 2874 MD5 31ab641339939de36b5bbf012e013b90 openmosix-user-0.3-r3.ebuild 2434 MD5 8bba8ee22957c18e2fce4c810644323e files/openmosix.map 382 MD5 62fdfc11ad80c04617526a61b275fed8 files/openmosix.init 2741 diff --git a/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.2 b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.2 new file mode 100644 index 000000000000..b47b87d6cb9b --- /dev/null +++ b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.2 @@ -0,0 +1 @@ +MD5 7dd1f92934967f96c125f6aa60145bad openmosix-tools-0.3.2.tar.gz 371786 diff --git a/sys-cluster/openmosix-user/openmosix-user-0.3.2.ebuild b/sys-cluster/openmosix-user/openmosix-user-0.3.2.ebuild new file mode 100644 index 000000000000..9c907575d470 --- /dev/null +++ b/sys-cluster/openmosix-user/openmosix-user-0.3.2.ebuild @@ -0,0 +1,93 @@ +# 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.2.ebuild,v 1.1 2003/06/09 13:36:02 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.gz" +HOMEPAGE="http://www.openmosix.com/" +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2 + >=sys-kernel/openmosix-sources-2.4.18" +RDEPEND="${DEPEND} + sys-apps/findutils + dev-lang/perl" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 -ppc -sparc -alpha" + +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 \ + --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 +} |