[packages/nagios-plugins] nagios-plugins-contrib-API patch fixed
jajcus
jajcus at pld-linux.org
Fri Nov 23 20:01:19 CET 2012
commit 5e20be5407093dfe4bc19f299078ae3491738a0b
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Fri Nov 23 19:26:44 2012 +0100
nagios-plugins-contrib-API patch fixed
nagios-plugins-contrib-API.patch | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/nagios-plugins-contrib-API.patch b/nagios-plugins-contrib-API.patch
index 4ac9ac3..11c6c17 100644
--- a/nagios-plugins-contrib-API.patch
+++ b/nagios-plugins-contrib-API.patch
@@ -1,12 +1,13 @@
---- nagios-plugins-1.4.10/contrib/check_rbl.c~ 2007-11-08 23:24:19.000000000 +0200
-+++ nagios-plugins-1.4.10/contrib/check_rbl.c 2007-11-08 23:24:56.951629199 +0200
+diff -dur nagios-plugins-1.4.15.orig/contrib/check_rbl.c nagios-plugins-1.4.15/contrib/check_rbl.c
+--- nagios-plugins-1.4.15.orig/contrib/check_rbl.c 2010-07-27 22:47:15.000000000 +0200
++++ nagios-plugins-1.4.15/contrib/check_rbl.c 2012-11-23 19:25:32.088842066 +0100
@@ -21,7 +21,7 @@
#include "popen.h"
#include "string.h"
-const char progname = "check_rbl";
+const char *progname = "check_rbl";
- const char *revision = "$Revision$";
+ const char *revision = "$Revision: 970 $";
//const char *copyright = "2000-2003";
//const char *email = "nagiosplug-devel at lists.sourceforge.net";
@@ -58,11 +58,11 @@
@@ -50,8 +51,9 @@
}
---- nagios-plugins-1.4.10/contrib/check_uptime.c~ 2007-11-08 23:24:19.000000000 +0200
-+++ nagios-plugins-1.4.10/contrib/check_uptime.c 2007-11-08 23:25:46.652415811 +0200
+diff -dur nagios-plugins-1.4.15.orig/contrib/check_uptime.c nagios-plugins-1.4.15/contrib/check_uptime.c
+--- nagios-plugins-1.4.15.orig/contrib/check_uptime.c 2010-07-27 22:47:15.000000000 +0200
++++ nagios-plugins-1.4.15/contrib/check_uptime.c 2012-11-23 19:25:57.915687571 +0100
@@ -26,6 +26,9 @@
#include "utils.h"
#include "popen.h"
@@ -62,17 +64,17 @@
int main(int argc, char **argv)
{
-@@ -46,12 +46,7 @@
+@@ -43,12 +46,7 @@
if(argc != 2){
printf("Incorrect number of arguments supplied\n");
- printf("\n");
-- print_revision(argv[0],"$Revision$");
+- print_revision(argv[0],"$Revision: 6 $");
- printf("Copyright (c) 2000 Teresa Ramanan (tlr at redowl.org)\n");
- printf("\n");
- printf("Usage: %s <host_address>\n",argv[0]);
- printf("\n");
-+ print_usage();
++ print_usage();
return STATE_UNKNOWN;
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugins.git/commitdiff/8cce130d438294461c258a021456ad651435ef9d
More information about the pld-cvs-commit
mailing list