[Pkg-nagios-changes] [pkg-nagios] r1321 - in nagios-plugins/trunk/debian: . patches

Jan Wagner waja-guest at alioth.debian.org
Tue Feb 5 21:31:33 UTC 2008


tags 405537 pending
thanks

Author: waja-guest
Date: 2008-02-05 21:31:32 +0000 (Tue, 05 Feb 2008)
New Revision: 1321

Added:
   nagios-plugins/trunk/debian/patches/31_check_disk_local_option.dpatch
Modified:
   nagios-plugins/trunk/debian/changelog
   nagios-plugins/trunk/debian/patches/00list
Log:
fix check_disk --local, doesn't need an argument

Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog	2008-02-03 16:34:56 UTC (rev 1320)
+++ nagios-plugins/trunk/debian/changelog	2008-02-05 21:31:32 UTC (rev 1321)
@@ -3,6 +3,8 @@
   [ 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
 

Modified: nagios-plugins/trunk/debian/patches/00list
===================================================================
--- nagios-plugins/trunk/debian/patches/00list	2008-02-03 16:34:56 UTC (rev 1320)
+++ nagios-plugins/trunk/debian/patches/00list	2008-02-05 21:31:32 UTC (rev 1321)
@@ -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

Added: nagios-plugins/trunk/debian/patches/31_check_disk_local_option.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/31_check_disk_local_option.dpatch	                        (rev 0)
+++ nagios-plugins/trunk/debian/patches/31_check_disk_local_option.dpatch	2008-02-05 21:31:32 UTC (rev 1321)
@@ -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'},




More information about the Pkg-nagios-changes mailing list