Changed files:
cacti-template-nagiostats.spec -> 1.5
cgi-rfc.patch -> 1.1
Summary: Nagios Statistics - Cacti scripts and templates
Name: cacti-template-%{template}
Version: 0.1
-Release: 0.6
+Release: 0.7
License: GPL v2
Group: Applications/WWW
Source0: http://forums.cacti.net/download/file.php?id=18185#/nacti.tar.gz
Source1: cacti_host_template_nagios_statistics.xml
Source2: check_nagios.sh
Patch0: pld.patch
+Patch1: cgi-rfc.patch
URL: http://forums.cacti.net/about33806.html
BuildRequires: rpmbuild(macros) >= 1.554
BuildRequires: sed >= 4.0
%prep
%setup -qc
%patch0 -p1
+%patch1 -p1
cp -a %{SOURCE1} .
cp -a %{SOURCE2} .
%{__sed} -i -e 's,check_nagios.pl,check_nagios.sh,' *
--- /dev/null
+--- cacti-template-nagiostats-0.1/mrtgstats.cgi~ 2010-12-13 10:46:33.000000000 +0200
++++ cacti-template-nagiostats-0.1/mrtgstats.cgi 2010-12-13 14:26:22.964829559 +0200
+@@ -5,7 +5,7 @@
+ use strict;
+
+ # Needed header printage for CGI scripts
+-print "Content-type: text/html\n\n";
++print "Content-type: text/html\r\n\r\n";
+
+ my $request_type;
+