summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-06-09 21:51:45 +0000
committerMichael Imhof <tantive@gentoo.org>2003-06-09 21:51:45 +0000
commitb9ac6f5fab5ecb77b877c3e44c804c236f627058 (patch)
tree7ef2254516a26a61ee6a4234956128196241d4d6 /sys-cluster/ganglia-monitor-core
parentInitial import. Ebuild submitted by Chad Schmutzer <schmutze@its.caltech.edu>... (diff)
downloadhistorical-b9ac6f5fab5ecb77b877c3e44c804c236f627058.tar.gz
historical-b9ac6f5fab5ecb77b877c3e44c804c236f627058.tar.bz2
historical-b9ac6f5fab5ecb77b877c3e44c804c236f627058.zip
Initial import. Ebuild submitted by Chad Schmutzer <schmutze@its.caltech.edu>. Should close #22305.
Diffstat (limited to 'sys-cluster/ganglia-monitor-core')
-rw-r--r--sys-cluster/ganglia-monitor-core/Manifest5
-rw-r--r--sys-cluster/ganglia-monitor-core/files/digest-ganglia-monitor-core-2.5.31
-rw-r--r--sys-cluster/ganglia-monitor-core/files/gmetad.rc17
-rw-r--r--sys-cluster/ganglia-monitor-core/files/gmond.rc17
-rw-r--r--sys-cluster/ganglia-monitor-core/ganglia-monitor-core-2.5.3.ebuild49
5 files changed, 88 insertions, 1 deletions
diff --git a/sys-cluster/ganglia-monitor-core/Manifest b/sys-cluster/ganglia-monitor-core/Manifest
index 4f0dd335696f..a90dc7b8eb15 100644
--- a/sys-cluster/ganglia-monitor-core/Manifest
+++ b/sys-cluster/ganglia-monitor-core/Manifest
@@ -1,2 +1,5 @@
-MD5 f1e445c5ed9e2cf58c893d141bcaa0b3 ganglia-monitor-core-2.5.3.ebuild 1081
+MD5 e3b247c4c6f2d6d51ed18340e0158128 ganglia-monitor-core-2.5.3.ebuild 1211
+MD5 6a6b3621cc893295eb61699b272c82ff ChangeLog 440
MD5 e23252239ffa30644727a70ca8abfc4f files/digest-ganglia-monitor-core-2.5.3 78
+MD5 a9bd493b3ee873b7e60b48e42128fe6c files/gmetad.rc 327
+MD5 cf0edabdb493febbca959d2a946b5878 files/gmond.rc 321
diff --git a/sys-cluster/ganglia-monitor-core/files/digest-ganglia-monitor-core-2.5.3 b/sys-cluster/ganglia-monitor-core/files/digest-ganglia-monitor-core-2.5.3
new file mode 100644
index 000000000000..4a542dbf1659
--- /dev/null
+++ b/sys-cluster/ganglia-monitor-core/files/digest-ganglia-monitor-core-2.5.3
@@ -0,0 +1 @@
+MD5 c6bd5f5d21b3b84286d474f7e57f5101 ganglia-monitor-core-2.5.3.tar.gz 413479
diff --git a/sys-cluster/ganglia-monitor-core/files/gmetad.rc b/sys-cluster/ganglia-monitor-core/files/gmetad.rc
new file mode 100644
index 000000000000..07fb04e5c7b8
--- /dev/null
+++ b/sys-cluster/ganglia-monitor-core/files/gmetad.rc
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting GANGLIA gmetad: "
+ start-stop-daemon --start --quiet --exec /usr/sbin/gmetad
+ eend $? "Failed to start gmetad"
+}
+
+stop() {
+ ebegin "Shutting down GANGLIA gmetad: "
+ start-stop-daemon --stop --quiet --exec /usr/sbin/gmetad
+ eend $? "Failed to stop gmetad"
+}
diff --git a/sys-cluster/ganglia-monitor-core/files/gmond.rc b/sys-cluster/ganglia-monitor-core/files/gmond.rc
new file mode 100644
index 000000000000..3cf9cdac8b92
--- /dev/null
+++ b/sys-cluster/ganglia-monitor-core/files/gmond.rc
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting GANGLIA gmond: "
+ start-stop-daemon --start --quiet --exec /usr/sbin/gmond
+ eend $? "Failed to start gmond"
+}
+
+stop() {
+ ebegin "Shutting down GANGLIA gmnod: "
+ start-stop-daemon --stop --quiet --exec /usr/sbin/gmond
+ eend $? "Failed to stop gmond"
+}
diff --git a/sys-cluster/ganglia-monitor-core/ganglia-monitor-core-2.5.3.ebuild b/sys-cluster/ganglia-monitor-core/ganglia-monitor-core-2.5.3.ebuild
new file mode 100644
index 000000000000..fbbd41bbe57c
--- /dev/null
+++ b/sys-cluster/ganglia-monitor-core/ganglia-monitor-core-2.5.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia-monitor-core/ganglia-monitor-core-2.5.3.ebuild,v 1.1 2003/06/09 21:51:28 tantive Exp $
+
+DESCRIPTION="Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids"
+HOMEPAGE="http://ganglia.sourceforge.net/"
+SRC_URI="http://unc.dl.sourceforge.net/sourceforge/ganglia/${P}.tar.gz"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="net-analyzer/rrdtool"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}"
+
+src_compile() {
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --enable-gexec \
+ --with-gmetad || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+
+ einstall || die
+
+ insinto /etc
+ doins gmond/gmond.conf
+ doins gmetad/gmetad.conf
+
+ doman mans/{gmetad.1,gmetric.1,gmond.1,gstat.1}
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+
+ dodir /var/lib/ganglia/rrds
+ fowners nobody.nobody /var/lib/ganglia/rrds
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/gmond.rc gmond
+ newexe ${FILESDIR}/gmetad.rc gmetad
+}