From 6d426ea463306effcda8b60f3a43e31c6459f5ef Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 26 Nov 2007 22:14:13 +0000 Subject: 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. --- net/nagios-base/PLIST | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/nagios-base/PLIST') 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} -- cgit v1.2.3