[Pkg-nagios-changes] [pkg-nagios-plugins] 154/413: let the patch apply

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 51828957047381eab22708e84aae032fd9167319
Author: Jan Wagner <waja at cyconet.org>
Date:   Sat Aug 23 13:41:17 2008 +0000

    let the patch apply
---
 debian/changelog                                | 1 +
 debian/patches/40_check_http_status_line.dpatch | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1910ecc..8970726 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 nagios-plugins (1.4.12-3) UNRELEASED; urgency=low
 
   * rename 40_check_http_status_line.patch to 40_check_http_status_line.dpatch
+    and make it able to apply
   * add 40_check_http_status_line.dpatch to 00list to really fix #486932
 
  -- Jan Wagner <waja at cyconet.org>  Fri, 04 Jul 2008 17:04:02 +0200
diff --git a/debian/patches/40_check_http_status_line.dpatch b/debian/patches/40_check_http_status_line.dpatch
index d06f14a..8b4d01b 100644
--- a/debian/patches/40_check_http_status_line.dpatch
+++ b/debian/patches/40_check_http_status_line.dpatch
@@ -5,9 +5,10 @@
 ## DP: adds status_line to check_http output
 
 @DPATCH@
---- check_http.c~	2008-06-19 11:42:25.000000000 +0200
-+++ check_http.c	2008-06-19 11:42:25.000000000 +0200
-@@ -912,11 +912,12 @@
+diff -urNad nagios-plugins-1.4.12~/plugins/check_http.c nagios-plugins-1.4.12/plugins/check_http.c
+--- nagios-plugins-1.4.12~/plugins/check_http.c	2008-08-23 15:34:17.000000000 +0200
++++ nagios-plugins-1.4.12/plugins/check_http.c	2008-08-23 15:36:20.000000000 +0200
+@@ -879,11 +879,12 @@
    if (!strstr (status_line, server_expect)) {
      if (server_port == HTTP_PORT)
        asprintf (&msg,
@@ -20,6 +21,6 @@
 -                server_port);
 +                _("Invalid HTTP response received from host on port %d: %s\n"),
 +                server_port, status_line);
-     die (STATE_CRITICAL, "%s", msg);
+     die (STATE_CRITICAL, "HTTP CRITICAL - %s", msg);
    }
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list