[Pkg-nagios-devel] nagios/patches 13_config.h.in-traceroute_hardcoded.dpatch, 1.1, 1.2

seanius at haydn.debian.org seanius at haydn.debian.org
Mon Aug 29 18:29:35 UTC 2005


Update of /cvsroot/pkg-nagios/nagios/patches
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv6604/patches

Modified Files:
	13_config.h.in-traceroute_hardcoded.dpatch 
Log Message:
another stab at the traceroute path


Index: 13_config.h.in-traceroute_hardcoded.dpatch
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios/patches/13_config.h.in-traceroute_hardcoded.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 13_config.h.in-traceroute_hardcoded.dpatch	29 Aug 2005 17:15:36 -0000	1.1
+++ 13_config.h.in-traceroute_hardcoded.dpatch	29 Aug 2005 18:29:32 -0000	1.2
@@ -4,9 +4,21 @@
 ## DP: hardcode a path to traceroute so we don't have to build-dep on it.
 
 @DPATCH@
-diff -urNad --exclude=CVS --exclude=.svn ./common/config.h.in /home/seanius/tmp/dpep-work.Bej1kM/sid/common/config.h.in
---- ./common/config.h.in	2002-04-20 16:34:02.000000000 -0400
-+++ /home/seanius/tmp/dpep-work.Bej1kM/sid/common/config.h.in	2005-08-29 13:12:40.000000000 -0400
+diff -urNad --exclude=CVS --exclude=.svn ./cgi/statuswml.c /home/seanius/tmp/dpep-work.JLpQWe/sid/cgi/statuswml.c
+--- ./cgi/statuswml.c	2002-07-29 00:50:53.000000000 -0400
++++ /home/seanius/tmp/dpep-work.JLpQWe/sid/cgi/statuswml.c	2005-08-29 14:28:55.000000000 -0400
+@@ -1323,7 +1323,7 @@
+ 
+ 		printf("<p mode='nowrap'>\n");
+ 	
+-		snprintf(buffer,sizeof(buffer)-1,"%s %s",TRACEROUTE_COMMAND,traceroute_address);
++		snprintf(buffer,sizeof(buffer)-1,"%s %s","/usr/bin/traceroute",traceroute_address);
+ 		buffer[sizeof(buffer)-1]='\x0';
+ 
+ 		fp=popen(buffer,"r");
+diff -urNad --exclude=CVS --exclude=.svn ./common/config.h.in /home/seanius/tmp/dpep-work.JLpQWe/sid/common/config.h.in
+--- ./common/config.h.in	2005-08-29 14:09:29.000000000 -0400
++++ /home/seanius/tmp/dpep-work.JLpQWe/sid/common/config.h.in	2005-08-29 14:27:15.000000000 -0400
 @@ -47,7 +47,9 @@
  #undef THREADEDPERL
  #define DO_CLEAN		"1"     /* 0 = cache, 1 = do not cache */




More information about the Pkg-nagios-devel mailing list