summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2010-07-30 15:51:10 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2010-07-30 15:51:10 +0000
commite4e9783f23af482230cd53e6b1a03c2fcdb9e261 (patch)
tree914a63bde085fcf135f5152da14ef7d8146ca2b8 /net-analyzer/pnp4nagios
parentStable on amd64 wrt bug #329679 (diff)
downloadgentoo-2-e4e9783f23af482230cd53e6b1a03c2fcdb9e261.tar.gz
gentoo-2-e4e9783f23af482230cd53e6b1a03c2fcdb9e261.tar.bz2
gentoo-2-e4e9783f23af482230cd53e6b1a03c2fcdb9e261.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/pnp4nagios')
-rw-r--r--net-analyzer/pnp4nagios/ChangeLog8
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.5.ebuild54
2 files changed, 61 insertions, 1 deletions
diff --git a/net-analyzer/pnp4nagios/ChangeLog b/net-analyzer/pnp4nagios/ChangeLog
index 21504a66b17e..5e5b6f6b1153 100644
--- a/net-analyzer/pnp4nagios/ChangeLog
+++ b/net-analyzer/pnp4nagios/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/pnp4nagios
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.19 2010/06/03 18:25:03 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.20 2010/07/30 15:51:10 dertobi123 Exp $
+
+*pnp4nagios-0.6.5 (30 Jul 2010)
+
+ 30 Jul 2010; Tobias Scherbaum <dertobi123@gentoo.org>
+ +pnp4nagios-0.6.5.ebuild:
+ Version bump
*pnp4nagios-0.6.4 (03 Jun 2010)
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.5.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.5.ebuild
new file mode 100644
index 000000000000..7b0c7ce9956a
--- /dev/null
+++ b/net-analyzer/pnp4nagios/pnp4nagios-0.6.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.6.5.ebuild,v 1.1 2010/07/30 15:51:10 dertobi123 Exp $
+
+EAPI="2"
+
+inherit depend.apache
+
+DESCRIPTION="A performance data analyzer for nagios"
+HOMEPAGE="http://www.pnp4nagios.org"
+
+SRC_URI="mirror://sourceforge/${PN}/PNP-0.6/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND=">=dev-lang/php-4.3[gd-external,json,pcre,filter,reflection,spl,simplexml,xml,zlib]
+ >=net-analyzer/rrdtool-1.2
+ net-analyzer/nagios-core"
+RDEPEND="${DEPEND}
+ virtual/perl-Getopt-Long
+ virtual/perl-Time-HiRes
+ apache2? ( www-servers/apache[apache2_modules_rewrite] )"
+
+want_apache2
+
+pkg_setup() {
+ depend.apache_pkg_setup
+}
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/pnp \
+ --datarootdir=/usr/share/pnp \
+ --with-perfdata-dir=/var/nagios/perfdata \
+ --with-perfdata-spool-dir=/var/spool/pnp || die "econf failed"
+}
+
+src_compile() {
+ emake all || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-config || die "emake install failed"
+ doinitd "${FILESDIR}/npcd"
+ rm "${D}/usr/share/pnp/install.php"
+
+ if use apache2 ; then
+ insinto "${APACHE_MODULES_CONFDIR}"
+ doins "${FILESDIR}"/98_pnp4nagios.conf
+ fi
+}