40ba22b280
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.
13 lines
354 B
Text
13 lines
354 B
Text
$NetBSD: patch-ae,v 1.2 2007/11/26 22:14:14 seb Exp $
|
|
|
|
--- common/Makefile.in.orig 2003-04-10 03:46:01.000000000 +0000
|
|
+++ common/Makefile.in
|
|
@@ -17,7 +17,7 @@ exec_prefix=@exec_prefix@
|
|
LOGDIR=@localstatedir@
|
|
CFGDIR=@sysconfdir@
|
|
BINDIR=@bindir@
|
|
-CGIDIR=@sbindir@
|
|
+CGIDIR=@libexecdir@
|
|
HTMLDIR=@datadir@
|
|
INSTALL=@INSTALL@
|
|
INSTALL_OPTS=@INSTALL_OPTS@
|