summaryrefslogtreecommitdiff
path: root/net/nagios-base/PLIST
diff options
context:
space:
mode:
authorseb <seb>2007-11-26 22:14:13 +0000
committerseb <seb>2007-11-26 22:14:13 +0000
commit6d426ea463306effcda8b60f3a43e31c6459f5ef (patch)
tree71298f4214449b931fb058feefeb073a34d6d671 /net/nagios-base/PLIST
parent0c38a6d2d1f76cb64ee71112620a0b22d9dcb04d (diff)
downloadpkgsrc-6d426ea463306effcda8b60f3a43e31c6459f5ef.tar.gz
Bump PKGREVISION to 4.
As proposed on pkgsrc-users@... - Introduce NAGIOSDIR, defaults to VARBASE/spool/nagios, for log and status files. - Drop unused(?) 'nagadmin' user and group. - Sync user and group handling with Nagios install documentation/recommendations. Introduce the Nagios "external command" group, NAGIOSCMD_GROUP, defaults to APACHE_GROUP. The Nagios user should be manually added after package installation to the NAGIOSCMD_GROUP group. Add this recommandation to the MESSAGE file. Make the "external command directory", NAGIOSDIR/rw, owned by NAGIOS_USER:NAGIOSCMD_GROUP. - Use /var/run/nagios.lock as pidfile. - Only install existing example configuration files. - Put default values of NAGIOSDIR, NAGIOS_USER, NAGIOS_GROUP and NAGIOSCMD_GROUP in mk/defaults/mk.conf and allow MAKECONF to override them. - Miscellaneous clean up and sync with the changes mentionned above. - When deleting the package allow removal of directories shared with other Nagios packages to fail.
Diffstat (limited to 'net/nagios-base/PLIST')
-rw-r--r--net/nagios-base/PLIST6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/nagios-base/PLIST b/net/nagios-base/PLIST
index a5e733a2b9d..94e37f0415c 100644
--- a/net/nagios-base/PLIST
+++ b/net/nagios-base/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/18 17:12:20 bouyer Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/11/26 22:14:13 seb Exp $
bin/nagios
bin/nagiostats
bin/p1.pl
@@ -293,6 +293,6 @@ share/nagios/stylesheets/trends.css
@exec ${MKDIR} %D/share/nagios/ssi 2>/dev/null || ${TRUE}
@dirrm share/nagios/ssi
@dirrm share/nagios
-@dirrm share/examples/nagios
@dirrm libexec/nagios/cgi-bin
-@dirrm libexec/nagios
+@unexec ${RMDIR} %D/share/examples/nagios 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/libexec/nagios 2>/dev/null || ${TRUE}