diff options
author | miwi <miwi@FreeBSD.org> | 2011-02-05 18:59:19 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-02-05 18:59:19 +0800 |
commit | 1a11029fce5acd419731b4c306af5412e76ca635 (patch) | |
tree | f3e0e92ad729eff7b1b092f46663671487bf69df /net-mgmt/nagiosgraph | |
parent | 0daf8f0f582a997e5aa0795415b71fccc16321fe (diff) | |
download | freebsd-ports-graphics-1a11029fce5acd419731b4c306af5412e76ca635.tar.gz freebsd-ports-graphics-1a11029fce5acd419731b4c306af5412e76ca635.tar.zst freebsd-ports-graphics-1a11029fce5acd419731b4c306af5412e76ca635.zip |
- Update to 1.4.4.
PR: 154507
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by: maintainer
Feature safe: yes
Diffstat (limited to 'net-mgmt/nagiosgraph')
-rw-r--r-- | net-mgmt/nagiosgraph/Makefile | 7 | ||||
-rw-r--r-- | net-mgmt/nagiosgraph/distinfo | 5 | ||||
-rw-r--r-- | net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in | 37 | ||||
-rw-r--r-- | net-mgmt/nagiosgraph/pkg-plist | 1 |
4 files changed, 24 insertions, 26 deletions
diff --git a/net-mgmt/nagiosgraph/Makefile b/net-mgmt/nagiosgraph/Makefile index 54d87a3913b..d8cd7253f35 100644 --- a/net-mgmt/nagiosgraph/Makefile +++ b/net-mgmt/nagiosgraph/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nagiosgraph -PORTVERSION= 1.4.3 +PORTVERSION= 1.4.4 CATEGORIES= net-mgmt MASTER_SITES= SF @@ -21,7 +21,8 @@ NO_BUILD= yes PORTDOCS= AUTHORS CHANGELOG INSTALL README TODO NAGIOSWWWDIR?= www/nagios -CGIFILES= show.cgi showgraph.cgi showhost.cgi showservice.cgi testcolor.cgi showgroup.cgi +CGIFILES= show.cgi showconfig.cgi showgraph.cgi showgroup.cgi showhost.cgi \ + showservice.cgi testcolor.cgi LIBFILES= insert.pl CFGFILES= nagiosgraph.conf nagiosgraph_de.conf nagiosgraph_es.conf nagiosgraph_fr.conf \ servdb.conf groupdb.conf hostdb.conf datasetdb.conf map access.conf labels.conf \ @@ -68,7 +69,7 @@ do-install: .endfor ${MV} ${PREFIX}/${NAGIOSWWWDIR}/images/action.gif ${PREFIX}/${NAGIOSWWWDIR}/images/action.gif.bak - ${INSTALL_DATA} ${WRKSRC}/share/action.gif ${PREFIX}/${NAGIOSWWWDIR}/images/action.gif + ${INSTALL_DATA} ${WRKSRC}/share/graph.gif ${PREFIX}/${NAGIOSWWWDIR}/images/action.gif .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} diff --git a/net-mgmt/nagiosgraph/distinfo b/net-mgmt/nagiosgraph/distinfo index 6aeb61ec716..9dac7c821ff 100644 --- a/net-mgmt/nagiosgraph/distinfo +++ b/net-mgmt/nagiosgraph/distinfo @@ -1,3 +1,2 @@ -MD5 (nagiosgraph-1.4.3.tar.gz) = e00ac92d9d51a7605e08617d19b64080 -SHA256 (nagiosgraph-1.4.3.tar.gz) = f5c75abc782020d150c99417316dc838b640480be6b481cdd791b528954cd74f -SIZE (nagiosgraph-1.4.3.tar.gz) = 113534 +SHA256 (nagiosgraph-1.4.4.tar.gz) = e6c7091fbbf7dc44a5a3e8584d3f85dfbf20171dcb253c744ac15300cc9804a1 +SIZE (nagiosgraph-1.4.4.tar.gz) = 157955 diff --git a/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in b/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in index 80adfcb85f0..dd119670266 100644 --- a/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in +++ b/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in @@ -1,20 +1,20 @@ ---- ./etc/nagiosgraph.conf.orig 2010-06-07 18:30:21.000000000 +0200 -+++ ./etc/nagiosgraph.conf 2010-08-17 21:50:26.000000000 +0200 +--- ./etc/nagiosgraph.conf.orig 2011-01-15 09:27:44.000000000 +0300 ++++ ./etc/nagiosgraph.conf 2011-02-03 16:08:34.000000000 +0300 @@ -8,19 +8,19 @@ # Author: (c) 2010 Matthew Wall - # Location of nagiosgraph log file. Debug output ends up here. --logfile = /var/log/nagiosgraph.log + # Location of output from nagiosgraph data processing +-logfile = /var/nagiosgraph/nagiosgraph.log +logfile = /var/spool/nagios/nagiosgraph.log - # Optionally keep logging from CGI scripts in a separate file. - #cgilogfile = /var/log/nagiosgraph-cgi.log + # Location of output from nagiosgraph CGI scripts + cgilogfile = /var/nagiosgraph/nagiosgraph-cgi.log - # Location of nagios performance data log file. Comment out if not used. + # Location of nagios performance data log file. -perflog = /var/nagios/perfdata.log +perflog = /var/spool/nagios/perfdata.log - # Directory to store rrd database files + # Directory in which to store RRD files -rrddir = /var/nagiosgraph/rrd +rrddir = /var/spool/nagios/nagiosgraph/rrd @@ -24,12 +24,8 @@ # Nagiosgraph CGI URL. nagiosgraphcgiurl = /nagiosgraph/cgi-bin -@@ -30,36 +30,36 @@ - #nagioscgiurl = /nagios/cgi-bin - - # JavaScript: URL to the nagiosgraph javascript file. --javascript = /nagiosgraph/nagiosgraph.js -+javascript = /nagios/stylesheets/nagiosgraph.js +@@ -33,22 +33,22 @@ + javascript = /nagiosgraph/nagiosgraph.js # Stylesheet: URL to the nagiosgraph stylesheet. -stylesheet = /nagiosgraph/nagiosgraph.css @@ -57,14 +53,15 @@ # Access control configuration (optional) # The authorization method can be one of nagios3 or nagiosgraph. If no - # method is defined, access will be granted to all hosts and services. - # For access control via nagios, specify the nagios configuration files. +@@ -61,12 +61,12 @@ + # authorized_for_all_hosts, authorized_for_all_services, and default_user_name + # variables to determine permissions. #authzmethod = nagios3 --#authznagios_cfg = /etc/nagios/nagios.cfg --#authzcgi_cfg = /etc/nagios/cgi.cfg -+#authznagios_cfg = %%PREFIX%%/etc/nagios/nagios.cfg -+#authzcgi_cfg = %%PREFIX%%/etc/nagios/cgi.cfg +-#authzfile = /etc/nagios/cgi.cfg ++#authzfile = %%PREFIX%%/etc/nagios/cgi.cfg + # For access control via nagiosgraph, specify a single access control file. + # See the sample access control file for syntax and examples. #authzmethod = nagiosgraph -#authzfile = /etc/nagiosgraph/access.conf +#authzfile = %%PREFIX%%/etc/nagios/nagiosgraph/access.conf diff --git a/net-mgmt/nagiosgraph/pkg-plist b/net-mgmt/nagiosgraph/pkg-plist index 7fa567bab58..e78524583cf 100644 --- a/net-mgmt/nagiosgraph/pkg-plist +++ b/net-mgmt/nagiosgraph/pkg-plist @@ -37,6 +37,7 @@ etc/nagios/%%PORTNAME%%/rrdopts.conf.sample @exec if [ ! -f %D/etc/nagios/%%PORTNAME%%/rrdopts.conf ] ; then cp -p %D/%F %B/rrdopts.conf; fi libexec/%%PORTNAME%%/insert.pl %%NAGIOSWWWDIR%%/cgi-bin/%%PORTNAME%%/show.cgi +%%NAGIOSWWWDIR%%/cgi-bin/%%PORTNAME%%/showconfig.cgi %%NAGIOSWWWDIR%%/cgi-bin/%%PORTNAME%%/showgraph.cgi %%NAGIOSWWWDIR%%/cgi-bin/%%PORTNAME%%/showgroup.cgi %%NAGIOSWWWDIR%%/cgi-bin/%%PORTNAME%%/showhost.cgi |