diff options
author | Michael Imhof <tantive@gentoo.org> | 2002-11-04 21:30:31 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2002-11-04 21:30:31 +0000 |
commit | 0cb1647c4b5b1fcb417d4b50d2a77592f4c667dc (patch) | |
tree | eb3fb6b44326e517c3a43f3424f3ac2cf2c64503 /app-admin | |
parent | Bumping to latest stable (0.8.6) (diff) | |
download | gentoo-2-0cb1647c4b5b1fcb417d4b50d2a77592f4c667dc.tar.gz gentoo-2-0cb1647c4b5b1fcb417d4b50d2a77592f4c667dc.tar.bz2 gentoo-2-0cb1647c4b5b1fcb417d4b50d2a77592f4c667dc.zip |
Should fix #9860
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/openmosixview/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/openmosixview/files/digest-openmosixview-1.2-r1 | 2 | ||||
-rw-r--r-- | app-admin/openmosixview/openmosixview-1.2-r1.ebuild | 102 |
3 files changed, 111 insertions, 1 deletions
diff --git a/app-admin/openmosixview/ChangeLog b/app-admin/openmosixview/ChangeLog index 207b2e6c0414..97177b3a7b28 100644 --- a/app-admin/openmosixview/ChangeLog +++ b/app-admin/openmosixview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/openmosixview # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/openmosixview/ChangeLog,v 1.3 2002/11/04 20:11:38 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/openmosixview/ChangeLog,v 1.4 2002/11/04 21:30:31 tantive Exp $ + + +*openmosixview-1.2-r1 (04 Nov 2002) + + 04 Nov 2002; Michael Imhof <tantive@gentoo.org> + Added a patch for gcc-3.2. 04 Nov 2002; Michael Imhof <tantive@gentoo.org> Corrected path for openmosix-user diff --git a/app-admin/openmosixview/files/digest-openmosixview-1.2-r1 b/app-admin/openmosixview/files/digest-openmosixview-1.2-r1 new file mode 100644 index 000000000000..85c8c9f7ee48 --- /dev/null +++ b/app-admin/openmosixview/files/digest-openmosixview-1.2-r1 @@ -0,0 +1,2 @@ +MD5 81261639c4ce7afe54d48d10ade6a1c2 openmosixview-1.2.tar.gz 2286379 +MD5 be79b5a123d3e722df3c9bf77014b6fa openmosixview-1.2.patchforgcc3.gz 2209 diff --git a/app-admin/openmosixview/openmosixview-1.2-r1.ebuild b/app-admin/openmosixview/openmosixview-1.2-r1.ebuild new file mode 100644 index 000000000000..6aa6876602b4 --- /dev/null +++ b/app-admin/openmosixview/openmosixview-1.2-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/openmosixview/openmosixview-1.2-r1.ebuild,v 1.1 2002/11/04 21:30:31 tantive Exp $ + +S=${WORKDIR}/openmosixview +DESCRIPTION="cluster-management GUI for OpenMosix" +SRC_URI="www.openmosixview.com/download/openmosixview-${PV}.tar.gz www.openmosixview.com/download/openmosixview-${PV}.patchforgcc3.gz" +HOMEPAGE="http://www.openmosixview.com" +IUSE="" + +DEPEND=">=x11-libs/qt-2.3.0 + >=sys-cluster/openmosix-user-0.2.4 + >=sys-kernel/openmosix-sources-2.4.18 + <=sys-devel/autoconf-2.13" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 -ppc -sparc -sparc64 -alpha" + +src_unpack() { + cd ${WORKDIR} + unpack openmosixview-${PV}.tar.gz + cat ${DISTDIR}/${P}.patchforgcc3.gz | gunzip -c | patch -p0 || die + + + cat > configuration << EOF + + # test which version of qt is installed + if [ -d /usr/qt/3 ]; then + QTDIR=/usr/qt/3; else + QTDIR=/usr/qt/2; + fi + + CC=gcc +EOF +} + +src_compile() { + cd ${S} + autoconf || die + ./configure || die + make || die + + cd ${S}/openmosixcollector + autoconf || die + ./configure || die + make || die + + cd ${S}/openmosixanalyzer + autoconf || die + ./configure || die + make || die + + cd ${S}/openmosixhistory + autoconf || die + ./configure || die + make || die + + cd ${S}/openmosixprocs + autoconf || die + ./configure || die + make || die +} + +src_install() { + dodir /usr/sbin + dodir /usr/local/bin + + make INSTALLBASEDIR=${D}usr INSTALLMANDIR=${D}usr/share/man DESTDIR=${D} INSTALLDIR=${D}usr install || die + cd ${S}/openmosixcollector + make INSTALLBASEDIR=${D}usr INSTALLMANDIR=${D}usr/share/man DESTDIR=${D} INSTALLDIR=${D}usr install || die + cd ${S}/openmosixanalyzer + make INSTALLBASEDIR=${D}usr INSTALLMANDIR=${D}usr/share/man DESTDIR=${D} INSTALLDIR=${D}usr install || die + cd ${S}/openmosixhistory + make INSTALLBASEDIR=${D}usr INSTALLMANDIR=${D}usr/share/man DESTDIR=${D} INSTALLDIR=${D}usr install || die + cd ${S}/openmosixprocs + make INSTALLBASEDIR=${D}usr INSTALLMANDIR=${D}usr/share/man DESTDIR=${D} INSTALLDIR=${D}usr install || die + + dodoc COPYING README + + exeinto /etc/init.d + newexe ${S}/openmosixcollector/openmosixcollector.init openmosixcollector +} + +pkg_postinst() { + einfo + einfo "Openmosixview will allow you to monitor all nodes in your cluster." + einfo + einfo "You will need ssh to all cluster-nodes without password." + einfo + einfo "To setup your other nodes you will have to copy the" + einfo "openmosixprocs binary onto each node" + einfo "(scp /usr/local/bin/openmosixprocs your_node:/usr/local/bin/openmosixprocs)" + einfo + einfo "Start openmosixcollector" + einfo "manually (/etc/init.d/openmosixcollector start) or" + einfo "automatically using rc-update" + einfo "(rc-update add /etc/init.d/openmosixcollector default)." + einfo + einfo "Run openmosixview by simply typing openmosixview." + einfo +} |