diff --git a/debian/changelog b/debian/changelog index 9addadf..f20e1de 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,8 @@ nagios-plugins (1.4.5-3) UNRELEASED; urgency=low * 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 Wed, 6 Dec 2006 23:47:12 +0100 diff --git a/debian/patches/00list b/debian/patches/00list index ab22901..0d05ec7 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -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 diff --git a/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch b/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch new file mode 100644 index 0000000..af4c4c6 --- /dev/null +++ b/debian/patches/29_check_tcp.check_jabber-returns-warning.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 29_check_tcp.check_jabber-returns-warning.dpatch +## Thomas Guyot-Sionnest +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@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 = "\n"; +- EXPECT = "