aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios/pkg-plist
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-07 09:16:37 +0800
committeredwin <edwin@FreeBSD.org>2003-04-07 09:16:37 +0800
commit26c9f937dfdab938c3e7624a88c82bdcdc9a7f30 (patch)
tree01f45134b81b18862dca6fe54f47d1acdfe86d42 /net-mgmt/nagios/pkg-plist
parent498ea6c3e1c39cc3b70d3f53df127c9d8783ce4a (diff)
downloadfreebsd-ports-gnome-26c9f937dfdab938c3e7624a88c82bdcdc9a7f30.tar.gz
freebsd-ports-gnome-26c9f937dfdab938c3e7624a88c82bdcdc9a7f30.tar.zst
freebsd-ports-gnome-26c9f937dfdab938c3e7624a88c82bdcdc9a7f30.zip
MAINTAINER UPDATE: net/nagios
- move nagios workfile directory from /usr/local/var/nagios to /var/spool/nagios. /usr/local is read-only on some NFS booted systems. - remove scripts/checkps, everybody should have a working /bin/ps by now. - add new switches WITH_MYSQL and WITH_PGSQL which enable support for putting configuration files into a MySQL or PostgreSQL database, based on a patch submitted in PR 48102 by Krzysztof Stryjek <wtp@mud.pl> PR: ports/48988 Submitted by: Blaz Zupan <blaz@si.FreeBSD.org>
Diffstat (limited to 'net-mgmt/nagios/pkg-plist')
-rw-r--r--net-mgmt/nagios/pkg-plist17
1 files changed, 8 insertions, 9 deletions
diff --git a/net-mgmt/nagios/pkg-plist b/net-mgmt/nagios/pkg-plist
index e595f0d3e9b5..2f1a32523a20 100644
--- a/net-mgmt/nagios/pkg-plist
+++ b/net-mgmt/nagios/pkg-plist
@@ -1,9 +1,9 @@
@exec mkdir -p %D/share/nagios/ssi
-@exec mkdir -p %D/var/nagios/archives
-@exec mkdir -p %D/var/nagios/rw
-@exec chmod 775 %D/var/nagios %D/var/nagios/archives %D/var/nagios/rw
-@exec chown nagios:nagios %D/var/nagios %D/var/nagios/archives
-@exec chown nagios:nogroup %D/var/nagios/rw
+@exec mkdir -p /var/spool/nagios/archives
+@exec mkdir -p /var/spool/nagios/rw
+@exec chmod 775 /var/spool/nagios /var/spool/nagios/archives /var/spool/nagios/rw
+@exec chown nagios:nagios /var/spool/nagios /var/spool/nagios/archives
+@exec chown nagios:nogroup /var/spool/nagios/rw
bin/nagios
etc/nagios/cgi.cfg-sample
etc/nagios/checkcommands.cfg-sample
@@ -309,7 +309,6 @@ share/nagios/stylesheets/trends.css
@dirrm share/nagios/ssi
@dirrm share/nagios/stylesheets
@dirrm share/nagios
-@unexec rmdir %D/var/nagios/archives 2>/dev/null || true
-@unexec rmdir %D/var/nagios/rw 2>/dev/null || true
-@unexec rmdir %D/var/nagios 2>/dev/null || true
-@unexec rmdir %D/var 2>/dev/null || true
+@unexec rmdir /var/spool/nagios/archives 2>/dev/null || true
+@unexec rmdir /var/spool/nagios/rw 2>/dev/null || true
+@unexec rmdir /var/spool/nagios 2>/dev/null || true