summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2013-06-22 01:00:27 +0000
committerJustin Bronder <jsbronder@gentoo.org>2013-06-22 01:00:27 +0000
commit5dab70f8b85db7ac9dc1d50f419c4dfa6a24448b (patch)
treed6ce90af3a3fd513f4b7da8482d666a06b69f4d0 /sys-cluster/ganglia
parentremove old (diff)
downloadgentoo-2-5dab70f8b85db7ac9dc1d50f419c4dfa6a24448b.tar.gz
gentoo-2-5dab70f8b85db7ac9dc1d50f419c4dfa6a24448b.tar.bz2
gentoo-2-5dab70f8b85db7ac9dc1d50f419c4dfa6a24448b.zip
remove old
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 4D7043C9)
Diffstat (limited to 'sys-cluster/ganglia')
-rw-r--r--sys-cluster/ganglia/ChangeLog5
-rw-r--r--sys-cluster/ganglia/ganglia-3.2.0.ebuild125
2 files changed, 4 insertions, 126 deletions
diff --git a/sys-cluster/ganglia/ChangeLog b/sys-cluster/ganglia/ChangeLog
index 843315f7b746..0690d6d9dcaa 100644
--- a/sys-cluster/ganglia/ChangeLog
+++ b/sys-cluster/ganglia/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/ganglia
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.56 2013/02/15 18:04:23 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ChangeLog,v 1.57 2013/06/22 01:00:27 jsbronder Exp $
+
+ 22 Jun 2013; Justin Bronder <jsbronder@gentoo.org> -ganglia-3.2.0.ebuild:
+ remove old
*ganglia-3.5.0 (15 Feb 2013)
diff --git a/sys-cluster/ganglia/ganglia-3.2.0.ebuild b/sys-cluster/ganglia/ganglia-3.2.0.ebuild
deleted file mode 100644
index 03ae00859537..000000000000
--- a/sys-cluster/ganglia/ganglia-3.2.0.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.2.0.ebuild,v 1.4 2012/02/01 17:03:47 ranger Exp $
-
-EAPI="3"
-WEBAPP_OPTIONAL="yes"
-
-PYTHON_DEPEND="python? 2"
-WEBAPP_MANUAL_SLOT="yes"
-
-inherit eutils multilib webapp 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"
-
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="minimal vhosts pcre python examples"
-
-DEPEND="dev-libs/confuse
- dev-libs/expat
- >=dev-libs/apr-1.0
- !dev-db/firebird
- pcre? ( dev-libs/libpcre )"
-
-RDEPEND="
- ${DEPEND}
- !minimal? ( net-analyzer/rrdtool
- ${WEBAPP_DEPEND}
- dev-lang/php[gd,xml,ctype,cgi]
- || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
- media-fonts/dejavu
- )"
-
-pkg_setup() {
- if use python; then
- python_set_active_version 2
- python_pkg_setup
- fi
- use minimal || webapp_pkg_setup
-}
-
-src_prepare() {
- # Disable modpython by default (#358359)
- sed -i '/ *params/N;s,\( *\)\(params = "[^"]*"\),\1\2\n\1enabled = no,' \
- gmond/modules/conf.d/modpython.conf.in || die
-}
-
-src_configure() {
- econf \
- --enable-gexec \
- --sysconfdir="${EPREFIX}"/etc/${PN} \
- $(use_enable python) \
- $(use_with pcre libpcre) \
- $(use_with !minimal gmetad)
-}
-
-src_install() {
- local exdir=/usr/share/doc/${P}
-
- emake DESTDIR="${D}" install || die
-
- newinitd "${FILESDIR}"/gmond.rc-2 gmond
- doman {mans/*.1,gmond/*.5} || die "Failed to install manpages"
- dodoc AUTHORS INSTALL NEWS STATUS || die
-
- dodir /etc/ganglia/conf.d
- use python && dodir /usr/$(get_libdir)/ganglia/python_modules
- gmond/gmond -t > "${ED}"/etc/ganglia/gmond.conf
-
- if use examples; then
- insinto ${exdir}/cmod-examples
- doins gmond/modules/example/*.c
- if use python; then
- # Installing as an examples per upstream.
- insinto ${exdir}/pymod-examples
- doins gmond/python_modules/*/*.py
- insinto ${exdir}/pymod-examples/conf.d
- doins gmond/python_modules/conf.d/*.pyconf
- fi
- fi
-
- if ! use minimal; then
- webapp_src_preinst
- insinto "${MY_HTDOCSDIR}"
- doins -r web/*
- webapp_configfile "${MY_HTDOCSDIR}"/conf.php
- webapp_src_install
-
- # webapp_src_install stomps on permissions, so do that
- # stuff first.
- insinto /etc/ganglia
- doins gmetad/gmetad.conf
- doman mans/gmetad.1
-
- newinitd "${FILESDIR}"/gmetad.rc-2 gmetad
- keepdir /var/lib/ganglia/rrds
- fowners nobody:nobody /var/lib/ganglia/rrds
-
- keepdir /var/lib/ganglia/dwoo
- fowners nobody:nobody /var/lib/ganglia/dwoo
- fperms 777 /var/lib/ganglia/dwoo
- 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"
-
- local dwoo_stat=$(stat --format %U:%G:%a ${ROOT}var/lib/ganglia/dwoo)
- if [[ ${dwoo_stat} == nobody:nobody:777 ]]; then
- elog
- elog "${ROOT}var/lib/ganglia/dwoo is owned by nobody:nobody with permissions 777"
- elog "You may wish to change this to only be writable by the webserver user"
- elog
- fi
- use minimal || webapp_pkg_postinst
-}
-
-pkg_prerm() {
- use minimal || webapp_pkg_prerm
-}