[csw-devel] SF.net SVN: gar:[4479] csw/mgar/pkg/nagios_plugins/trunk

j_arndt at users.sourceforge.net j_arndt at users.sourceforge.net
Sun Apr 26 10:16:50 CEST 2009


Revision: 4479
          http://gar.svn.sourceforge.net/gar/?rev=4479&view=rev
Author:   j_arndt
Date:     2009-04-26 08:16:50 +0000 (Sun, 26 Apr 2009)

Log Message:
-----------
nagios_plugins: fix for #3494, added patch for check_procs

Modified Paths:
--------------
    csw/mgar/pkg/nagios_plugins/trunk/Makefile
    csw/mgar/pkg/nagios_plugins/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/nagios_plugins/trunk/files/check_procs.c.diff

Modified: csw/mgar/pkg/nagios_plugins/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nagios_plugins/trunk/Makefile	2009-04-26 05:38:22 UTC (rev 4478)
+++ csw/mgar/pkg/nagios_plugins/trunk/Makefile	2009-04-26 08:16:50 UTC (rev 4479)
@@ -11,10 +11,14 @@
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 DISTFILES += $(call admfiles,CSWnagiosp,prototype )
 
+PATCHFILES += check_procs.c.diff
+
 REQUIRED_PKGS_CSWnagiosp  = CSWggettextrt CSWiconv CSWlibnet CSWlibpq 
 REQUIRED_PKGS_CSWnagiosp += CSWmysql5rt CSWoldaprt CSWosslrt CSWsasl
 REQUIRED_PKGS_CSWnagiosp += CSWzlib CSWperl
 
+NOISALIST = 1
+
 CFLAGS += -I /opt/csw/postgresql/include/
 
 CONFIGURE_ARGS = $(DIRPATHS)

Modified: csw/mgar/pkg/nagios_plugins/trunk/checksums
===================================================================
--- csw/mgar/pkg/nagios_plugins/trunk/checksums	2009-04-26 05:38:22 UTC (rev 4478)
+++ csw/mgar/pkg/nagios_plugins/trunk/checksums	2009-04-26 08:16:50 UTC (rev 4479)
@@ -1,3 +1,4 @@
 be6cc7699fff3ee29d1fd4d562377386  download/nagios-plugins-1.4.13.tar.gz
 61f490e92b603ac8628fb0c6cebb39ce  download/CSWnagiosp.gspec
 65bdf1c84228ccd98397837636004761  download/CSWnagiosp.prototype
+4e1d82a9b3b21ade03ad39652352857e  download/check_procs.c.diff

Added: csw/mgar/pkg/nagios_plugins/trunk/files/check_procs.c.diff
===================================================================
--- csw/mgar/pkg/nagios_plugins/trunk/files/check_procs.c.diff	                        (rev 0)
+++ csw/mgar/pkg/nagios_plugins/trunk/files/check_procs.c.diff	2009-04-26 08:16:50 UTC (rev 4479)
@@ -0,0 +1,12 @@
+diff --speed-large-files --minimal -Nru nagios-plugins-1.4.13.orig/plugins/check_procs.c nagios-plugins-1.4.13/plugins/check_procs.c
+--- nagios-plugins-1.4.13.orig/plugins/check_procs.c	2008-07-08 11:31:04.000000000 +0200
++++ nagios-plugins-1.4.13/plugins/check_procs.c	2009-03-26 20:30:33.322034506 +0100
+@@ -194,7 +194,7 @@
+ 			strip (procargs);
+ 
+ 			/* Some ps return full pathname for command. This removes path */
+-			strcpy(procprog, base_name(procprog));
++			/* strcpy(procprog, base_name(procprog)); */
+ 
+ 			/* we need to convert the elapsed time to seconds */
+ 			procseconds = convert_to_seconds(procetime);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list