packages: cacti-template-nagiostats/cacti-template-nagiostats.spec, cacti-t...

glen glen at pld-linux.org
Mon Dec 13 09:46:00 CET 2010


Author: glen                         Date: Mon Dec 13 08:46:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix path to nagiostats

---- Files affected:
packages/cacti-template-nagiostats:
   cacti-template-nagiostats.spec (1.2 -> 1.3) , pld.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cacti-template-nagiostats/cacti-template-nagiostats.spec
diff -u packages/cacti-template-nagiostats/cacti-template-nagiostats.spec:1.2 packages/cacti-template-nagiostats/cacti-template-nagiostats.spec:1.3
--- packages/cacti-template-nagiostats/cacti-template-nagiostats.spec:1.2	Mon Dec 13 09:42:33 2010
+++ packages/cacti-template-nagiostats/cacti-template-nagiostats.spec	Mon Dec 13 09:45:55 2010
@@ -5,12 +5,13 @@
 Summary:	Nagios Statistics - Cacti scripts and templates
 Name:		cacti-template-%{template}
 Version:	0.1
-Release:	0.4
+Release:	0.5
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://forums.cacti.net/download/file.php?id=18185#/nacti.tar.gz
 # Source0-md5:	758d07f15a58c845169b3359bce837c5
 Source1:	cacti_host_template_nagios_statistics.xml
+Patch0:		pld.patch
 URL:		http://forums.cacti.net/about33806.html
 BuildRequires:	rpmbuild(macros) >= 1.554
 BuildRequires:	sed >= 4.0
@@ -69,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/12/13 08:45:55  glen
+- fix path to nagiostats
+
 Revision 1.2  2010/12/13 08:42:33  glen
 - add host template
 

================================================================
Index: packages/cacti-template-nagiostats/pld.patch
diff -u /dev/null packages/cacti-template-nagiostats/pld.patch:1.1
--- /dev/null	Mon Dec 13 09:46:00 2010
+++ packages/cacti-template-nagiostats/pld.patch	Mon Dec 13 09:45:55 2010
@@ -0,0 +1,11 @@
+--- cgi/mrtgstats.cgi~	2009-08-15 12:28:36.000000000 +0300
++++ cgi/mrtgstats.cgi	2010-12-12 23:13:10.620598093 +0200
+@@ -10,7 +10,7 @@
+ my $request_type;
+ 
+ # Location of the nagiostat binary
+-my $nagiostat = '/usr/bin/nagiostats';
++my $nagiostat = '/usr/sbin/nagiostats';
+ 
+ # Does the nagiostat binary even exist?
+ if ( ! -e $nagiostat) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-nagiostats/cacti-template-nagiostats.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list