diff options
-rw-r--r-- | net-analyzer/pnp4nagios/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/pnp4nagios/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/pnp4nagios/pnp4nagios-0.6.11.ebuild | 66 |
3 files changed, 78 insertions, 3 deletions
diff --git a/net-analyzer/pnp4nagios/ChangeLog b/net-analyzer/pnp4nagios/ChangeLog index 5924f1048d84..55ceddd96e0c 100644 --- a/net-analyzer/pnp4nagios/ChangeLog +++ b/net-analyzer/pnp4nagios/ChangeLog @@ -1,6 +1,13 @@ # 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.31 2010/10/31 15:15:30 dertobi123 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/ChangeLog,v 1.32 2011/04/11 18:41:27 dertobi123 Exp $ + +*pnp4nagios-0.6.11 (11 Apr 2011) + + 11 Apr 2011; Tobias Scherbaum <dertobi123@gentoo.org> + +pnp4nagios-0.6.11.ebuild: + Version bump + 31 Oct 2010; Tobias Scherbaum <dertobi123@gentoo.org> pnp4nagios-0.6.7.ebuild: diff --git a/net-analyzer/pnp4nagios/Manifest b/net-analyzer/pnp4nagios/Manifest index 15c008fe8636..60b241dbc22b 100644 --- a/net-analyzer/pnp4nagios/Manifest +++ b/net-analyzer/pnp4nagios/Manifest @@ -2,8 +2,10 @@ AUX 98_pnp4nagios.conf 1025 RMD160 13ada7bbf3ad9b14bccf0d9cd0f0f0a72e4ea807 SHA1 AUX npcd 759 RMD160 bcaddc280bb45b05241a3298c502a74aa5fe3a99 SHA1 7f17144ac16188c57436a19890cc5e95149bfc09 SHA256 ea4c71df5c0a6bb410c44b08fc5c5428a3adf8c5daa7a12fe1068eaf71613be5 AUX pnp4nagios-0.6.7-makefile.patch 1075 RMD160 861b355e5d198982616a1ddd66626c89f18dca73 SHA1 162e8ac885e14a7e54af47ca4359f641a32986c4 SHA256 1cf3b39b0dac378a178f5a02693a6925cbeab0bb51f014115af01655f2fcd80a DIST pnp-0.4.12.tar.gz 311844 RMD160 a5e0a6370d2fd7743841c37e4751674b0c239e90 SHA1 2e7084e41020d9f12d4448a72c58c11ea05dcce4 SHA256 8b74ff0fd32a08e416d0f760c36166aec67bfc1e839dd3c07c1dc08db69d96fb +DIST pnp4nagios-0.6.11.tar.gz 1952829 RMD160 c9a47a0faf9838c967fc514dcb204de7dc74b654 SHA1 bb1a7a6d3821dea16a5ed16e784e74b762a3e807 SHA256 baeecc02bf86441c97c29fb6427b1d5cbb1c736a7f4557a14ab8a56d1781409c DIST pnp4nagios-0.6.7.tar.gz 1874012 RMD160 6378be98b399e19bf19e8cc89cd6a33cdfa5c12c SHA1 ad5c2a4dec26620f56c9929ee7a2f788214ffe53 SHA256 010128d1ed13afed1cc313264b10807b60b7dc596d0e9e86c0ac7208d0df5878 EBUILD pnp4nagios-0.4.12.ebuild 1412 RMD160 00c35968f2e6013a72f3848ab949ef85d1b3347e SHA1 acfecb2e83a786a8423b8cdfb3ba002a758e77b4 SHA256 eb1e13cd938b5a98eabe4d3897c1474e50389feda7818035c6a1ac00328c9821 +EBUILD pnp4nagios-0.6.11.ebuild 1690 RMD160 e8950d5f6cd71d183eea25dc79ceb4424d9f8968 SHA1 64fa3ef0262ea1fc5227eb36de5dc6b13c918502 SHA256 b8fa997ad8fccb67d55442f197f58ab70a3bf81b3e2463db587b405b0420bfda EBUILD pnp4nagios-0.6.7.ebuild 1680 RMD160 7b1e720fb6b6c7b72eb1e073c9b5895e2febfccd SHA1 cb59fe3b2eecb167d9b8f59d56bf845787f809d4 SHA256 44a90294e62ce752038c2f9dca4a1a0dee7f4de01538b8fe0119b2a50bcfa372 -MISC ChangeLog 5271 RMD160 e028da6e723aa52e2eda5501c2bef453774ec667 SHA1 677e3950a3a814c0f5cdab4249b16a77acac11c5 SHA256 c88c11e7fde49245a2a0d66d9b0576658eb13af06601e8ed9d772134e91ebbd2 +MISC ChangeLog 5407 RMD160 d9b82ddbe88879cbca1f289498075fd80458e6ed SHA1 34a211d3de2a29eb634df24d14ae30e274ba0392 SHA256 2e1fbd4472e3c613b8099f75ebe53717f3a7161b9c6831888f5c8d1d0703f809 MISC metadata.xml 260 RMD160 ac6f569eb1667b364a6d503a3f273505ff0ee274 SHA1 07ea89243966d135d235f7e464a480ab0e698d6b SHA256 eafa2ff6e208c288e02395e29355263b6c969ae23f19ec118835c14f2fcee05f diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.11.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.11.ebuild new file mode 100644 index 000000000000..40940d79794b --- /dev/null +++ b/net-analyzer/pnp4nagios/pnp4nagios-0.6.11.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/pnp4nagios-0.6.11.ebuild,v 1.1 2011/04/11 18:41:28 dertobi123 Exp $ + +EAPI="2" + +inherit depend.apache eutils + +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[json,simplexml,zlib,xml,filter] + || ( <dev-lang/php-5.3[pcre,reflection,spl] >=dev-lang/php-5.3 ) + || ( >=dev-lang/php-4.3[gd-external] >=dev-lang/php-4.3[gd] ) + >=net-analyzer/rrdtool-1.2 + net-analyzer/nagios-core" +RDEPEND="${DEPEND} + virtual/perl-Getopt-Long + virtual/perl-Time-HiRes + media-fonts/dejavu + apache2? ( www-servers/apache[apache2_modules_rewrite] )" + +want_apache2 + +pkg_setup() { + depend.apache_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.6.7-makefile.patch +} + +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-unstripped 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 +} + +pkg_postinst() { + elog "Please make sure to enable URL rewriting in Apache or any other" + elog "webserver you're using, to get pnp4nagios running!" +} |