SOURCES: nagios-grapher-perl_path.patch - do not depend on external which(1)

glen glen at pld-linux.org
Mon Dec 1 17:51:22 CET 2008


Author: glen                         Date: Mon Dec  1 16:51:22 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- do not depend on external which(1)

---- Files affected:
SOURCES:
   nagios-grapher-perl_path.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/nagios-grapher-perl_path.patch
diff -u SOURCES/nagios-grapher-perl_path.patch:1.2 SOURCES/nagios-grapher-perl_path.patch:1.3
--- SOURCES/nagios-grapher-perl_path.patch:1.2	Sun Nov 30 16:42:56 2008
+++ SOURCES/nagios-grapher-perl_path.patch	Mon Dec  1 17:51:16 2008
@@ -9,3 +9,14 @@
  
    my @today = localtime( time() );
  
+--- NagiosGrapher-1.6.1-rc5-0.5/sbin/rrd2-system.cgi.in~	2008-12-01 14:55:05.000000000 +0200
++++ NagiosGrapher-1.6.1-rc5-0.5/sbin/rrd2-system.cgi.in	2008-12-01 14:56:27.971503013 +0200
+@@ -82,7 +82,7 @@
+ my @caller = ($graph_script, join(';', @param_arr));
+ 
+ # get the image
+-my $perl = `which perl`;
++my $perl = '/usr/bin/perl';
+ chomp($perl);
+ my $image_bin;
+ open (IMG, "-|") || exec $perl, at caller;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nagios-grapher-perl_path.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list