commit:     fc58734b37d308e912d20b96b1ca8bf970da90f4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 23:25:13 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 23:25:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc58734b

sys-cluster/ganglia: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-cluster/ganglia/files/gmetad-python.rc  |  30 -------
 sys-cluster/ganglia/files/gmetad.rc         |  18 ----
 sys-cluster/ganglia/files/gmond.rc          |  18 ----
 sys-cluster/ganglia/ganglia-3.7.1-r1.ebuild | 127 ----------------------------
 4 files changed, 193 deletions(-)

diff --git a/sys-cluster/ganglia/files/gmetad-python.rc 
b/sys-cluster/ganglia/files/gmetad-python.rc
deleted file mode 100644
index a01e42ebd78..00000000000
--- a/sys-cluster/ganglia/files/gmetad-python.rc
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/gmetad-python.pid
-
-depend() {
-       need net
-       after ntp-client ntpd
-}
-
-start() {
-       ebegin "Starting GANGLIA gmetad-python: "
-       start-stop-daemon \
-               --start --quiet \
-               --exec /usr/bin/gmetad.py \
-               --pidfile ${PIDFILE} \
-               -- \
-               -p ${PIDFILE}
-       eend $? "Failed to start gmetad-python"
-}
-
-stop() {
-       ebegin "Shutting down GANGLIA gmetad-python: "
-       start-stop-daemon \
-               --stop --quiet \
-               --pidfile ${PIDFILE} \
-               --exec /usr/bin/gmetad.py
-       eend $? "Failed to stop gmetad-python"
-}

diff --git a/sys-cluster/ganglia/files/gmetad.rc 
b/sys-cluster/ganglia/files/gmetad.rc
deleted file mode 100644
index bb57487a3e0..00000000000
--- a/sys-cluster/ganglia/files/gmetad.rc
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
-       need net
-       after ntp-client ntpd
-}
-
-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 100644
index 621be8d1409..00000000000
--- a/sys-cluster/ganglia/files/gmond.rc
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
-       need net
-       after ntp-client ntpd
-}
-
-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.7.1-r1.ebuild 
b/sys-cluster/ganglia/ganglia-3.7.1-r1.ebuild
deleted file mode 100644
index 5509498cc08..00000000000
--- a/sys-cluster/ganglia/ganglia-3.7.1-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 eutils multilib systemd
-
-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 pcre python examples"
-
-DEPEND="dev-libs/confuse
-       dev-libs/expat
-       >=dev-libs/apr-1.0
-       net-libs/libnsl:0=
-       !dev-db/firebird
-       pcre? ( dev-libs/libpcre )
-       python? ( ${PYTHON_DEPS} )"
-
-RDEPEND="
-       ${DEPEND}
-       !minimal? ( net-analyzer/rrdtool )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-src_prepare() {
-       if use python && ! use minimal; then
-               pushd gmetad-python >/dev/null || die
-               distutils-r1_src_prepare
-               popd >/dev/null || die
-       fi
-}
-
-src_configure() {
-       if use python; then
-               python_setup
-       fi
-
-       econf \
-               --with-systemdsystemunitdir=$(systemd_get_unitdir) \
-               --enable-gexec \
-               --sysconfdir="${EPREFIX}"/etc/${PN} \
-               --enable-static=no \
-               $(use_enable python) \
-               $(use_with pcre libpcre) \
-               $(use_with !minimal gmetad)
-}
-
-src_compile() {
-       default_src_compile
-
-       if use python && ! use minimal; then
-               pushd gmetad-python >/dev/null || die
-               distutils-r1_src_compile
-               popd >/dev/null || die
-       fi
-}
-
-src_install() {
-       local exdir=/usr/share/doc/${P}
-
-       emake DESTDIR="${D}" install
-
-       newinitd "${FILESDIR}"/gmond.rc-2 gmond
-       doman {mans/*.1,gmond/*.5}
-       dodoc AUTHORS INSTALL NEWS README
-
-       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
-               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
-
-               if use python; then
-                       pushd gmetad-python >/dev/null || die
-                       distutils-r1_src_install
-                       popd >/dev/null || die
-                       newinitd "${FILESDIR}"/gmetad-python.rc gmetad-python
-               fi
-       fi
-}
-
-src_test() {
-       default_src_test
-
-       if use python && ! use minimal; then
-               pushd gmetad-python >/dev/null || die
-               distutils-r1_src_test
-               popd >/dev/null || die
-       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 "The web frontend for Ganglia has been split off.  Emerge"
-       elog "sys-cluster/ganglia-web if you need it."
-}

Reply via email to