[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/01: Fix check_cert_expire_dirs to make it work at all.

Bernd Zeimetz bernd at bzed.de
Wed Feb 22 13:31:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 0d7ac29bfaa4f59f217dc6126120cde055e217c0
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Thu Feb 16 10:08:57 2017 +0100

    Fix check_cert_expire_dirs to make it work at all.
    
    check_cert_expire_dirs was not able to find
    check_cert_expire. Fixing that.
    
    Closes: #855155
---
 debian/patches/dsa/check_cert_expire_dir_check_name_fix | 14 ++++++++++++++
 debian/patches/series                                   |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/dsa/check_cert_expire_dir_check_name_fix b/debian/patches/dsa/check_cert_expire_dir_check_name_fix
new file mode 100644
index 0000000..6d8cb38
--- /dev/null
+++ b/debian/patches/dsa/check_cert_expire_dir_check_name_fix
@@ -0,0 +1,14 @@
+--- a/dsa/checks/dsa-check-cert-expire-dir
++++ b/dsa/checks/dsa-check-cert-expire-dir
+@@ -26,9 +26,9 @@
+ 
+ sn="$0"
+ if [ "${sn%/*}" = "$sn" ]; then
+-  CERT_CHECK=dsa-check-cert-expire
++  CERT_CHECK=check_cert_expire
+ else
+-  CERT_CHECK="${sn%/*}/dsa-check-cert-expire"
++  CERT_CHECK="${sn%/*}/check_cert_expire"
+ fi
+ 
+ if [ "$#" != 1 ] ; then
diff --git a/debian/patches/series b/debian/patches/series
index b2c8c46..43e32e2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+dsa/check_cert_expire_dir_check_name_fix
 dsa/check_running_kernel_jessie_centos_fix
 check_ajp/return_critical_on_failed_connection
 check_backuppc/use_nagios_plugins

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib.git



More information about the Pkg-nagios-changes mailing list