summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-06-24 18:19:57 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-06-24 18:19:57 +0000
commit6981d0cdfe2cc26b82f7d471fb8cc9e59c0d36de (patch)
tree3c79f8f54348f9da43c4f38821cc4e66a93f0033 /net-analyzer
parentrepo_name (diff)
downloaddertobi123-6981d0cdfe2cc26b82f7d471fb8cc9e59c0d36de.tar.gz
dertobi123-6981d0cdfe2cc26b82f7d471fb8cc9e59c0d36de.tar.bz2
dertobi123-6981d0cdfe2cc26b82f7d471fb8cc9e59c0d36de.zip
Add pnp4nagios
svn path=/; revision=43
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/pnp4nagios/Manifest2
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.4.9.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/pnp4nagios/Manifest b/net-analyzer/pnp4nagios/Manifest
new file mode 100644
index 0000000..723e770
--- /dev/null
+++ b/net-analyzer/pnp4nagios/Manifest
@@ -0,0 +1,2 @@
+DIST pnp-0.4.9.tar.gz 300855 RMD160 1cc87b4a827bd95644a2a5f1b8f958c3a7fd9a6f SHA1 59a8cabd371ebb72eca168517b9bf732eb8f2206 SHA256 a102ec1f0b37cb6547548839c1588c9bf50cfae61ac2f5a3c8d0313e70622657
+EBUILD pnp4nagios-0.4.9.ebuild 989 RMD160 1bdb4441a2880ba79635c12d31bd59eab64af467 SHA1 46e0324451a5dae7bb162e9a87fdc2ff038b749f SHA256 14d6edb28339fd80e1da5e47f7fc01aafc980c32b3f014fadfdc3539f18c9f5d
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.4.9.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.4.9.ebuild
new file mode 100644
index 0000000..29476e8
--- /dev/null
+++ b/net-analyzer/pnp4nagios/pnp4nagios-0.4.9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.4.7.ebuild,v 1.1 2008/04/12 18:42:37 caleb Exp $
+
+inherit confutils
+
+MY_P=pnp-${PV}
+
+DESCRIPTION="A performance data analyzer for nagios"
+HOMEPAGE="http://www.pnp4nagios.org"
+
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+DEPEND=">=dev-lang/php-4.3
+ >=net-analyzer/rrdtool-1.2
+ net-analyzer/nagios-core"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ confutils_require_built_with_all dev-lang/php gd pcre xml zlib
+}
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/pnp \
+ --datarootdir=/usr/share/pnp \
+ --with-perfdata-dir=/var/nagios/perfdata \
+ --with-perfdata-spool-dir=/var/spool/pnp || die "econf failed"
+ emake all || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" fullinstall || die "emake install failed"
+}