diff options
author | seb <seb@pkgsrc.org> | 2007-11-26 22:14:13 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2007-11-26 22:14:13 +0000 |
commit | 40ba22b2806ec921e35abfbbf36b561106648abb (patch) | |
tree | 71298f4214449b931fb058feefeb073a34d6d671 /mk | |
parent | 54849f656e62f0b41c13c79ae7b9f7346b77aa50 (diff) | |
download | pkgsrc-40ba22b2806ec921e35abfbbf36b561106648abb.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 'mk')
-rw-r--r-- | mk/defaults/mk.conf | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index 11c6bedc60d..8b25cda84d8 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.165 2007/11/04 23:53:44 uebayasi Exp $ +# $NetBSD: mk.conf,v 1.166 2007/11/26 22:14:13 seb Exp $ # # This file provides default values for variables that may be overridden @@ -1364,6 +1364,28 @@ MTOOLS_ENABLE_FLOPPYD?= NO # Possible: none, compolex, all or list selected from MYSQL_CHARSET's # possible values. +NAGIOS_GROUP?= nagios +# The group for Nagios user. +# Possible: any group name. +# Default: the same as the Nagios user + +NAGIOS_USER?= nagios +# The unprivileged user for Nagios. +# Possible: any user name. +# Default: nagios + +NAGIOSCMD_GROUP?= ${APACHE_GROUP} +# The group for Nagios "external commands". It must be should be +# one of the groups of the user the HTTP server used is running as. +# The Nagios user must also be a member of this group. +# Possible: any user name. +# Default: ${APACHE_GROUP} + +NAGIOSDIR?= ${VARBASE}/spool/nagios +# Directory where Nagios status, log files etc.. are hold +# Possible: any directory. +# Default: ${VARBASE}/spool/nagios + NMH_EDITOR?= vi # default editor for use in nmh. # Possible: any editor. |