aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsbronder <jsbronder@32389bae-6d03-0410-99cf-db05cde120eb>2008-08-11 18:35:38 +0000
committerjsbronder <jsbronder@32389bae-6d03-0410-99cf-db05cde120eb>2008-08-11 18:35:38 +0000
commitf5e6bb684ffa626c56bd0c4298d5fb9ecead7041 (patch)
tree0f4f5c37c8a0e82d92750091a3798fe6113ea15f /sys-cluster/ganglia
parentFixed Manifests (diff)
downloadsci-f5e6bb684ffa626c56bd0c4298d5fb9ecead7041.tar.gz
sci-f5e6bb684ffa626c56bd0c4298d5fb9ecead7041.tar.bz2
sci-f5e6bb684ffa626c56bd0c4298d5fb9ecead7041.zip
Remove sys-cluster/ganglia as it's in the main tree.
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1231 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sys-cluster/ganglia')
-rw-r--r--sys-cluster/ganglia/Manifest4
-rwxr-xr-xsys-cluster/ganglia/files/gmetad.rc17
-rwxr-xr-xsys-cluster/ganglia/files/gmond.rc17
-rw-r--r--sys-cluster/ganglia/ganglia-3.1.0.ebuild120
4 files changed, 0 insertions, 158 deletions
diff --git a/sys-cluster/ganglia/Manifest b/sys-cluster/ganglia/Manifest
deleted file mode 100644
index 2fa40228d..000000000
--- a/sys-cluster/ganglia/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX gmetad.rc 328 RMD160 bfe287d90db7f26cd13978c99eabc6f7783b7073 SHA1 73d49ca4f669d914c87e2cdd9a4ad74bf1a75eb5 SHA256 c25c3dac00012f83e45819d6d0fb79bcf4e1ec773ad705b38127aade7c2a08c7
-AUX gmond.rc 322 RMD160 98ac6011a603e3286ffe5c2368620ae0630a013f SHA1 d304b1849ea1abf14360915b3978e781b8e0cbed SHA256 ea3bd50fe4bfc18254fdfb69c81ec0bfad0c552a2f9a3d3aee4732f644695d7d
-DIST ganglia-3.1.0.tar.gz 1175129 RMD160 92fee8fc2ffe6d058be2dc73bba6697dc2a226db SHA1 00b8901d2ff253564ef4a46918c1e28ea65e506a SHA256 87e367bd8de0d1ca87a7bc16477f99900b7e0dd87db7485aeb4f2e5766576b90
-EBUILD ganglia-3.1.0.ebuild 3179 RMD160 8d8a370c9456de27f118246c3b26ed0d00e52873 SHA1 6c83bd474102e01f41be69c717b070cb5fb8d47f SHA256 a0abdc674b9f86358ac77246f254d4a65fd1aa4fe5da91579b03d42509c1608c
diff --git a/sys-cluster/ganglia/files/gmetad.rc b/sys-cluster/ganglia/files/gmetad.rc
deleted file mode 100755
index a9ae5c75a..000000000
--- a/sys-cluster/ganglia/files/gmetad.rc
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need 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/files/gmond.rc b/sys-cluster/ganglia/files/gmond.rc
deleted file mode 100755
index 895420705..000000000
--- a/sys-cluster/ganglia/files/gmond.rc
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need 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 gmond: "
- start-stop-daemon --stop --quiet --exec /usr/sbin/gmond
- eend $? "Failed to stop gmond"
-}
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 38c107e92..000000000
--- a/sys-cluster/ganglia/ganglia-3.1.0.ebuild
+++ /dev/null
@@ -1,120 +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 multilib webapp depend.php python
-
-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 python"
-
-DEPEND="
- dev-libs/confuse
- dev-libs/expat
- dev-libs/apr
- test? ( >=dev-libs/check-0.8.2 )
- python? ( dev-lang/python )"
-
-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_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
-
- 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
- # TODO: tcpconn cause a traceback, and diskusage import it?
- doins gmond/python_modules/conf.d/example.pyconf
- doins gmond/modules/conf.d/modpython.conf
- dodir /usr/$(get_libdir)/ganglia/python_modules
- insinto /usr/$(get_libdir)/ganglia/python_modules
- doins $(find gmond/python_modules/ -name '*.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() {
- local f
- if has_version '<sys-cluster/ganglia-3.1.0'; then
- elog "Previous ganglia installation detected."
- elog "Copying conf files to /etc/ganglia from /etc."
- elog "You may have to remove /etc/gmond.conf yourself."
- mkdir -p ${IMAGE}/etc/ganglia
- for f in "gmond.conf" "gmetad.conf"; do
- [ -f ${ROOT}etc/${f} ] && cp ${ROOT}etc/${f} ${IMAGE}/etc/ganglia
- done
- 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/ganglia/gmond.conf"
- elog "and customize it from there or provide your own."
-
- 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/
-}