]> git.pld-linux.org Git - packages/cacti-template-nagiostats.git/commitdiff
- rfc compliant header termination
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Dec 2010 12:27:26 +0000 (12:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-template-nagiostats.spec -> 1.5
    cgi-rfc.patch -> 1.1

cacti-template-nagiostats.spec
cgi-rfc.patch [new file with mode: 0644]

index ce7b585bfc571e4c75026da085fdd37d87522b24..e8eb821fee3e0df6ee2af07620c2a619143d0f79 100644 (file)
@@ -4,7 +4,7 @@
 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
@@ -12,6 +12,7 @@ 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
@@ -33,6 +34,7 @@ Template for Cacti - Nagios statistics.
 %prep
 %setup -qc
 %patch0 -p1
+%patch1 -p1
 cp -a %{SOURCE1} .
 cp -a %{SOURCE2} .
 %{__sed} -i -e 's,check_nagios.pl,check_nagios.sh,' *
diff --git a/cgi-rfc.patch b/cgi-rfc.patch
new file mode 100644 (file)
index 0000000..6976863
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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;
This page took 0.086065 seconds and 4 git commands to generate.