diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2005-04-17 11:59:23 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2005-04-17 11:59:23 +0000 |
commit | 65116337885d251249e4ce7c803fd675f39a756d (patch) | |
tree | b83611fb98aa831706436cddbd5401622ee3ee89 /sys-cluster/openmosix-user | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-65116337885d251249e4ce7c803fd675f39a756d.tar.gz gentoo-2-65116337885d251249e4ce7c803fd675f39a756d.tar.bz2 gentoo-2-65116337885d251249e4ce7c803fd675f39a756d.zip |
bug #85435 fixed
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster/openmosix-user')
-rw-r--r-- | sys-cluster/openmosix-user/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/Manifest | 18 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.6-r3 | 1 | ||||
-rw-r--r-- | sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild | 103 |
4 files changed, 116 insertions, 14 deletions
diff --git a/sys-cluster/openmosix-user/ChangeLog b/sys-cluster/openmosix-user/ChangeLog index 1be7448f81d4..e4a02c0769e1 100644 --- a/sys-cluster/openmosix-user/ChangeLog +++ b/sys-cluster/openmosix-user/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/openmosix-user # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.24 2005/01/18 16:35:21 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.25 2005/04/17 11:59:23 voxus Exp $ + +*openmosix-user-0.3.6-r3 (17 Apr 2005) + + 17 Apr 2005; Konstantin Arkhipov <voxus@gentoo.org> + +openmosix-user-0.3.6-r3.ebuild: + Fixed mosrun script path's. Closes #85435. 18 Jan 2005; Michael Imhof <tantive@gentoo.org> openmosix-user-0.3.6-r2.ebuild: diff --git a/sys-cluster/openmosix-user/Manifest b/sys-cluster/openmosix-user/Manifest index e0524ad4e4c0..6021d28587ae 100644 --- a/sys-cluster/openmosix-user/Manifest +++ b/sys-cluster/openmosix-user/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 MD5 2342b3d222d1985658bb5a0544bb78c9 openmosix-user-0.3.6-r2.ebuild 2491 -MD5 c6e4fa9cfe0a9a03f047fb1dc2800d44 ChangeLog 4684 +MD5 448aa7e55e881b9aa45af3e8825170d4 openmosix-user-0.3.6-r3.ebuild 2666 +MD5 c65151eecfcb42f8cbf0d181123fd794 ChangeLog 4859 +MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 +MD5 8bba8ee22957c18e2fce4c810644323e files/openmosix.map 382 MD5 7f4416fd3fa777945fd838f447b7b977 files/openmosix.init 2851 MD5 2cd0de3f32bf02aa324ddc84dd3a33e6 files/digest-openmosix-user-0.3.6-r2 75 -MD5 8bba8ee22957c18e2fce4c810644323e files/openmosix.map 382 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFB7TrkKtJO8LeSoosRAgbWAJ9BbnfxEEfGNAG7kHEeUALOfvok6QCfU+A2 -XLEv1CDkM/EOM6ORzCGyZtc= -=tNZP ------END PGP SIGNATURE----- +MD5 2cd0de3f32bf02aa324ddc84dd3a33e6 files/digest-openmosix-user-0.3.6-r3 75 diff --git a/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.6-r3 b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.6-r3 new file mode 100644 index 000000000000..aedd439df431 --- /dev/null +++ b/sys-cluster/openmosix-user/files/digest-openmosix-user-0.3.6-r3 @@ -0,0 +1 @@ +MD5 e947c622b945fda7f24a949b73ba5280 openmosix-tools-0.3.6-2.tar.gz 515181 diff --git a/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild b/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild new file mode 100644 index 000000000000..fd1c8f2656c7 --- /dev/null +++ b/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild,v 1.1 2005/04/17 11:59:23 voxus Exp $ + +inherit toolchain-funcs + +OMRELEASE=2 +S=${WORKDIR}/openmosix-tools-${PV}-${OMRELEASE} +DESCRIPTION="User-land utilities for openMosix process migration (clustering) software" +SRC_URI="mirror://sourceforge/openmosix/openmosix-tools-${PV}-${OMRELEASE}.tar.gz" +HOMEPAGE="http://www.openmosix.com/" +DEPEND="virtual/libc + >=sys-libs/ncurses-5.2 + >=sys-kernel/openmosix-sources-2.4.24" +RDEPEND="${DEPEND} + sys-apps/findutils + dev-lang/perl" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="-* ~x86" +IUSE="" + +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=$(tc-getCC) +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 || die "configure failed" + emake || die "make failed" + + cd ${S}/mosrun + for n in `echo cpujob fastdecay iojob nodecay nomig runhome slowdecay`; do + sed -e "s:${D}::" -i $n; + done +} + +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 +} |