diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-03-31 14:31:02 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-03-31 14:31:02 +0000 |
commit | db0867f0804161f03999869e6728ce978b044a1a (patch) | |
tree | 63aecc10dab8ce77fb506b8f92cbe6224909332e /sys-cluster/openmosix-user | |
parent | Unmasked, closes #18396 (diff) | |
download | gentoo-2-db0867f0804161f03999869e6728ce978b044a1a.tar.gz gentoo-2-db0867f0804161f03999869e6728ce978b044a1a.tar.bz2 gentoo-2-db0867f0804161f03999869e6728ce978b044a1a.zip |
Version bumped, autodiscovery should now work again, closes #18372
Diffstat (limited to 'sys-cluster/openmosix-user')
-rw-r--r-- | sys-cluster/openmosix-user/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/files/digest-openmosix-user-0.2.4-r6 | 1 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/openmosix-user-0.2.4-r6.ebuild | 101 |
3 files changed, 110 insertions, 1 deletions
diff --git a/sys-cluster/openmosix-user/ChangeLog b/sys-cluster/openmosix-user/ChangeLog index b3ecdd863e15..683e14f6c4c7 100644 --- a/sys-cluster/openmosix-user/ChangeLog +++ b/sys-cluster/openmosix-user/ChangeLog @@ -1,6 +1,13 @@ # 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.6 2003/03/26 11:11:20 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.7 2003/03/31 14:31:02 tantive Exp $ + +* openmosix-user-0.2.4-r6 (31 Mar 2003) + + 31 Mar 2003; Michael Imhof <tantive@gentoo.org> + Version bumped to make sure autodiscovery works when used. + That error was introduced with -r5 and discovered in #18372. + * openmosix-user-0.2.4-r5 (26 Mar 2003) diff --git a/sys-cluster/openmosix-user/files/digest-openmosix-user-0.2.4-r6 b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.2.4-r6 new file mode 100644 index 000000000000..85f88e730ce3 --- /dev/null +++ b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.2.4-r6 @@ -0,0 +1 @@ +MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494 diff --git a/sys-cluster/openmosix-user/openmosix-user-0.2.4-r6.ebuild b/sys-cluster/openmosix-user/openmosix-user-0.2.4-r6.ebuild new file mode 100644 index 000000000000..e6f39fb8fdac --- /dev/null +++ b/sys-cluster/openmosix-user/openmosix-user-0.2.4-r6.ebuild @@ -0,0 +1,101 @@ +# 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.2.4-r6.ebuild,v 1.1 2003/03/31 14:31:02 tantive Exp $ + +S=${WORKDIR}/openMosixUserland-${PV} +DESCRIPTION="User-land utilities for openMosix process migration (clustering) software" +SRC_URI="mirror://sourceforge/openmosix/openMosixUserland-${PV}.tgz" +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 Makefile | sed s/DIRS.*=/DIRS=autodiscovery/g > Makefile.tmp + mv Makefile.tmp Makefile + 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 ${CFLAGS} +INSTALL=/usr/bin/install +EOF + +#non-alpha-mode for autodiscovery (omdiscd) +cd ${S}/autodiscovery +cat openmosix.c | grep -v "define ALPHA" > openmosix.c.tmp +mv openmosix.c.tmp openmosix.c +cat showmap.c | grep -v "define ALPHA" > showmap.c.tmp +mv showmap.c.tmp showmap.c +} + +src_compile() { + cd ${S} + make clean build +} + +src_install() { + dodir /usr/lib + dodir /usr/sbin + dodir /usr/include + dodir /usr/share/include + dodir /usr/bin + dodir /bin + ln -s /usr/bin/migrate ${D}/bin/migrate + ln -s /usr/bin/mmon ${D}/bin/mmon + ln -s /usr/bin/mosctl ${D}/bin/mosctl + ln -s /usr/bin/mosrun ${D}/bin/mosrun + dodir /usr/share/man/man1 + make INSTALLBASEDIR=${D}usr \ + INSTALLMANDIR=${D}usr/share/man \ + INSTALLEXTRADIR=${D}usr/share \ + DESTDIR=${D} \ + INSTALLDIR=${D}usr \ + install + + dodoc COPYING README + exeinto /etc/init.d + newexe ${FILESDIR}/openmosix.init openmosix + insinto /etc + #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 and then type:" + einfo " # rc-update add openmosix default" + einfo " ...to add openMosix to the default runlevel. This particular version of" + einfo " openmosix-user has been designed to work with the linux-2.4.18-openmosix-r1" + einfo " or later kernel (>=sys-kernel/openmosix-sources-2.4.18)" + einfo +} |