]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
net-analyzer/pnp4nagios: remove package (committed to gx86).
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 10 May 2015 11:44:52 +0000 (07:44 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 10 May 2015 11:44:52 +0000 (07:44 -0400)
net-analyzer/pnp4nagios/Manifest [deleted file]
net-analyzer/pnp4nagios/files/98_pnp4nagios-2.4.conf [deleted file]
net-analyzer/pnp4nagios/files/npcd [deleted file]
net-analyzer/pnp4nagios/files/npcd.initd [deleted file]
net-analyzer/pnp4nagios/files/pnp4nagios-0.6.14-makefile.patch [deleted file]
net-analyzer/pnp4nagios/metadata.xml [deleted file]
net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild [deleted file]

diff --git a/net-analyzer/pnp4nagios/Manifest b/net-analyzer/pnp4nagios/Manifest
deleted file mode 100644 (file)
index 3deef35..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX 98_pnp4nagios-2.4.conf 725 SHA256 44436bf79e2b3624e3eb9eda86a083896b7057bb94dc04637ad2ad58e5e40f76 SHA512 9698529decd9587b4c48dfd5a92069645d4a8fb0796f05fea104459bc4a58aab081f10fc110d75e97331ec960e5fef71a85745c3ea58c6b9f6c37bcec4143000 WHIRLPOOL 0661a385e75d41b9a3e61cabf555ec0bbf6f59504867d7dee47936097dd491457d55d1507720af4152fcabb7ed90752def669270c5f31dcbc0d84f8db732f876
-AUX npcd 759 SHA256 ea4c71df5c0a6bb410c44b08fc5c5428a3adf8c5daa7a12fe1068eaf71613be5 SHA512 54ccf3da9831b407d7a6b21d3409f7a8c854a32ec6eeda6036997059551bcec52e01b2b63a59e5269fef00c1c859dc856c4c6feb2323ff7fb328dd546c576a80 WHIRLPOOL 4e79bc6ee46a3aad0724488f4fa364b2e6916e30065ff8aed834c2e38929d6fd363210870fb3e4868ee65b0e7073b0d736c954f76415eec37aaa4efe62738454
-AUX npcd.initd 477 SHA256 eb1d5bdf589867136aaefa2f47bd808ef41109860d07d3862fd308585b6d7cff SHA512 c7c0ad6a94820f7327561e779968dc73104bf104bfc3077e952866522e89e7db69c2e289c7e4d61fce978416ef1a8e6d10e3f997fb498ce2157a3c23a869da4d WHIRLPOOL 7ff2db763dc3ee6cf24b0d720e1dd58235681ee1580d44aebbac406631c7c22366d871937eda7d64b4f07448fc28737650e42904aa69a687b7dbf0ab7a0672ab
-AUX pnp4nagios-0.6.14-makefile.patch 1057 SHA256 71fac5f40ba133258754bdd42d503024a7a64da7ae37b96bf6ed20a3c367f2ef SHA512 a67e4b66b0f24db25f9b67d982d99a90c20ad229d404537c9963b2e9f1c5df39a46faa34ecdeb1a9e69b46efd96104d97a39a7e326a01d1c2d09dcc149171602 WHIRLPOOL 7e6725dfef952a97f5d682af955560c88895ae71e5aae9a3bb4842b3696d2f6009e6239c0860991d86fe68d64b4bf7c1e668a5059751cbba4b33850f2bc7584f
-DIST pnp4nagios-0.6.25.tar.gz 2921068 SHA256 62d9cdcb132326753373b18fafebd716ec27dc5cbe1ef42204440fca21ca7a0c SHA512 e561fcac8243e6b1ab401312b4a05a6c752e2869da7366a22e4e48d54ae1e9c17c52cb2dffb1ca5748179f3bc856f779317196992643e9862eb09c4debf277c8 WHIRLPOOL 9267bbb04b3cdfdd4d12601508a6d602aa9513a096aac06adf4631fcb1218d2e24fef7a6be1defd8a3ac87106a9cdf6b689b50c432fe0f07ca45d7fbf665d810
-EBUILD pnp4nagios-0.6.25.ebuild 2934 SHA256 b2767915a0c34db1f6be3ee7476455a96f2821c56c04e028846db36b8b818a1d SHA512 ad40259cad31d72a5bb4c4117daf3bbda90ed58ceaa2ae0a3ddb16f3dc8f9699adb9537e0f97cb96ccbe6e5ab106a272e1713fac3c920a52c9ad775c70a6de31 WHIRLPOOL a535f71d2f9134ca42a1ff11cdff646ce8b505b505c99a57953ce2df5d869cffbd35d4647f8dbad6a629595ef653216b5d6d305ef865c5eb3e6aec4ad41d6453
-MISC metadata.xml 163 SHA256 a8aa48f63dab89c2af1f961029dea0ebf68a618dba59ac4661ea915dc85e18f0 SHA512 1744b806c2ddddbeee4d2b1e23c7f1ccf0d9427f679a65bd22cde617399d3a5bb30aada17ba5b648a3a46d9e1169b9d30ede4551fb8756dffc4e3e9306b199cf WHIRLPOOL b5af95c50999aaf066e6466928866baa34c6425459a580ab0712ba3e3ea518dc37a4082007043307ff169b1f8efe4f6a632d27d016b6fd307bf463cb47b78d55
diff --git a/net-analyzer/pnp4nagios/files/98_pnp4nagios-2.4.conf b/net-analyzer/pnp4nagios/files/98_pnp4nagios-2.4.conf
deleted file mode 100644 (file)
index 5944a2e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<IfDefine PNP>
-
-  Alias /pnp4nagios /usr/share/pnp/
-
-  <Directory /usr/share/pnp>
-    AllowOverride AuthConfig
-    Require all granted
-
-    <IfModule rewrite_module>
-      # Turn on URL rewriting
-      RewriteEngine On
-      Options +FollowSymLinks
-
-      # Installation directory
-      RewriteBase /pnp4nagios
-
-      # Protect application and system files from being viewed
-      RewriteRule ^(application|modules|system) - [F,L]
-
-      # Allow any files or directories that exist to be displayed directly
-      RewriteCond %{REQUEST_FILENAME} !-f
-      RewriteCond %{REQUEST_FILENAME} !-d
-
-      # Rewrite all other URLs to index.php/URL
-      RewriteRule .* index.php/$0 [PT,L]
-    </IfModule>
-  </Directory>
-
-</IfDefine>
diff --git a/net-analyzer/pnp4nagios/files/npcd b/net-analyzer/pnp4nagios/files/npcd
deleted file mode 100644 (file)
index 9158c18..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/files/npcd,v 1.2 2010/10/20 16:37:27 dertobi123 Exp $
-
-opts="${opts} reload"
-
-depend() {
-       need net
-}
-
-start() {
-       ebegin "Starting npcd"
-       start-stop-daemon --start --exec /usr/bin/npcd \
-               -- -f /etc/pnp/npcd.cfg \
-               -d
-       eend $? "Failed to Start npcd"
-}
-
-stop() {
-       ebegin "Stopping npcd"
-       start-stop-daemon --stop --quiet -n npcd
-       eend $? "Failed to Stop npcd"
-}
-
-reload() {
-        ebegin "Reloading npcd"
-        kill -HUP `pgrep npcd`
-        eend $? "Failed to reload npcd"
-}
-
-restart() {
-       ebegin "Restarting npcd"
-       svc_stop
-       svc_start
-       eend $? "Failed to Restart npcd"
-}
diff --git a/net-analyzer/pnp4nagios/files/npcd.initd b/net-analyzer/pnp4nagios/files/npcd.initd
deleted file mode 100644 (file)
index abf7aeb..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pnp4nagios/files/npcd.initd,v 1.1 2012/07/22 21:45:07 idl0r Exp $
-
-extra_started_commands="reload"
-
-command="/usr/bin/npcd"
-command_args="-f /etc/pnp/npcd.cfg -d"
-
-depend() {
-       need net
-}
-
-reload() {
-        ebegin "Reloading npcd"
-        kill -HUP `pgrep npcd`
-        eend $? "Failed to reload npcd"
-}
diff --git a/net-analyzer/pnp4nagios/files/pnp4nagios-0.6.14-makefile.patch b/net-analyzer/pnp4nagios/files/pnp4nagios-0.6.14-makefile.patch
deleted file mode 100644 (file)
index 469389d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -Naur pnp4nagios-0.6.14.orig/src/Makefile.in pnp4nagios-0.6.14/src/Makefile.in
---- pnp4nagios-0.6.14.orig/src/Makefile.in     2011-08-10 17:18:46.000000000 +0200
-+++ pnp4nagios-0.6.14/src/Makefile.in  2011-08-10 17:19:51.000000000 +0200
-@@ -83,7 +83,7 @@
- #
- ###############################
- npcd: npcd.c $(NPCDOBJS) $(NPCDHEAD)
--      $(CC) $(CFLAGS) -o $@ npcd.c $(NPCDOBJS) -lpthread
-+      $(CC) $(CFLAGS) $(LDFLAGS) -o $@ npcd.c $(NPCDOBJS) -lpthread
- ###############################
- #
-@@ -118,7 +118,6 @@
- install:
-       $(MAKE) install-basic
--      $(MAKE) strip-post-install
- install-unstripped:
-       $(MAKE) install-basic
-diff -Naur pnp4nagios-0.6.14.orig/configure pnp4nagios-0.6.14/configure
---- pnp4nagios-0.6.14.orig/configure   2011-08-12 09:01:12.000000000 +0200
-+++ pnp4nagios-0.6.14/configure        2011-08-12 09:03:32.000000000 +0200
-@@ -5565,7 +5565,7 @@
-               PERFDATA_LOG="${localstatedir}/perfdata.log"
-               PERFDATA_DIR="${localstatedir}/perfdata"
-               PERFDATA_SPOOL_DIR="${localstatedir}/spool"
--              mandir="\${prefix}/man"
-+              mandir="/usr/share/man"
-       ;;
- esac
diff --git a/net-analyzer/pnp4nagios/metadata.xml b/net-analyzer/pnp4nagios/metadata.xml
deleted file mode 100644 (file)
index d7649f4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <herd>sysadmin</herd>
-</pkgmetadata>
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild
deleted file mode 100644 (file)
index 2bde293..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-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"
-
-# A lot of things (sync mode, for one) are broken with nagios-4.x.
-DEPEND="
-       dev-lang/php[json,simplexml,zlib,xml,filter]
-       >=dev-lang/php-5.3
-       >=net-analyzer/rrdtool-1.2[graph,perl]
-       || ( <net-analyzer/nagios-core-4 net-analyzer/icinga net-analyzer/icinga2 )"
-
-# 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}] )"
-
-# There is no want_apache2_4, but we needed to specify that manually
-# anyway to be able to include the list of modules.
-want_apache2
-
-pkg_setup() {
-       depend.apache_pkg_setup
-}
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-0.6.14-makefile.patch"
-}
-
-src_configure() {
-       local var_dir=
-       local user_group=
-
-       if has_version net-analyzer/nagios-core; then
-               var_dir=/var/nagios/
-               user_group=nagios
-       else
-               var_dir=/var/lib/icinga/
-               user_group=icinga
-       fi
-
-       econf \
-               --sysconfdir=/etc/pnp \
-               --datarootdir=/usr/share/pnp \
-               --mandir=/usr/share/man \
-               --with-perfdata-dir=${var_dir}/perfdata \
-               --with-nagios-user=${user_group} \
-               --with-nagios-group=${user_group} \
-               --with-perfdata-logfile=${var_dir}/perfdata.log \
-               --with-perfdata-spool-dir=/var/spool/pnp
-}
-
-src_compile() {
-       # The default target just shows a help
-       emake all
-}
-
-src_install() {
-       emake DESTDIR="${D}" install install-config
-       newinitd "${FILESDIR}"/npcd.initd npcd
-       rm "${D}/usr/share/pnp/install.php" || \
-               die "unable to remove ${D}/usr/share/pnp/install.php"
-
-       if use apache2 ; then
-               insinto "${APACHE_MODULES_CONFDIR}"
-               newins "${FILESDIR}"/98_pnp4nagios-2.4.conf 98_pnp4nagios.conf
-
-               # Allow the apache user to read our config files. This same
-               # approach is used in net-analyzer/nagios-core.
-               chgrp -R apache "${D}/etc/pnp" \
-                       || die "failed to change group of ${ROOT}etc/pnp"
-       fi
-
-       # Bug 430358 - CVE-2012-3457
-       find "${D}/etc/pnp" -type f -exec chmod 0640 '{}' + || \
-               die "unable to set file permissions under ${D}/etc/pnp"
-
-       find "${D}/etc/pnp" -type d -exec chmod 0750 '{}' + || \
-               die "unable to set directory permissions under ${D}/etc/pnp"
-}
-
-pkg_postinst() {
-       elog "To enable the pnp4nagios web front-end, please visit"
-       elog "${ROOT}etc/conf.d/apache2 and add \"-D PNP -D PHP5\""
-       elog "to APACHE2_OPTS. Then pnp4nagios will be available at,"
-       elog
-       elog "  http://localhost/pnp4nagios"
-       elog
-}