[Pkg-nagios-changes] [pkg-nagios-plugins] 143/413: add check_linux_raid
Jan Wagner
waja at moszumanska.debian.org
Tue Nov 26 23:13:16 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 97803e4b1480a21edbaa187aae8b46d9e8a1172e
Author: Jan Wagner <waja at cyconet.org>
Date: Fri Jun 6 14:28:26 2008 +0000
add check_linux_raid
---
debian/changelog | 2 ++
debian/patches/00list | 1 +
debian/patches/38_fix_libexec.dpatch | 18 ++++++++++++++++++
debian/rules | 1 +
4 files changed, 22 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4c1f022..e7666d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,8 @@ nagios-plugins (1.4.12-1) UNRELEASED; urgency=low
anyways, thanks Josip Rodin <joy at debbugs.entuzijast.net> for profiding a
fix (Closes: #482942)
* mention the check_radius breakerage in NEWS.Debian
+ * add check_linux_raid into package (Closes: #461999) and add
+ 38_fix_libexec.dpatch to fix libexec path
[ Alexander Wirt ]
* Call smbclient with -N (supress password prompt) if no password is
diff --git a/debian/patches/00list b/debian/patches/00list
index a622e1a..0654853 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -12,4 +12,5 @@
35_check_http_date.dpatch
36_check_ldap_empty_base.dpatch
37_check_radius_nas-ip-address.dpatch
+38_fix_libexec.dpatch
50_misc_typos.dpatch
diff --git a/debian/patches/38_fix_libexec.dpatch b/debian/patches/38_fix_libexec.dpatch
new file mode 100755
index 0000000..67020b6
--- /dev/null
+++ b/debian/patches/38_fix_libexec.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 38_fix_libexec.dpatch by Jan Wagner <waja at cyconet.org>
+##
+## DP: fix library path
+
+ at DPATCH@
+diff -urNad nagios-plugins-1.4.12~/contrib/check_linux_raid.pl nagios-plugins-1.4.12/contrib/check_linux_raid.pl
+--- nagios-plugins-1.4.12~/contrib/check_linux_raid.pl 2007-08-28 05:19:45.000000000 +0200
++++ nagios-plugins-1.4.12/contrib/check_linux_raid.pl 2008-06-06 16:16:23.000000000 +0200
+@@ -23,7 +23,7 @@
+ # WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min
+
+ use strict;
+-use lib "/usr/local/nagios/libexec";
++use lib "/usr/lib/nagios/plugins";
+ use utils qw(%ERRORS);
+
+ # die with an error if we're not on Linux
diff --git a/debian/rules b/debian/rules
index 8bfe8ca..0a64131 100755
--- a/debian/rules
+++ b/debian/rules
@@ -145,6 +145,7 @@ install: build
done
# install check_bgpstate from contrib
install -m 755 contrib/check_bgpstate.pl ${NP_STD_DIR}/${NP_LIBEXEC}/check_bgpstate
+ install -m 755 contrib/check_linux_raid.pl ${NP_STD_DIR}/${NP_LIBEXEC}/check_linux_raid
# dynamically create the postrm scripts using a template, so that we
# don't have to define the same list of plugin configs over and over.
sed -e 's/@BASIC_PLUGINS@/${basic_plugin_cfgs}/' \
--
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