From 647d7be800ece76cda905f92bdd8b0da0f9711f1 Mon Sep 17 00:00:00 2001 From: Michael Imhof Date: Sun, 13 Oct 2002 22:27:01 +0000 Subject: [PATCH] Put autodiscovery into non-alpha-mode. Fixed typos. --- sys-apps/openmosix-user/ChangeLog | 7 +- .../files/digest-openmosix-user-0.2.4-r3 | 1 + .../openmosix-user-0.2.0.ebuild | 6 +- .../openmosix-user-0.2.4-r1.ebuild | 6 +- .../openmosix-user-0.2.4-r2.ebuild | 8 +- .../openmosix-user-0.2.4-r3.ebuild | 94 +++++++++++++++++++ .../openmosix-user-0.2.4.ebuild | 6 +- 7 files changed, 115 insertions(+), 13 deletions(-) create mode 100644 sys-apps/openmosix-user/files/digest-openmosix-user-0.2.4-r3 create mode 100644 sys-apps/openmosix-user/openmosix-user-0.2.4-r3.ebuild diff --git a/sys-apps/openmosix-user/ChangeLog b/sys-apps/openmosix-user/ChangeLog index f9ca5c2e3d38..1ed3f64f58d1 100644 --- a/sys-apps/openmosix-user/ChangeLog +++ b/sys-apps/openmosix-user/ChangeLog @@ -1,8 +1,13 @@ # ChangeLog for sys-apps/openmosix-user # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/ChangeLog,v 1.6 2002/10/10 12:13:18 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/ChangeLog,v 1.7 2002/10/13 22:27:01 tantive Exp $ +* openmosix-user-0.2.4-r3 (14 Oct 2002) + + 14 Oct 2002; Michael Imhof + Put the autodiscovery daemon (omdiscd) into non-alpha-mode. + * openmosix-user-0.2.4-r2 (10 Oct 2002) 10 Oct 2002; Michael Imhof diff --git a/sys-apps/openmosix-user/files/digest-openmosix-user-0.2.4-r3 b/sys-apps/openmosix-user/files/digest-openmosix-user-0.2.4-r3 new file mode 100644 index 000000000000..85f88e730ce3 --- /dev/null +++ b/sys-apps/openmosix-user/files/digest-openmosix-user-0.2.4-r3 @@ -0,0 +1 @@ +MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494 diff --git a/sys-apps/openmosix-user/openmosix-user-0.2.0.ebuild b/sys-apps/openmosix-user/openmosix-user-0.2.0.ebuild index b7366548ae89..481150b9e1f5 100644 --- a/sys-apps/openmosix-user/openmosix-user-0.2.0.ebuild +++ b/sys-apps/openmosix-user/openmosix-user-0.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.0.ebuild,v 1.4 2002/09/28 17:02:25 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.0.ebuild,v 1.5 2002/10/13 22:27:01 tantive Exp $ S=${WORKDIR}/openMosixUserland-${PV} DESCRIPTION="User-land utilities for openMosix process migration (clustering) software" @@ -61,8 +61,8 @@ src_install () { pkg_postinst() { einfo - einfo " To complete openMosix installation, edit /etc/mosix.map and then type: - einfo "# rc-update add openmosix default + einfo " To complete openMosix installation, edit /etc/mosix.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.17-openmosix-r1" einfo " or later kernel (>=sys-kernel/openmosix-sources-2.4.17)" diff --git a/sys-apps/openmosix-user/openmosix-user-0.2.4-r1.ebuild b/sys-apps/openmosix-user/openmosix-user-0.2.4-r1.ebuild index 872789a41248..90bb78ca7efa 100644 --- a/sys-apps/openmosix-user/openmosix-user-0.2.4-r1.ebuild +++ b/sys-apps/openmosix-user/openmosix-user-0.2.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4-r1.ebuild,v 1.3 2002/09/28 17:02:25 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4-r1.ebuild,v 1.4 2002/10/13 22:27:01 tantive Exp $ S=${WORKDIR}/openMosixUserland-${PV} DESCRIPTION="User-land utilities for openMosix process migration (clustering) software" @@ -76,8 +76,8 @@ src_install () { pkg_postinst() { einfo - einfo " To complete openMosix installation, edit /etc/mosix.map and then type: - einfo "# rc-update add openmosix default + einfo " To complete openMosix installation, edit /etc/mosix.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)" diff --git a/sys-apps/openmosix-user/openmosix-user-0.2.4-r2.ebuild b/sys-apps/openmosix-user/openmosix-user-0.2.4-r2.ebuild index 4991573a6855..acff537a74ab 100644 --- a/sys-apps/openmosix-user/openmosix-user-0.2.4-r2.ebuild +++ b/sys-apps/openmosix-user/openmosix-user-0.2.4-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4-r2.ebuild,v 1.1 2002/10/10 12:13:18 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4-r2.ebuild,v 1.2 2002/10/13 22:27:01 tantive Exp $ S=${WORKDIR}/openMosixUserland-${PV} DESCRIPTION="User-land utilities for openMosix process migration (clustering) software" @@ -41,6 +41,8 @@ INSTALLDIR=/usr CFLAGS=-I/m/include -I./ -I/usr/include -I\$(OPENMOSIX)/include ${CFLAGS} INSTALL=/usr/bin/install EOF + + } src_compile() { @@ -78,8 +80,8 @@ src_install () { pkg_postinst() { einfo - einfo " To complete openMosix installation, edit /etc/mosix.map and then type: - einfo "# rc-update add openmosix default + einfo " To complete openMosix installation, edit /etc/mosix.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)" diff --git a/sys-apps/openmosix-user/openmosix-user-0.2.4-r3.ebuild b/sys-apps/openmosix-user/openmosix-user-0.2.4-r3.ebuild new file mode 100644 index 000000000000..8ec905a5b964 --- /dev/null +++ b/sys-apps/openmosix-user/openmosix-user-0.2.4-r3.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4-r3.ebuild,v 1.1 2002/10/13 22:27:01 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 + sys-devel/perl" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 -ppc -sparc -sparc64 -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 + 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 + #stub mosix.map file + doins ${FILESDIR}/mosix.map + +} + +pkg_postinst() { + einfo + einfo " To complete openMosix installation, edit /etc/mosix.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 +} diff --git a/sys-apps/openmosix-user/openmosix-user-0.2.4.ebuild b/sys-apps/openmosix-user/openmosix-user-0.2.4.ebuild index 841bf45b015e..90de6b6afe5a 100644 --- a/sys-apps/openmosix-user/openmosix-user-0.2.4.ebuild +++ b/sys-apps/openmosix-user/openmosix-user-0.2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4.ebuild,v 1.2 2002/09/28 17:02:25 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openmosix-user/openmosix-user-0.2.4.ebuild,v 1.3 2002/10/13 22:27:01 tantive Exp $ S=${WORKDIR}/openMosixUserland-${PV} DESCRIPTION="User-land utilities for openMosix process migration (clustering) software" @@ -58,8 +58,8 @@ src_install () { pkg_postinst() { einfo - einfo " To complete openMosix installation, edit /etc/mosix.map and then type: - einfo "# rc-update add openmosix default + einfo " To complete openMosix installation, edit /etc/mosix.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)" -- 2.26.2