From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27FA5158094 for ; Tue, 30 Aug 2022 10:07:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2003BE0917; Tue, 30 Aug 2022 10:07:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8244E0917 for ; Tue, 30 Aug 2022 10:07:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D52243410EA for ; Tue, 30 Aug 2022 10:07:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E76A5A4 for ; Tue, 30 Aug 2022 10:06:59 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1661853959.a41e1231f48bfe9c3835b356665ebb6bb76ad6c0.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pnp4nagios/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/pnp4nagios/pnp4nagios-0.6.26-r10.ebuild X-VCS-Directories: net-analyzer/pnp4nagios/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: a41e1231f48bfe9c3835b356665ebb6bb76ad6c0 X-VCS-Branch: master Date: Tue, 30 Aug 2022 10:06:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 365b5d10-40bb-4fad-b69b-10f55fff3938 X-Archives-Hash: d4b6d2250999798dafed7b9c995b1a52 commit: a41e1231f48bfe9c3835b356665ebb6bb76ad6c0 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Aug 30 10:05:59 2022 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Aug 30 10:05:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41e1231 net-analyzer/pnp4nagios: drop 0.6.26-r10 Signed-off-by: Michael Orlitzky gentoo.org> .../pnp4nagios/pnp4nagios-0.6.26-r10.ebuild | 100 --------------------- 1 file changed, 100 deletions(-) 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 -}