summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2008-03-07 02:06:37 +0000
committerJustin Bronder <jsbronder@gentoo.org>2008-03-07 02:06:37 +0000
commit9fb9e94ed845cd57d97528397d35f8a7149094e1 (patch)
tree6f9c2df97ae4b120d286c05a26cc049f3f937e7c /sys-cluster/ganglia
parentwhitespace (diff)
downloadhistorical-9fb9e94ed845cd57d97528397d35f8a7149094e1.tar.gz
historical-9fb9e94ed845cd57d97528397d35f8a7149094e1.tar.bz2
historical-9fb9e94ed845cd57d97528397d35f8a7149094e1.zip
version bump, bug #211693
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-cluster/ganglia')
-rw-r--r--sys-cluster/ganglia/ChangeLog7
-rw-r--r--sys-cluster/ganglia/ganglia-3.0.7.ebuild78
2 files changed, 84 insertions, 1 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog
index df8492dfdf71..aa93e91d0392 100644
--- a/sys-cluster/ganglia/ChangeLog
+++ b/sys-cluster/ganglia/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/ganglia
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.13 2008/03/07 01:59:55 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.14 2008/03/07 02:06:37 jsbronder Exp $
+
+*ganglia-3.0.7 (07 Mar 2008)
+
+ 07 Mar 2008; Justin Bronder <jsbronder@gentoo.org> +ganglia-3.0.7.ebuild:
+ version bump, bug #211693
*ganglia-3.0.6-r1 (07 Mar 2008)
diff --git a/sys-cluster/ganglia/ganglia-3.0.7.ebuild b/sys-cluster/ganglia/ganglia-3.0.7.ebuild
new file mode 100644
index 000000000000..5a21df1cc3a6
--- /dev/null
+++ b/sys-cluster/ganglia/ganglia-3.0.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.0.7.ebuild,v 1.1 2008/03/07 02:06:37 jsbronder Exp $
+
+WEBAPP_OPTIONAL="yes"
+inherit webapp depend.php
+
+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="mirror://sourceforge/ganglia/${P}.tar.gz"
+LICENSE="BSD"
+
+WEBAPP_MANUAL_SLOT="yes"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test minimal vhosts"
+
+RDEPEND="!minimal? ( net-analyzer/rrdtool
+ ${WEBAPP_DEPEND} )"
+DEPEND="${RDEPEND}
+ test? ( >=dev-libs/check-0.8.2 )"
+
+! use minimal && need_php5_httpd
+
+pkg_setup() {
+ if ! use minimal ; then
+ require_gd
+ require_php_with_use xml ctype
+ webapp_pkg_setup
+ fi
+}
+
+src_compile() {
+ econf \
+ --enable-gexec \
+ $(use_with !minimal gmetad) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ insinto /etc
+ doman mans/{gmetric.1,gmond.1,gstat.1}
+ doman gmond/gmond.conf.5
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
+ newinitd "${FILESDIR}"/gmond.rc gmond
+
+ if ! use minimal; then
+ doins gmetad/gmetad.conf
+ doman mans/gmetad.1
+ keepdir /var/lib/ganglia/rrds
+ fowners nobody:nobody /var/lib/ganglia/rrds
+ newinitd "${FILESDIR}"/gmetad.rc gmetad
+
+ webapp_src_preinst
+ insinto "${MY_HTDOCSDIR}"
+ doins -r web/*
+
+ webapp_configfile "${MY_HTDOCSDIR}"/conf.php
+ webapp_src_install
+ fi
+}
+
+pkg_postinst() {
+ elog
+ elog "This package doesn't include a configuration file for gmond."
+ elog "You could generate a default template by running:"
+ elog " /usr/sbin/gmond -t > /etc/gmond.conf"
+ elog "and customize it from there or provide your own."
+
+ use minimal || webapp_pkg_postinst
+}
+
+pkg_prerm() {
+ use minimal || webapp_pkg_prerm
+}