[Pkg-nagios-changes] [pkg-nagios-plugins] 107/413: fix check_disk --local, doesn't need an argument

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:11 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 d8a6072c8a973b106cdaafea8e1b79abf9fdf141
Author: Jan Wagner <waja at cyconet.org>
Date:   Tue Feb 5 21:31:32 2008 +0000

    fix check_disk --local, doesn't need an argument
---
 debian/changelog                                 |  2 ++
 debian/patches/00list                            |  1 +
 debian/patches/31_check_disk_local_option.dpatch | 19 +++++++++++++++++++
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2fe579c..5671808 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ nagios-plugins (1.4.11-2) UNRELEASED; urgency=low
   [ Jan Wagner ]
   * Remove Build-depends on libsnmp*-dev since it's not needed anymore
    (Closes: #429778)
+  * fix check_disk --local by adding 31_check_disk_local_option.dpatch
+   (Closes: #405537)
 
  -- sean finney <seanius at debian.org>  Sat, 26 Jan 2008 15:08:03 +0100
 
diff --git a/debian/patches/00list b/debian/patches/00list
index fe7c658..b1d7c79 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -8,4 +8,5 @@
 28_check_pgsql_include_for_8.3.dpatch
 29_check_ntp_fixsefault_deprecate.dpatch
 30_fix_check_ntp_options.dpatch
+31_check_disk_local_option.dpatch
 50_misc_typos.dpatch
diff --git a/debian/patches/31_check_disk_local_option.dpatch b/debian/patches/31_check_disk_local_option.dpatch
new file mode 100644
index 0000000..264e79f
--- /dev/null
+++ b/debian/patches/31_check_disk_local_option.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 31_check_disk_local_option.dpatch by Jan Wagner <waja at cyconet.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix local option for check_disk
+
+ at DPATCH@
+diff -Nur nagios-plugins-1.4.11/plugins/check_disk.c.orig nagios-plugins-1.4.11/plugins/check_disk.c
+--- nagios-plugins-1.4.11/plugins/check_disk.c.orig	2007-12-08 17:34:05.000000000 +0100
++++ nagios-plugins-1.4.11/plugins/check_disk.c	2008-02-05 22:13:43.397159697 +0100
+@@ -475,7 +475,7 @@
+     {"iwarning", required_argument, 0, 'W'},
+     /* Dang, -C is taken. We might want to reshuffle this. */
+     {"icritical", required_argument, 0, 'K'},
+-    {"local", required_argument, 0, 'l'},
++    {"local", no_argument, 0, 'l'},
+     {"stat-remote-fs", required_argument, 0, 'L'},
+     {"kilobytes", required_argument, 0, 'k'},
+     {"megabytes", required_argument, 0, 'm'},

-- 
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