summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2008-11-19 17:11:16 +0000
committerJustin Bronder <jsbronder@gentoo.org>2008-11-19 17:11:16 +0000
commitfb5244976fcfa9663d268890bcd5dcf539666019 (patch)
tree8efa230770bb3e9368bcf3e9b9738f4f4c2938c8 /sys-cluster/ganglia
parentBump sys-cluster/ganglia-3.1.1: adds blocker on dev-db/firebird for #247213, ... (diff)
downloadgentoo-2-fb5244976fcfa9663d268890bcd5dcf539666019.tar.gz
gentoo-2-fb5244976fcfa9663d268890bcd5dcf539666019.tar.bz2
gentoo-2-fb5244976fcfa9663d268890bcd5dcf539666019.zip
Cleanup old versions of sys-cluster/ganglia
(Portage version: 2.2_rc14/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'sys-cluster/ganglia')
-rw-r--r--sys-cluster/ganglia/ChangeLog6
-rw-r--r--sys-cluster/ganglia/ganglia-3.0.6-r1.ebuild78
-rw-r--r--sys-cluster/ganglia/ganglia-3.0.7.ebuild77
-rw-r--r--sys-cluster/ganglia/ganglia-3.1.0.ebuild127
4 files changed, 5 insertions, 283 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog
index b29c8b5f4661..7b70fc035696 100644
--- a/sys-cluster/ganglia/ChangeLog
+++ b/sys-cluster/ganglia/ChangeLog
@@ -1,6 +1,10 @@
# 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.19 2008/11/19 17:04:28 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.20 2008/11/19 17:11:16 jsbronder Exp $
+
+ 19 Nov 2008; Justin Bronder <jsbronder@gentoo.org>
+ -ganglia-3.0.6-r1.ebuild, -ganglia-3.0.7.ebuild, -ganglia-3.1.0.ebuild:
+ Cleanup old versions.
*ganglia-3.1.1 (19 Nov 2008)
diff --git a/sys-cluster/ganglia/ganglia-3.0.6-r1.ebuild b/sys-cluster/ganglia/ganglia-3.0.6-r1.ebuild
deleted file mode 100644
index 244a5a85f45f..000000000000
--- a/sys-cluster/ganglia/ganglia-3.0.6-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# 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.6-r1.ebuild,v 1.1 2008/03/07 01:59:55 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
-}
diff --git a/sys-cluster/ganglia/ganglia-3.0.7.ebuild b/sys-cluster/ganglia/ganglia-3.0.7.ebuild
deleted file mode 100644
index fddf057ce93f..000000000000
--- a/sys-cluster/ganglia/ganglia-3.0.7.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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.4 2008/03/28 22:47:32 mr_bones_ 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}
- =virtual/httpd-php-5* )"
-DEPEND="${RDEPEND}
- test? ( >=dev-libs/check-0.8.2 )"
-
-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
-}
diff --git a/sys-cluster/ganglia/ganglia-3.1.0.ebuild b/sys-cluster/ganglia/ganglia-3.1.0.ebuild
deleted file mode 100644
index 803e80b00ea3..000000000000
--- a/sys-cluster/ganglia/ganglia-3.1.0.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# 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.1.0.ebuild,v 1.1 2008/08/04 23:17:11 jsbronder Exp $
-
-WEBAPP_OPTIONAL="yes"
-inherit multilib webapp depend.php python
-
-DESCRIPTION="A scalable distributed monitoring system for 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="minimal vhosts python"
-
-DEPEND="
- dev-libs/confuse
- dev-libs/expat
- >=dev-libs/apr-1.0
- python? ( >=dev-lang/python-2.3 )"
-
-RDEPEND="
- ${DEPEND}
- !minimal? ( net-analyzer/rrdtool
- ${WEBAPP_DEPEND}
- =virtual/httpd-php-5* )"
-
-pkg_setup() {
- if ! use minimal ; then
- require_gd
- require_php_with_use xml ctype
- webapp_pkg_setup
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/ganglia-3.1-gmond-python-tcpconn-concurrency.patch
-}
-
-src_compile() {
- econf \
- --enable-gexec \
- $(use_enable python) \
- $(use_with !minimal gmetad) || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- newinitd "${FILESDIR}"/gmond.rc gmond
- doman mans/{gmetric.1,gmond.1,gstat.1}
- doman gmond/gmond.conf.5
- dodoc AUTHORS ChangeLog INSTALL NEWS README
- dodir /etc/ganglia/conf.d
- gmond/gmond -t > "${D}"/etc/ganglia/gmond.conf
-
- if use python; then
- # Sadly, there is no install target for any of this.
- mv gmond/modules/python/README "${T}"/README.python_modules
- dodoc "${T}"/README.python_modules
- insinto /etc/ganglia/conf.d
- # multidisk/diskusage python metric skipped until fixed for gentoo
- doins gmond/modules/conf.d/modpython.conf
- doins gmond/python_modules/conf.d/tcpconn.pyconf
- dodir /usr/$(get_libdir)/ganglia/python_modules
- insinto /usr/$(get_libdir)/ganglia/python_modules
- doins gmond/python_modules/network/tcpconn.py
- fi
-
- insinto /etc/ganglia
- 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_preinst() {
- if has_version '<sys-cluster/ganglia-3.1.0'; then
- elog "Previous ganglia installation detected."
- elog "Copying gmetad configuration to /etc/ganglia"
- elog "You may have to remove /etc/gmond.conf yourself."
- mkdir -p "${D}"/etc/ganglia
- [ -f "${ROOT}"etc/gmetad.conf ] \
- && cp "${ROOT}"etc/gmetad.conf "${D}"/etc/ganglia
- fi
-}
-
-pkg_postinst() {
- elog "A default configuration file for gmond has been generated"
- elog "for you as a template by running:"
- elog " /usr/sbin/gmond -t > /etc/ganglia/gmond.conf"
- elog "customize it from there or provide your own but be aware"
- elog "the format has changed since 3.0 and so you won't be able"
- elog "to use your current configuration (if you generated any)"
- elog "in /etc/gmond.conf directly"
-
- use minimal || webapp_pkg_postinst
-
- use python && \
- python_mod_optimize /usr/$(get_libdir)/ganglia/python_modules/
-}
-
-pkg_prerm() {
- use minimal || webapp_pkg_prerm
-}
-
-pkg_postrm() {
- use python && \
- python_mod_cleanup /usr/$(get_libdir)/ganglia/python_modules/
- [ -d /usr/$(get_libdir)/ganglia ] && rmdir /usr/$(get_libdir)/ganglia
-}