+++ /dev/null
-# ChangeLog for sys-apps/mosix-user
-# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/ChangeLog,v 1.5 2002/10/13 21:35:15 tantive Exp $
-
-
-*mosix-user-1.8.0.ebuild (13 Oct 2002)
-
- 13 Oct 2002; Michael Imhof <tantive@gentoo.org>
- version bumped, corrected source uri.
-
-*mosix-user-1.5.7.ebuild (14 July 2002)
-
- 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
- updated keywords (-ppc)
-
- 14 Jul 2002; phoen][x <phoenix@gentoo.org> mosix-user-1.5.7.ebuild :
- Added LICENSE, KEYWORDS, SLOT.
-
-*mosix-user-1.5.2-r1 (5 Feb 2002)
-
- 14 Jul 2002; phoen][x <phoenix@gentoo.org> mosix-user-1.5.2-r1.ebuild :
- Added LICENSE, KEYWORDS, SLOT.
-
- 5 Feb 2002; Daniel Robbins <drobbins@gentoo.org> mosix-user-1.5.2-r1.ebuild:
- added missing "|| die" to make. Added ROOT variable to "make install" which
- should fix sandbox violations.
-
-*mosix-user-1.5.2 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
+++ /dev/null
-MD5 0609e667fa713f0f14b2f21d96e01c15 MOSIX-1.5.7.tar.gz 394854
+++ /dev/null
-MD5 9e8b8ce3c6ca6a5e759ada15b0086f78 MOSIX-1.8.0.tgz 104365
+++ /dev/null
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-stop() {
- ebegin "Stopping MOSIX"
- echo 0 > /proc/mosix/admin/mospe
- rm -f /var/lock/subsys/mosix
- eend
-}
-
-start() {
- ebegin "Starting MOSIX"
- #do some first-time setup if MOSIX isn't configured
-
- if [ -s /etc/overheads -a -f /proc/mosix/admin/overheads ]
- then
- /bin/grep -v '^#' /etc/overheads > /proc/mosix/admin/overheads
- fi
- if [ -s /etc/mfscosts -a -f /proc/mosix/admin/mfscosts ]
- then
- /bin/grep -v '^#' /etc/mfscosts > /proc/mosix/admin/mfscosts
- fi
- a1=
- [ -s /etc/mospe ] && a1="-p `cat /etc/mospe`"
- a2=
- [ -s /etc/mosgates ] && a2="-g `cat /etc/mosgates`"
- /sbin/setpe -W $a1 $a2 -f /etc/mosix.map
- touch /var/lock/subsys/mosix
- eend
-}
+++ /dev/null
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-stop() {
- ebegin "Stopping MOSIX"
- echo 0 > /proc/mosix/admin/mospe
- rm -f /var/lock/subsys/mosix
- eend
-}
-
-start() {
- ebegin "Starting MOSIX"
- if [ -s /etc/overheads -a -f /proc/mosix/admin/overheads ]
- then
- grep -v '^#' /etc/overheads > /proc/mosix/admin/overheads
- fi
- if [ -s /etc/mfscosts -a -f /proc/mosix/admin/mfscosts ]
- then
- grep -v '^#' /etc/mfscosts > /proc/mosix/admin/mfscosts
- fi
- local a1
- local a2
- a1=
- [ -s /etc/mospe ] && a1="-p `cat /etc/mospe`"
- a2=
- [ -s /etc/mosgates ] && a2="-g `cat /etc/mosgates`"
- /sbin/setpe -W $a1 $a2 -f /etc/mosix.map
- touch /var/lock/subsys/mosix
- eend
-}
+++ /dev/null
-# YOU WILL HAVE TO DELETE ALL LINES CONTAINING COMMENTS FROM THIS FILE!
-#
-# col 1: node number
-# col 2: ip address of node
-# col 3: span (if you are specifying individual nodes on each line, should be 1)
-# All nodes in your cluster should have identical data in this file.
-#
-# YOU WILL HAVE TO DELETE ALL LINES CONTAINING COMMENTS FROM THIS FILE!
-
-
-1 192.168.1.1 1
-2 192.168.1.2 1
+++ /dev/null
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/mosix-user-1.5.7.ebuild,v 1.12 2002/11/03 21:55:22 tantive Exp $
-
-S=${WORKDIR}/user
-DESCRIPTION="User-land utilities for MOSIX process migration (clustering) software"
-SRC_URI="http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${PV}.tar.gz"
-HOMEPAGE="http://www.mosix.org/"
-KEYWORDS="x86 -ppc"
-SLOT="0"
-LICENSE="MOSIX"
-DEPEND=">=sys-libs/ncurses-5.2"
-
-src_unpack() {
- mkdir ${S}; cd ${S}
- tar -xz --no-same-owner -f ${DISTDIR}/${A} MOSIX-${PV}/user.tar MOSIX-${PV}/manuals.tar
- mv MOSIX-${PV}/*.tar .
- rm -rf MOSIX-${PV}
- tar -x --no-same-owner -f user.tar -C ${S}
- tar -x --no-same-owner -f manuals.tar -C ${S}
-}
-
-src_compile() {
- cd ${S}
- local x
- for x in lib/moslib sbin/setpe sbin/tune bin/mosrun usr.bin/mon usr.bin/migrate usr.bin/mosctl
- do
- cd $x
- make || die
- cd ../..
- done
-}
-
-src_install() {
- cd ${S}
- make ROOT=${D} PREFIX=${D}/usr install
- dodir /usr/share
- cd ${D}/usr
- mv man share
- exeinto /etc/init.d
- newexe ${FILESDIR}/mosix.init mosix
- insinto /etc
- #stub mosix.map file
- doins ${FILESDIR}/mosix.map
- cd ${S}
- doman man?/*
-}
-
-pkg_postinst() {
- echo
- echo " To complete MOSIX installation, edit /etc/mosix.map and then type:
- echo "# rc-update add mosix default
- echo " ...to add MOSIX to the default runlevel. This particular version of"
- echo " mosix-user has been designed to work with the 2.4.13 kernel."
- echo
-}
+++ /dev/null
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/mosix-user-1.8.0.ebuild,v 1.7 2002/11/03 21:55:22 tantive Exp $
-
-S=${WORKDIR}/user
-DESCRIPTION="User-land utilities for MOSIX process migration (clustering) software"
-SRC_URI="http://www.mosix.org/ftps/MOSIX-${PV}.tgz"
-HOMEPAGE="http://www.mosix.org/"
-KEYWORDS="~x86 -ppc -sparc -spar64 -alpha"
-SLOT="0"
-LICENSE="MOSIX"
-DEPEND=">=sys-libs/ncurses-5.2"
-
-pkg_setup() {
- if [ -z "`readlink /usr/src/linux|grep mosix`" ]; then
- eerror
- eerror "Your linux kernel sources do not appear to be mosix,"
- eerror "please check your /usr/src/linux symlink."
- eerror
- die
- fi
-}
-
-src_unpack() {
- mkdir ${S}; cd ${S}
- tar -xz --no-same-owner -f ${DISTDIR}/${A} MOSIX-${PV}/user.tar MOSIX-${PV}/manuals.tar
- mv MOSIX-${PV}/*.tar .
- rm -rf MOSIX-${PV}
- tar -x --no-same-owner -f user.tar -C ${S}
- tar -x --no-same-owner -f manuals.tar -C ${S}
-}
-
-src_compile() {
- cd ${S}
- local x
- for x in lib/moslib sbin/setpe sbin/tune bin/mosrun usr.bin/mon usr.bin/migrate usr.bin/mosctl
- do
- cd $x
- make || die
- cd ../..
- done
-}
-
-src_install() {
- cd ${S}
- make ROOT=${D} PREFIX=${D}/usr install
- dodir /usr/share
- cd ${D}/usr
- mv man share
- exeinto /etc/init.d
- newexe ${FILESDIR}/mosix.init mosix
- insinto /etc
- #stub mosix.map file
- doins ${FILESDIR}/mosix.map
- cd ${S}
- doman man?/*
-}
-
-pkg_postinst() {
- echo
- echo " To complete MOSIX installation, edit /etc/mosix.map and then type:
- echo "# rc-update add mosix default
- echo " ...to add MOSIX to the default runlevel. This particular version of"
- echo " mosix-user has been designed to work with the 2.4.19 kernel."
- echo
-}
+++ /dev/null
-# 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.8 2002/10/17 17:22:07 tantive Exp $
-
-* openmosix-user-0.2.4-r4 (17 Oct 2002)
-
- 17 Oct 2002; Michael Imhof <tantive@gentoo.org>
- Sometimes the old method of creating the Makefile could result
- in a Makefile of zero length. Fixed and closed #8816.
-
-* openmosix-user-0.2.4-r3 (14 Oct 2002)
-
- 14 Oct 2002; Michael Imhof <tantive@gentoo.org>
- Put the autodiscovery daemon (omdiscd) into non-alpha-mode.
-
-* openmosix-user-0.2.4-r2 (10 Oct 2002)
-
- 10 Oct 2002; Michael Imhof <tantive@gentoo.org>
- Enabled the autodiscovery daemon (omdiscd).
-
-* openmosix-user-0.2.4-r1 (30 Aug 2002)
-
- 30 Aug 2002; Michael Imhof <tantive@gentoo.org>
- Created symlinks in /bin for /usr/bin/[mmon/migrate/mosctl/mosrun] to make
- scripts like nomig run.
-
-* openmosix-user-0.2.4 (19 Aug 2002)
-
- 19 Aug 2002; Michael Imhof <tantive@gentoo.org>:
- Version bump to 0.2.4 for new openmosix-sources
-
-* openmosix-user-0.2.0 (23 Jun 2002)
-
- 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
- updated keywords (-ppc), no mosix works on ppc
-
- 23 Jun 2002; Brandon Low <lostlogic@gentoo.org> openmosix-0.2.0.ebuild:
- Version bump to 0.2.0 for new openmosix-sources
+++ /dev/null
-MD5 9d67096ca1c9bc3224773caae54235ff openMosixUserland-0.2.0.tar.gz 42030
+++ /dev/null
-MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494
+++ /dev/null
-MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494
+++ /dev/null
-MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494
+++ /dev/null
-MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494
+++ /dev/null
-MD5 2e4e630a391900b331323bffea5c5547 openMosixUserland-0.2.4.tgz 65494
+++ /dev/null
-# YOU WILL HAVE TO DELETE ALL LINES CONTAINING COMMENTS FROM THIS FILE!
-#
-# col 1: node number
-# col 2: ip address of node
-# col 3: span (if you are specifying individual nodes on each line, should be 1)
-# All nodes in your cluster should have identical data in this file.
-#
-# YOU WILL HAVE TO DELETE ALL LINES CONTAINING COMMENTS FROM THIS FILE!
-
-
-1 192.168.1.1 1
-2 192.168.1.2 1
+++ /dev/null
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-stop() {
- ebegin "Stopping openMosix"
- setpe -off
- rm -f /var/lock/subsys/mosix
- eend
-}
-
-start() {
- ebegin "Starting openMosix"
- if [ -s /etc/overheads -a -f /proc/mosix/admin/overheads ]
- then
- grep -v '^#' /etc/overheads > /proc/mosix/admin/overheads
- fi
- if [ -s /etc/mfscosts -a -f /proc/mosix/admin/mfscosts ]
- then
- grep -v '^#' /etc/mfscosts > /proc/mosix/admin/mfscosts
- fi
- local a1
- local a2
- a1=
- [ -s /etc/mospe ] && a1="-p `cat /etc/mospe`"
- a2=
- [ -s /etc/mosgates ] && a2="-g `cat /etc/mosgates`"
- setpe -W $a1 $a2 -f /etc/mosix.map
- touch /var/lock/subsys/mosix
- eend
-}
+++ /dev/null
-# 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.6 2002/11/03 21:55:58 tantive Exp $
-
-S=${WORKDIR}/openMosixUserland-${PV}
-DESCRIPTION="User-land utilities for openMosix process migration (clustering) software"
-SRC_URI="mirror://sourceforge/openmosix/openMosixUserland-${PV}.tar.gz"
-HOMEPAGE="http://www.openmosix.com/"
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2
- >=sys-kernel/openmosix-sources-2.4.17"
-RDEPEND="${DEPEND}
- sys-apps/findutils
- sys-devel/perl"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 -ppc -sparc -sparc64 -alpha"
-
-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 ${CFLAGS}
-INSTALL=/usr/bin/install
-EOF
-# #use perl, find and xargs to convert /usr/man references to /usr/share/man (FHS)
-# find . -iname Makefile | xargs perl -pi.orig -e "s:INSTALLDIR\)/man:INSTALLDIR)/share/man:g"
-}
-
-src_compile() {
- cd ${S}
- make clean build
-}
-
-src_install () {
- sed -e "s:INSTALLEXTRADIR:INSTALLBASEDIR:" moslib/Makefile > moslib/Makefile.hacked
- mv moslib/Makefile.hacked moslib/Makefile
- dodir /usr/lib
- dodir /usr/sbin
- dodir /usr/include
- dodir /usr/bin
- dodir /usr/share/man/man1
- make INSTALLBASEDIR=${D}usr \
- 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.17-openmosix-r1"
- einfo " or later kernel (>=sys-kernel/openmosix-sources-2.4.17)"
- einfo
-}
+++ /dev/null
-# 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.5 2002/10/19 02:52:22 vapier 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 > 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
-}
-
-src_compile() {
- cd ${S}
- make clean build
-}
-
-src_install() {
- dodir /usr/lib
- dodir /usr/sbin
- dodir /usr/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
-}
+++ /dev/null
-# 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.3 2002/10/19 02:52:22 vapier 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
-}
-
-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
-}
+++ /dev/null
-# 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.2 2002/10/19 02:52:22 vapier 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
-}
+++ /dev/null
-# 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-r4.ebuild,v 1.2 2002/10/19 02:52:22 vapier 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.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
- #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
-}
+++ /dev/null
-# 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.4 2002/11/03 21:55:58 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"
-
-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 ${CFLAGS}
-INSTALL=/usr/bin/install
-EOF
-}
-
-src_compile() {
- cd ${S}
- make clean build
-}
-
-src_install () {
- dodir /usr/lib
- dodir /usr/sbin
- dodir /usr/include
- dodir /usr/bin
- 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
-}