From 739e9ca1cce49610cfeb4e40d755884bfb47ed22 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sat, 23 Jan 2010 12:15:09 +0000 Subject: [PATCH] sometic changes to changelog --- debian/changelog | 4 ++-- .../patches/01_check_apt_return_unknown.dpatch | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 debian/patches/01_check_apt_return_unknown.dpatch diff --git a/debian/changelog b/debian/changelog index 2838f10..3892869 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ nagios-plugins (1.4.14-2) UNRELEASED; urgency=low - * NOT RELEASED YET + * cosmetic change to last changelog entry -- Jan Wagner Sat, 23 Jan 2010 01:39:31 +0100 @@ -23,7 +23,7 @@ nagios-plugins (1.4.14-1) unstable; urgency=low * Update 06_checkircd.dpatch, which got fixed upstream * Add 40_check_http_proxy_auth.dpatch to make check_http able to check proxy authorization - * Update copyright, thanks to Robert Millan (Closes: 548303) + * Update copyright, thanks to Robert Millan (Closes: #548303) * Depend on inetutils-ping on kfreebsd and hurd, thanks to Petr Salinger (Closes: #555532) - Use '-n -c %d %s' as ping argument on archs where inetutils-ping is used diff --git a/debian/patches/01_check_apt_return_unknown.dpatch b/debian/patches/01_check_apt_return_unknown.dpatch new file mode 100644 index 0000000..0661812 --- /dev/null +++ b/debian/patches/01_check_apt_return_unknown.dpatch @@ -0,0 +1,17 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_check_apt_return_unknown.dpatch by Jan Wagner +## +## DP: Return UNKNOWN, if we don't know what happens (#498812) + +@DPATCH@ +--- nagios-plugins-1.4.14~/plugins/check_apt.c 2009-10-16 00:20:03.000000000 +0200 ++++ nagios-plugins-1.4.14/plugins/check_apt.c 2009-10-16 00:20:38.000000000 +0200 +@@ -291,7 +291,7 @@ + /* If we get anything on stderr, at least set warning */ + if(chld_err.buflen){ + stderr_warning=1; +- result = max_state(result, STATE_WARNING); ++ result = max_state_alt(result, STATE_UNKNOWN); + if(verbose){ + for(i = 0; i < chld_err.lines; i++) { + fprintf(stderr, "%s\n", chld_err.line[i]);