[Pkg-nagios-changes] [pkg-nagios-plugins] 200/413: fix raid levels with more than one digit
Jan Wagner
waja at moszumanska.debian.org
Tue Nov 26 23:13:23 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 8f0c07fa4655b00f5fbce6889d9b049a4bc717e7
Author: Jan Wagner <waja at cyconet.org>
Date: Tue Dec 8 18:51:11 2009 +0000
fix raid levels with more than one digit
---
debian/changelog | 2 ++
debian/patches/00list | 1 +
debian/patches/42_check_linux_raid_fix_r10.dpatch | 18 ++++++++++++++++++
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9c7162e..2fca724 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ nagios-plugins (1.4.14-1) unstable; urgency=low
- Add 41_check_ping_detect_args.dpatch, that to Thomas Guyot-Sionnest
* Add hint to NEWS.Debian, that check_linux_raid.pl and check_bgpstate will
be removed in the next future
+ * Add 42_check_linux_raid_fix_r10.dpatch, which fixes RAID Levels with more
+ than one digit, thanks to Matija Nalis (Closes: #534604)
-- Jan Wagner <waja at cyconet.org> Sat, 05 Dec 2009 02:46:35 +0100
diff --git a/debian/patches/00list b/debian/patches/00list
index c2bd6ff..f8ee343 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -16,3 +16,4 @@
39_check_ircd_fix_epn.dpatch
40_check_http_proxy_auth.dpatch
41_check_ping_detect_args.dpatch
+42_check_linux_raid_fix_r10.dpatch
diff --git a/debian/patches/42_check_linux_raid_fix_r10.dpatch b/debian/patches/42_check_linux_raid_fix_r10.dpatch
new file mode 100755
index 0000000..7b87164
--- /dev/null
+++ b/debian/patches/42_check_linux_raid_fix_r10.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 42_check_linux_raid_fix_r10.dpatch by Matija Nalis <mnalis-debianbug at voyager.hr>
+##
+## DP: Make Raid10+ working
+
+ at DPATCH@
+diff -urNad nagios-plugins-1.4.14~/contrib/check_linux_raid.pl nagios-plugins-1.4.14/contrib/check_linux_raid.pl
+--- nagios-plugins-1.4.14~/contrib/check_linux_raid.pl 2009-12-08 19:46:00.000000000 +0100
++++ nagios-plugins-1.4.14/contrib/check_linux_raid.pl 2009-12-08 19:46:31.000000000 +0100
+@@ -44,7 +44,7 @@
+
+ my $nextdev;
+ if(defined $ARGV[0]) { $nextdev = shift; }
+-else { $nextdev = "md[0-9]"; }
++else { $nextdev = "md[0-9]+"; }
+
+ my $code = "UNKNOWN";
+ my $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