added ganglia-3.0.6 ebuild

This commit is contained in:
Manuel Friedli 2007-12-18 00:09:31 +00:00
parent f5a2f59a3c
commit b8adc039d4
5 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,16 @@
AUX gmetad.rc 328 RMD160 bfe287d90db7f26cd13978c99eabc6f7783b7073 SHA1 73d49ca4f669d914c87e2cdd9a4ad74bf1a75eb5 SHA256 c25c3dac00012f83e45819d6d0fb79bcf4e1ec773ad705b38127aade7c2a08c7
MD5 6ea88507b7ec6a23c51a280c9cfe5da4 files/gmetad.rc 328
RMD160 bfe287d90db7f26cd13978c99eabc6f7783b7073 files/gmetad.rc 328
SHA256 c25c3dac00012f83e45819d6d0fb79bcf4e1ec773ad705b38127aade7c2a08c7 files/gmetad.rc 328
AUX gmond.rc 322 RMD160 9b8208953e327b62a9fe676c0a1b75fef383c45a SHA1 7f03e0cea58678b8271c225946d413d40e1699ae SHA256 262f365cd3da14b56972d222ef1e467218731782d4a5c66ba421149b267d5426
MD5 bdc9561d6348490789845f386576d97b files/gmond.rc 322
RMD160 9b8208953e327b62a9fe676c0a1b75fef383c45a files/gmond.rc 322
SHA256 262f365cd3da14b56972d222ef1e467218731782d4a5c66ba421149b267d5426 files/gmond.rc 322
DIST ganglia-3.0.6.tar.gz 2854746 RMD160 ef3b29af23bc3e30b58736e0e6c08f4047b6eb70 SHA1 5dd3cc3fe2eade8ae012bbafd65e40a7d29bc995 SHA256 590c0c5e1b7b7a27cc1234093cf8caaac6b000f8035d9985459aaa7dcf2c2cb5
EBUILD ganglia-3.0.6.ebuild 1334 RMD160 70aad3ca970a865e66494d0962d577b5df2d5c1d SHA1 6cfed2088253dce5cab808bccb355736c42e1045 SHA256 3aaa061407a2c64aabb44ca706035a5bbfbf4b2e80b4d3100f032808ab225a61
MD5 4117229f2adc363eb6e80dfe89a2fa41 ganglia-3.0.6.ebuild 1334
RMD160 70aad3ca970a865e66494d0962d577b5df2d5c1d ganglia-3.0.6.ebuild 1334
SHA256 3aaa061407a2c64aabb44ca706035a5bbfbf4b2e80b4d3100f032808ab225a61 ganglia-3.0.6.ebuild 1334
MD5 a1ad7102a562989ab02fa1ebc620c2a9 files/digest-ganglia-3.0.6 244
RMD160 5f41a01ec127456c5327916d79f7c2f6b80b7e14 files/digest-ganglia-3.0.6 244
SHA256 d0dd18ecadfa9367de61b64810b25775fe2577047644fc07d37760a1416d8216 files/digest-ganglia-3.0.6 244

View file

@ -0,0 +1,3 @@
MD5 f2fecaae424be95ddf8b2cc6247be31d ganglia-3.0.6.tar.gz 2854746
RMD160 ef3b29af23bc3e30b58736e0e6c08f4047b6eb70 ganglia-3.0.6.tar.gz 2854746
SHA256 590c0c5e1b7b7a27cc1234093cf8caaac6b000f8035d9985459aaa7dcf2c2cb5 ganglia-3.0.6.tar.gz 2854746

View file

@ -0,0 +1,17 @@
#!/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"
}

View file

@ -0,0 +1,17 @@
#!/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 gmnod: "
start-stop-daemon --stop --quiet --exec /usr/sbin/gmond
eend $? "Failed to stop gmond"
}

View file

@ -0,0 +1,53 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
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"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="test minimal"
DEPEND="!minimal? ( net-analyzer/rrdtool )
test? ( >=dev-libs/check-0.8.2 )"
RDEPEND="!minimal? ( net-analyzer/rrdtool )"
src_compile() {
econf \
--enable-gexec \
$(use_with !minimal gmetad) || die
emake || die
}
src_install() {
einstall || die
insinto /etc
doman mans/{gmetric.1,gmond.1,gstat.1}
doman gmond/gmond.conf.5
dodoc AUTHORS COPYING 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
fi
}
pkg_postinst() {
echo
einfo "This package doesn't include a configuration file for gmond."
einfo "You could generate a default template by running:"
echo
einfo " /usr/sbin/gmond -t > /etc/gmond.conf"
echo
einfo "and customize it from there or provide your own."
echo
}