aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagiosgraph
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-08-19 03:30:40 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-08-19 03:30:40 +0000
commitff9e4401e1a73f3596301937c551ef0279db7351 (patch)
tree715a3d27cf760e2f2a8e7feb4e38eb197da39c8d /net-mgmt/nagiosgraph
parentca5951f39ec1216676ef5943ab0f8ac8e0b6ee29 (diff)
downloadports-ff9e4401e1a73f3596301937c551ef0279db7351.tar.gz
ports-ff9e4401e1a73f3596301937c551ef0279db7351.zip
Notes
Diffstat (limited to 'net-mgmt/nagiosgraph')
-rw-r--r--net-mgmt/nagiosgraph/Makefile3
-rw-r--r--net-mgmt/nagiosgraph/files/patch-show.cgi13
2 files changed, 15 insertions, 1 deletions
diff --git a/net-mgmt/nagiosgraph/Makefile b/net-mgmt/nagiosgraph/Makefile
index 5123448c672c..4eb1a15394a9 100644
--- a/net-mgmt/nagiosgraph/Makefile
+++ b/net-mgmt/nagiosgraph/Makefile
@@ -7,12 +7,13 @@
PORTNAME= nagiosgraph
PORTVERSION= 0.8.2
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dsh@vlink.ru
-COMMENT= Generate rrdtool's graphs by performance data from nagios plugins
+COMMENT= Generate rrdtool\'s graphs by performance data from nagios plugins
RUN_DEPENDS= ${LOCALBASE}/bin/nagios:${PORTSDIR}/net-mgmt/nagios \
${SITE_PERL}/${PERL_ARCH}/RRDs.pm:${PORTSDIR}/net/rrdtool
diff --git a/net-mgmt/nagiosgraph/files/patch-show.cgi b/net-mgmt/nagiosgraph/files/patch-show.cgi
new file mode 100644
index 000000000000..5bd58eb780f3
--- /dev/null
+++ b/net-mgmt/nagiosgraph/files/patch-show.cgi
@@ -0,0 +1,13 @@
+Index: show.cgi
+===================================================================
+--- show.cgi (revision 402)
++++ show.cgi (working copy)
+@@ -252,7 +252,7 @@
+ @style = ( -style => {-src => "$Config{stylesheet}"} );
+ }
+ print header, start_html(-id=>"nagiosgraph", -title => "nagiosgraph: $host-$service",
+- -meta => { -http_equiv => "Refresh", -content => "300" },
++ -head => meta({-http_equiv => 'refresh', -content => '300'}),
+ @style
+ );
+ page($host,$service,$geom,$rrdopts,@db);