summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2018-06-19 18:08:53 -0400
committerMichael Orlitzky <mjo@gentoo.org>2018-06-19 18:11:15 -0400
commit1b7ee5b1a4c5828b756ebbf767091192cfee5cdc (patch)
treeb63b21d7ad4a3ab4c1a02bd1ed638b7624eac033 /net-analyzer/pnp4nagios
parentdev-python/flask-nav: support Python 3.6 (diff)
downloadgentoo-1b7ee5b1a4c5828b756ebbf767091192cfee5cdc.tar.gz
gentoo-1b7ee5b1a4c5828b756ebbf767091192cfee5cdc.tar.bz2
gentoo-1b7ee5b1a4c5828b756ebbf767091192cfee5cdc.zip
net-analyzer/pnp4nagios: remove "unused" vulnerable versions.
Bug: https://bugs.gentoo.org/637640 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-analyzer/pnp4nagios')
-rw-r--r--net-analyzer/pnp4nagios/Manifest2
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.24.ebuild84
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r1.ebuild105
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r2.ebuild108
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r3.ebuild101
-rw-r--r--net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild105
6 files changed, 0 insertions, 505 deletions
diff --git a/net-analyzer/pnp4nagios/Manifest b/net-analyzer/pnp4nagios/Manifest
index b6f67e80d8a4..e33adf3e6b1d 100644
--- a/net-analyzer/pnp4nagios/Manifest
+++ b/net-analyzer/pnp4nagios/Manifest
@@ -1,3 +1 @@
-DIST pnp4nagios-0.6.24.tar.gz 2919182 BLAKE2B 95f2e00182e8fcce7bb17c56d0900def9c7a99c7f709983a906465a3033807fc673de64d2312f61446247b34a2bb56a06972fad225b7929ed87250abece7bb47 SHA512 7e8c32e0ac69ab747a57e8ab6cc59fddfb63e16598fda9c1e6270d6309ff0885cd1bd0876d05aa1d30bffa76b281d41dc8fbe59e430778bf4d3bdddc4a7bee9f
-DIST pnp4nagios-0.6.25.tar.gz 2921068 BLAKE2B 9497af2e5d2ffc24685f0cae6e3ab6b912765cb246b22dac2c93a196ebf13fce0909fcd4a1d94438ca986808168416f54ade97972d278a64d069d38fff8ebbb8 SHA512 e561fcac8243e6b1ab401312b4a05a6c752e2869da7366a22e4e48d54ae1e9c17c52cb2dffb1ca5748179f3bc856f779317196992643e9862eb09c4debf277c8
DIST pnp4nagios-0.6.26.tar.gz 3039265 BLAKE2B 1adb3c41222e6bc93671af955a1564387d77901ce118f5d309d101d88c691140e0feef1c2594bc5db44706ff01505a4fcf99b79b6a0c5b5cb923838dd00f1ff0 SHA512 caf6dcced74967174d9e6f09dd1a5bee17397c10a68d0f577c37dcc836f928d78c20d75a0189539e9ffa93715ab7b6e732e9f36b9698cf4dd9c09cfb65184427
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.24.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.24.ebuild
deleted file mode 100644
index 7a79e5d51e9a..000000000000
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.24.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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"
-
-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 net-analyzer/icinga net-analyzer/icinga2 )"
-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.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
-
- if use apache2 ; then
- insinto "${APACHE_MODULES_CONFDIR}"
- doins "${FILESDIR}"/98_pnp4nagios.conf
- fi
-
- # Bug 430358 - CVE-2012-3457
- find "${D}/etc/pnp" -type f -exec chmod 0640 {} \; || die
- find "${D}/etc/pnp" -type d -exec chmod 0750 {} \; || die
-}
-
-pkg_postinst() {
- elog "Please make sure to enable URL rewriting in Apache or any other"
- elog "webserver you're using, to get pnp4nagios running!"
-}
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r1.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r1.ebuild
deleted file mode 100644
index ea74516d0c55..000000000000
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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:*[filter,gd,json,simplexml,xml,zlib]
- >=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
-}
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r2.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r2.ebuild
deleted file mode 100644
index 7630fe3e6f9b..000000000000
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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:*[filter,gd,json,simplexml,xml,zlib]
- >=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
- elif has_version net-analyzer/icinga2; then
- var_dir=/var/lib/icinga2/
- user_group=icinga
- 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
-}
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r3.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r3.ebuild
deleted file mode 100644
index 2044e45a7e0d..000000000000
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25-r3.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# 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"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-
-# A lot of things (sync mode, for one) are broken with nagios-4.x.
-DEPEND="
- dev-lang/php:*[filter,gd,json,simplexml,xml,zlib]
- >=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}] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.6.14-makefile.patch"
- "${FILESDIR}/${P}-rrdtool-0.6.0-support.patch"
-)
-
-src_configure() {
- local var_dir user_group
-
- if has_version net-analyzer/nagios-core; then
- var_dir=/var/nagios
- user_group=nagios
- elif has_version net-analyzer/icinga2; then
- var_dir=/var/lib/icinga2
- user_group=icinga
- else
- var_dir=/var/lib/icinga
- user_group=icinga
- fi
-
- econf \
- --sysconfdir="${EPREFIX}"/etc/pnp \
- --datarootdir="${EPREFIX}"/usr/share/pnp \
- --with-perfdata-dir="${EPREFIX}"${var_dir}/perfdata \
- --with-nagios-user=${user_group} \
- --with-nagios-group=${user_group} \
- --with-perfdata-logfile="${EPREFIX}"${var_dir}/perfdata.log \
- --with-perfdata-spool-dir="${EPREFIX}"/var/spool/pnp
-}
-
-src_compile() {
- # The default target just shows a help
- emake all
-}
-
-src_install() {
- emake 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"
-
- 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 "${ED%/}/etc/pnp" \
- || die "failed to change group of ${ED%/}/etc/pnp"
- fi
-
- # Bug 430358 - CVE-2012-3457
- local f
- while IFS="" read -d $'\0' -r f ; do
- chmod 0640 "${f}" || die
- done < <(find "${ED%/}/etc/pnp" -type f)
-
- while IFS="" read -d $'\0' -r f ; do
- chmod 0750 "${f}" || die
- done < <(find "${ED%/}/etc/pnp" -type d)
-}
-
-pkg_postinst() {
- elog "To enable the pnp4nagios web front-end, please visit"
- elog "${EROOT%/}/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
-}
diff --git a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild b/net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild
deleted file mode 100644
index 8c83a932fe0c..000000000000
--- a/net-analyzer/pnp4nagios/pnp4nagios-0.6.25.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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-5.3:*[json,simplexml,zlib,xml,filter]
- >=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
-}