[Pkg-nagios-changes] [pkg-nagios] r1107 - in
nagios-plugins/trunk/debian: . patches
Jan Wagner
waja-guest at alioth.debian.org
Wed Jan 31 09:15:29 CET 2007
Author: waja-guest
Date: 2007-01-31 09:15:29 +0100 (Wed, 31 Jan 2007)
New Revision: 1107
Added:
nagios-plugins/trunk/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch
Modified:
nagios-plugins/trunk/debian/changelog
nagios-plugins/trunk/debian/patches/00list
Log:
fix return of check_jabber
Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog 2007-01-30 09:05:24 UTC (rev 1106)
+++ nagios-plugins/trunk/debian/changelog 2007-01-31 08:15:29 UTC (rev 1107)
@@ -13,6 +13,8 @@
* remove static community string in ifstatus.cfg
* add 28_check_tcp.expect_reporting.dpatch to fix broken response for
check_jabber
+ * add 29_check_tcp.check_jabber-returns-warning.dpatch to fix return of
+ check_jabber (closes: #392610).
-- sean finney <seanius at copelandia.seanius.net> Wed, 6 Dec 2006 23:47:12 +0100
Modified: nagios-plugins/trunk/debian/patches/00list
===================================================================
--- nagios-plugins/trunk/debian/patches/00list 2007-01-30 09:05:24 UTC (rev 1106)
+++ nagios-plugins/trunk/debian/patches/00list 2007-01-31 08:15:29 UTC (rev 1107)
@@ -8,3 +8,4 @@
26_implicit-basename.dpatch
27_check_radius_segfault.dpatch
28_check_tcp.expect_reporting.dpatch
+29_check_tcp.check_jabber-returns-warning.dpatch
Added: nagios-plugins/trunk/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch 2007-01-30 09:05:24 UTC (rev 1106)
+++ nagios-plugins/trunk/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch 2007-01-31 08:15:29 UTC (rev 1107)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 29_check_tcp.check_jabber-returns-warning.dpatch
+## Thomas Guyot-Sionnest <dermoth at aei.ca>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+Index: nagios-plugins-1.4.5/plugins/check_tcp.c
+===================================================================
+RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
+retrieving revision 1.84
+diff -u -r1.84 check_tcp.c
+--- nagios-plugins-1.4.5/plugins/check_tcp.c 30 Jan 2007 14:24:10 -0000 1.84
++++ nagios-plugins-1.4.5/plugins/check_tcp.c 31 Jan 2007 04:45:13 -0000
+@@ -166,9 +166,9 @@
+ }
+ else if (!strncmp(SERVICE, "JABBER", 6)) {
+ SEND = "<stream:stream to=\'host\' xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'>\n";
+- EXPECT = "<?xml version=\'1.0\'?><stream:stream xmlns:stream=\'http://etherx.jabber.org/streams\'";
++ EXPECT = "<?xml version=\'1.0\'?><stream:stream xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'";
+ QUIT = "</stream:stream>\n";
+- flags |= FLAG_SSL | FLAG_HIDE_OUTPUT;
++ flags |= FLAG_HIDE_OUTPUT;
+ PORT = 5222;
+ }
+ else if (!strncmp (SERVICE, "NNTPS", 5)) {
More information about the Pkg-nagios-changes
mailing list