diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-10-16 10:08:06 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-10-16 10:08:06 +0000 |
commit | 560025dfc1d72a947637e7b899a3dce2f00509a6 (patch) | |
tree | 759e130b5cc3cb4eca9f3accb679a4be3ed2acdf /sys-cluster | |
parent | move app-admin/openmosixview to sys-cluster/openmosixview (diff) | |
download | historical-560025dfc1d72a947637e7b899a3dce2f00509a6.tar.gz historical-560025dfc1d72a947637e7b899a3dce2f00509a6.tar.bz2 historical-560025dfc1d72a947637e7b899a3dce2f00509a6.zip |
move app-admin/openmosixview to sys-cluster/openmosixview
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/openmosixview/Manifest | 8 | ||||
-rw-r--r-- | sys-cluster/openmosixview/files/digest-openmosixview-1.4-r1 | 1 | ||||
-rw-r--r-- | sys-cluster/openmosixview/files/digest-openmosixview-1.5 | 1 | ||||
-rw-r--r-- | sys-cluster/openmosixview/files/openmosixcollector.init | 29 | ||||
-rw-r--r-- | sys-cluster/openmosixview/metadata.xml | 11 | ||||
-rw-r--r-- | sys-cluster/openmosixview/openmosixview-1.4-r1.ebuild | 82 | ||||
-rw-r--r-- | sys-cluster/openmosixview/openmosixview-1.5.ebuild | 67 |
7 files changed, 195 insertions, 4 deletions
diff --git a/sys-cluster/openmosixview/Manifest b/sys-cluster/openmosixview/Manifest index f34efd80734a..4c37641a80aa 100644 --- a/sys-cluster/openmosixview/Manifest +++ b/sys-cluster/openmosixview/Manifest @@ -1,7 +1,7 @@ -MD5 c28ae8db6bf0dc8bbec248ad9ec8be4a ChangeLog 1262 -MD5 d7b82f6c285220e4283d81fcb3130a82 openmosixview-1.4-r1.ebuild 2279 MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373 -MD5 4b9c37026351e65ea04fd89f6c77d6df openmosixview-1.5.ebuild 1776 +MD5 66168637bc7de802725ea7c32e8eab58 ChangeLog 1263 +MD5 e4dd75ae125542b37d6599b25a5b7ff9 openmosixview-1.5.ebuild 1777 +MD5 19a183c5c547c54dd226bd6be1c3ce49 openmosixview-1.4-r1.ebuild 2280 +MD5 36d55cc173a3505d4605028e44916ae9 files/digest-openmosixview-1.5 69 MD5 d5017d88ab775aaf821cb3e426827008 files/digest-openmosixview-1.4-r1 70 MD5 40351f8cbabc76e8c9b6860e8d92025a files/openmosixcollector.init 499 -MD5 36d55cc173a3505d4605028e44916ae9 files/digest-openmosixview-1.5 69 diff --git a/sys-cluster/openmosixview/files/digest-openmosixview-1.4-r1 b/sys-cluster/openmosixview/files/digest-openmosixview-1.4-r1 new file mode 100644 index 000000000000..85ec197ac0b0 --- /dev/null +++ b/sys-cluster/openmosixview/files/digest-openmosixview-1.4-r1 @@ -0,0 +1 @@ +MD5 2e8fe16860cc9581194bf14bb4896b1d openmosixview-1.4.tar.gz 2935290 diff --git a/sys-cluster/openmosixview/files/digest-openmosixview-1.5 b/sys-cluster/openmosixview/files/digest-openmosixview-1.5 new file mode 100644 index 000000000000..fccc7ce6ae00 --- /dev/null +++ b/sys-cluster/openmosixview/files/digest-openmosixview-1.5 @@ -0,0 +1 @@ +MD5 b312848ed6095e0e6134c3353fbef741 openmosixview-1.5.tar.gz 970328 diff --git a/sys-cluster/openmosixview/files/openmosixcollector.init b/sys-cluster/openmosixview/files/openmosixcollector.init new file mode 100644 index 000000000000..2b4b380005c2 --- /dev/null +++ b/sys-cluster/openmosixview/files/openmosixcollector.init @@ -0,0 +1,29 @@ +#! /bin/sh + +PATH=$PATH:/usr/local/bin + +case "$1" in + start) + echo -n "starting openmosixcollector" + openmosixcollector -d + ;; + stop) + echo -n "stopping openmosixcollector" + openmosixcollector -k + ;; + checkpoint) + echo -n "checkpointing openmosixcollector" + openmosixcollector -c + ;; + restart) + echo -n "restarting openmosixcollector" + openmosixcollector -r + ;; + *) + echo "Usage: $0 {start|stop|checkpoint|restart}" + exit 1 + ;; +esac + + + diff --git a/sys-cluster/openmosixview/metadata.xml b/sys-cluster/openmosixview/metadata.xml new file mode 100644 index 000000000000..2216ac015a32 --- /dev/null +++ b/sys-cluster/openmosixview/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cluster</herd> +<maintainer> + <email>tantive@gentoo.org</email> +<!-- <name>Michael Imhof</name> --> +<!-- <description>Release manager, patch manager</description> --> +</maintainer> +<!-- <longdescription></longdescription> --> +</pkgmetadata> diff --git a/sys-cluster/openmosixview/openmosixview-1.4-r1.ebuild b/sys-cluster/openmosixview/openmosixview-1.4-r1.ebuild new file mode 100644 index 000000000000..6bf62a40031f --- /dev/null +++ b/sys-cluster/openmosixview/openmosixview-1.4-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosixview/openmosixview-1.4-r1.ebuild,v 1.1 2003/10/16 10:07:49 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 + rm ${D}/etc/init.d/openmosixcollector + newexe ${FILESDIR}/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 +} diff --git a/sys-cluster/openmosixview/openmosixview-1.5.ebuild b/sys-cluster/openmosixview/openmosixview-1.5.ebuild new file mode 100644 index 000000000000..a3ad445ac130 --- /dev/null +++ b/sys-cluster/openmosixview/openmosixview-1.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosixview/openmosixview-1.5.ebuild,v 1.1 2003/10/16 10:07:49 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.3.0 + >=sys-kernel/openmosix-sources-2.4.19" + +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} + make +} + +src_install() { + dodir /usr/local/bin + + make BINDIR=${D}usr/local/bin INITDIR=${D}etc/init.d install || die + + dodoc COPYING README + + exeinto /etc/init.d + rm ${D}/etc/init.d/openmosixcollector + newexe ${FILESDIR}/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 +} |