summaryrefslogtreecommitdiff
path: root/net-analyzer/pnp4nagios
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-30 16:48:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-30 16:48:50 +0100
commitb33c907ab2c29be7bd04369bc2e3f5dd0b109697 (patch)
tree30cd676f7353ae9c07acda4eb20dee5a94c24b90 /net-analyzer/pnp4nagios
parent005a5b259b876973202153b9c5c5e77bea56df6c (diff)
gentoo auto-resync : 30:08:2022 - 16:48:50
Diffstat (limited to 'net-analyzer/pnp4nagios')
-rw-r--r--net-analyzer/pnp4nagios/Manifest1
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r10.ebuild100
2 files changed, 0 insertions, 101 deletions
diff --git a/net-analyzer/pnp4nagios/Manifest b/net-analyzer/pnp4nagios/Manifest
index c58bdd89f1d6..3eda8b0888ce 100644
--- a/net-analyzer/pnp4nagios/Manifest
+++ b/net-analyzer/pnp4nagios/Manifest
@@ -4,6 +4,5 @@ AUX pnp4nagios-0.6.14-makefile.patch 1057 BLAKE2B 623115771d66839df357cf19ceb0ea
AUX pnp4nagios-0.6.26-magic-quotes.patch 987 BLAKE2B 02bc9b3f3c8d3289593147530d8f7f41927e301e9af854c0c57840ea769b3db2fef1222ede7c125f22e1d0ea7e1c62e14bedc387b6e9f185d0bafcf6b1f2532b SHA512 80fdb4013740dabfc31cf990f4c1a517c0002b94aec7f48d408230045ca696147763fedb04cff5da4954962305fe026bf4bcbc575f04cb16e7d96f49536b0715
AUX pnp4nagios-0.6.26-sizeof.patch 15528 BLAKE2B f6db44720ef2a68dc5d617427fd9d0813ce34e5fe922bd25153df482420a5b2d718ccd90a09a6073e803345a48e6545e39430522d45b6fea4f4924617ff4583e SHA512 02e671a31371662a1e0958dd704b7918360d20bd2fc4171d2d8c7d0332bc37356b24929834ae910858072812f7fa6d61ba4097ff1f93848e0d02b55aee515290
DIST pnp4nagios-0.6.26.tar.gz 3039265 BLAKE2B 1adb3c41222e6bc93671af955a1564387d77901ce118f5d309d101d88c691140e0feef1c2594bc5db44706ff01505a4fcf99b79b6a0c5b5cb923838dd00f1ff0 SHA512 caf6dcced74967174d9e6f09dd1a5bee17397c10a68d0f577c37dcc836f928d78c20d75a0189539e9ffa93715ab7b6e732e9f36b9698cf4dd9c09cfb65184427
-EBUILD pnp4nagios-0.6.26-r10.ebuild 3075 BLAKE2B 96e83b274e13bfe9f30f43b931eb2b8aadba2ae69611c40d67a286d479e88b2711bd9b6bca389baa53031cd40efbacad69476f696ceabd73ae9a3ce02d5c7e6d SHA512 177ad812bfd764cd9bc19ad6e84a9be6b15e32f6506056c6a8cc6cc1698c163e679b76d1ed40cd44554ea7565e8c1d311b7d2514eaad8b551d5294bec779be1e
EBUILD pnp4nagios-0.6.26-r11.ebuild 3164 BLAKE2B 0fdda74a183a616f92e666784740f41d985f6c81e5a31ac26f3b31d79f9b98760ed466f6e5285e1c41b6ee051c9a94c03a20090b131402ab5ac05797ad93b83e SHA512 f3d58aec6064bec044f21992b1f652ef74e3d43a3966ed288fff922fa361ff5746edcbaccc6e4bd897747e25760d888726d4f10929f508dab8514b16be55d8ac
MISC metadata.xml 677 BLAKE2B f58a0350bbf34f21834181d537d1e4906c91b9eea8187b10965578fa6fa82abd3de727754b2f62987f078aad6db146ec00a0437c48edd4411b23b1ef780abb0f SHA512 9843fd05d441d4324ceab6f99f67c7eba266b9f6cad7a28616c7ef094bd8345ef573ac4b5f83ee8f049f3dbf3067df1c1005fff803db9560f10f8b05f11fceda
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r10.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r10.ebuild
deleted file mode 100644
index ab4a072f70b2..000000000000
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r10.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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="apache2 icinga +nagios"
-KEYWORDS="amd64 ~ppc ppc64 ~sparc x86"
-
-REQUIRED_USE="^^ ( icinga nagios )"
-
-# Some things (sync mode, for one) are broken with nagios-4.x, but since
-# nagios-3.x has been end-of-life'd, we don't have much choice here but
-# to accept it.
-DEPEND="
- dev-lang/php:*[filter,gd,json(+),simplexml,xml,zlib]
- net-analyzer/rrdtool[graph,perl]
- icinga? ( net-analyzer/icinga2 )
- nagios? ( net-analyzer/nagios-core )"
-
-# A list of modules used in our Apache config file.
-APACHE_MODS="apache2_modules_alias," # "Alias" directive
-APACHE_MODS+="apache2_modules_authz_core," # "Require" directive
-APACHE_MODS+="apache2_modules_rewrite" # "RewriteEngine" and friends
-
-RDEPEND="${DEPEND}
- virtual/perl-Getopt-Long
- virtual/perl-Time-HiRes
- media-fonts/dejavu
- apache2? ( >=www-servers/apache-2.4[${APACHE_MODS}] )"
-
-PATCHES=( "${FILESDIR}/${PN}-0.6.14-makefile.patch" )
-
-src_configure() {
- local user_group=nagios
- use icinga && user_group=icinga
-
- econf \
- --sysconfdir="${EPREFIX}"/etc/pnp \
- --datarootdir="${EPREFIX}"/usr/share/pnp \
- --localstatedir="${EPREFIX}"/var/lib/pnp \
- --with-nagios-user="${user_group}" \
- --with-nagios-group="${user_group}" \
- --with-perfdata-logfile="${EPREFIX}"/var/log/pnp/process_perfdata.log
-}
-
-src_compile() {
- # The default target just shows a help
- emake all
-}
-
-src_install() {
- # Don't use INSTALL_OPTS because they set insecure permissions on
- # all of /etc/pnp (https://github.com/lingej/pnp4nagios/issues/140).
- emake INSTALL_OPTS="" DESTDIR="${D}" install install-config
- einstalldocs
- newinitd "${FILESDIR}"/npcd.initd npcd
- rm "${ED%/}/usr/share/pnp/install.php" || \
- die "unable to remove ${ED%/}/usr/share/pnp/install.php"
-
- # Fix CVE-2012-3457 (Gentoo bug 430358)
- fperms o-rwx /etc/pnp/process_perfdata.cfg
-
- if use apache2 ; then
- insinto /etc/apache2/modules.d
- newins "${FILESDIR}"/98_pnp4nagios-2.4.conf 98_pnp4nagios.conf
- fi
-
- # The nagios or icinga user needs to write performance data to the
- # perfdata-dir...
- local user_group=nagios
- use icinga && user_group=icinga
- fowners ":${user_group}" /var/lib/pnp/{,perfdata,spool}
- fperms g+rwx /var/lib/pnp/{,perfdata,spool}
-
- # and likewise for its logs...
- dodir /var/log/pnp
- fowners ":${user_group}" /var/log/pnp
- fperms g+rwx /var/log/pnp
-
- # and its statistics. This one is arguably the responsibility of the
- # build system, since process_perfdata.cfg refers to this location.
- dodir /var/lib/pnp/stats
- fowners ":${user_group}" /var/lib/pnp/stats
- fperms g+rwx /var/lib/pnp/stats
-}
-
-pkg_postinst() {
- elog "To enable the pnp4nagios web front-end, please visit"
- elog "${EROOT%/}/etc/conf.d/apache2 and add \"-D PNP -D PHP\""
- elog "to APACHE2_OPTS. Then pnp4nagios will be available at,"
- elog
- elog " http://localhost/pnp4nagios"
- elog
-}