sys-cluster/ganglia: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-01-19 14:58:54 +01:00
parent 33805e195b
commit 0e7a4afcb5
6 changed files with 0 additions and 155 deletions

View File

@@ -729,11 +729,6 @@ dev-db/mysql-super-smack
# Removal on 2023-01-20. Bug #737842.
dev-php/phptal
# Michał Górny <mgorny@gentoo.org> (2022-12-20)
# Pending version bump since 2015. No new upstream releases since.
# Removal on 2023-01-19. Bug #887489.
sys-cluster/ganglia
# Georgy Yakovlev <gyakovlev@gentoo.org> (2022-12-19)
# This version currently is not compatible with kernel build (yet)
~dev-util/bindgen-0.63.0

View File

@@ -1 +0,0 @@
DIST ganglia-3.7.1.tar.gz 1311019 BLAKE2B c70ee163d27af747a0961e6e8115f23512c64e28270f4224121e834c5bb66af27536821d4f9a8d6cc9a8e290d9cd3fcdb01fed7d054ce55d12cb80dd41d9f63d SHA512 1c3519cec0015cc967536a8c72cedd1b1bc268e0e238538756b1f46fd741b56ebaacc6f518c57eb111c30fd2e56372cba4593e4487c9ed68472aa59d24ce66a8

View File

@@ -1,28 +0,0 @@
#!/sbin/openrc-run
PIDFILE=/var/run/gmetad.pid
depend() {
need net
after ntp-client ntpd
}
start() {
ebegin "Starting GANGLIA gmetad: "
start-stop-daemon \
--start --quiet \
--exec /usr/sbin/gmetad \
--pidfile ${PIDFILE} \
-- \
--pid-file=${PIDFILE}
eend $? "Failed to start gmetad"
}
stop() {
ebegin "Shutting down GANGLIA gmetad: "
start-stop-daemon \
--stop --quiet \
--pidfile ${PIDFILE} \
--exec /usr/sbin/gmetad
eend $? "Failed to stop gmetad"
}

View File

@@ -1,28 +0,0 @@
#!/sbin/openrc-run
PIDFILE=/var/run/gmond.pid
depend() {
need net
after ntp-client ntpd
}
start() {
ebegin "Starting GANGLIA gmond: "
start-stop-daemon \
--start --quiet \
--exec /usr/sbin/gmond \
--pidfile ${PIDFILE} \
-- \
--pid-file=${PIDFILE}
eend $? "Failed to start gmond"
}
stop() {
ebegin "Shutting down GANGLIA gmond: "
start-stop-daemon \
--stop --quiet \
--pidfile ${PIDFILE} \
--exec /usr/sbin/gmond
eend $? "Failed to stop gmond"
}

View File

@@ -1,81 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic systemd toolchain-funcs
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 ~arm ~arm64 ~ppc x86"
IUSE="minimal pcre examples"
DEPEND="dev-libs/confuse:=
dev-libs/expat
>=dev-libs/apr-1.0:=
net-libs/libnsl:0=
net-libs/libtirpc:0=
virtual/libcrypt:=
!dev-db/firebird
pcre? ( dev-libs/libpcre )"
RDEPEND="
${DEPEND}
!minimal? ( net-analyzer/rrdtool )"
BDEPEND="virtual/pkgconfig"
src_configure() {
append-flags $("$(tc-getPKG_CONFIG)" --cflags libtirpc)
append-libs $("$(tc-getPKG_CONFIG)" --libs libtirpc)
econf \
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
--enable-gexec \
--sysconfdir="${EPREFIX}"/etc/${PN} \
--enable-static=no \
--disable-python \
$(use_with pcre libpcre) \
$(use_with !minimal gmetad)
}
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
gmond/gmond -t > "${ED}"/etc/ganglia/gmond.conf
if use examples; then
insinto ${exdir}/cmod-examples
doins gmond/modules/example/*.c
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
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."
}

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>cluster@gentoo.org</email>
<name>Gentoo Cluster Project</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">ganglia</remote-id>
<remote-id type="github">ganglia/monitor-core</remote-id>
</upstream>
</pkgmetadata>