summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-02-06 21:19:19 +0000
committerMichael Imhof <tantive@gentoo.org>2003-02-06 21:19:19 +0000
commitd4d3a605f0b8e23c210470ad67a87e7a604445f3 (patch)
treee18ee026c72ea08f9b79c33b0f80ddf3c77de82c /app-admin
parenttweak pkg_postinst msg (diff)
downloadgentoo-2-d4d3a605f0b8e23c210470ad67a87e7a604445f3.tar.gz
gentoo-2-d4d3a605f0b8e23c210470ad67a87e7a604445f3.tar.bz2
gentoo-2-d4d3a605f0b8e23c210470ad67a87e7a604445f3.zip
version bumped, ebuild cleaned up
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/openmosixview/ChangeLog8
-rw-r--r--app-admin/openmosixview/files/digest-openmosixview-1.41
-rw-r--r--app-admin/openmosixview/openmosixview-1.4.ebuild81
3 files changed, 88 insertions, 2 deletions
diff --git a/app-admin/openmosixview/ChangeLog b/app-admin/openmosixview/ChangeLog
index b691dc096469..cff517d7e8c5 100644
--- a/app-admin/openmosixview/ChangeLog
+++ b/app-admin/openmosixview/ChangeLog
@@ -1,9 +1,13 @@
# 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.7 2002/12/13 10:55:54 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/openmosixview/ChangeLog,v 1.8 2003/02/06 21:19:19 tantive Exp $
+
+*openmosixview-1.4 (06 Feb 2002)
+
+ 06 Feb 2002; Michael Imhof <tantive@gentoo.org>
+ Version bump. Cleaned up the ebuild
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
*openmosixview-1.3 (18 Nov 2002)
diff --git a/app-admin/openmosixview/files/digest-openmosixview-1.4 b/app-admin/openmosixview/files/digest-openmosixview-1.4
new file mode 100644
index 000000000000..85ec197ac0b0
--- /dev/null
+++ b/app-admin/openmosixview/files/digest-openmosixview-1.4
@@ -0,0 +1 @@
+MD5 2e8fe16860cc9581194bf14bb4896b1d openmosixview-1.4.tar.gz 2935290
diff --git a/app-admin/openmosixview/openmosixview-1.4.ebuild b/app-admin/openmosixview/openmosixview-1.4.ebuild
new file mode 100644
index 000000000000..3d3a2d786955
--- /dev/null
+++ b/app-admin/openmosixview/openmosixview-1.4.ebuild
@@ -0,0 +1,81 @@
+# 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.4.ebuild,v 1.1 2003/02/06 21:19:19 tantive Exp $
+
+S=${WORKDIR}/openmosixview-${PV}
+DESCRIPTION="cluster-management GUI for OpenMosix"
+SRC_URI="www.openmosixview.com/download/openmosixview-${PV}.tar.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"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 -ppc -sparc -alpha"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack openmosixview-${PV}.tar.gz
+
+ 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
+ for x in openmosixcollector openmosixanalyzer openmosixhistory openmosixprocs openmosixmigmon
+ do
+ cd ${S}/${x}
+ autoconf || die
+ ./configure || die
+ make || die
+ done
+}
+
+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
+ for y in openmosixcollector openmosixanalyzer openmosixhistory openmosixprocs openmosixmigmon
+ do
+ cd ${S}/${y}
+ make INSTALLBASEDIR=${D}usr INSTALLMANDIR=${D}usr/share/man DESTDIR=${D} INSTALLDIR=${D}usr install || die
+ done
+
+ 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
+}