---- check_ssl_cert-1.17.0/check_ssl_cert~ 2014-11-29 18:01:44.000000000 +0200
-+++ check_ssl_cert-1.17.0/check_ssl_cert 2015-04-01 13:45:25.039727047 +0300
-@@ -251,6 +251,7 @@
- TIMEOUT=15
- VERBOSE=""
+--- check_ssl_cert-1.45.0/check_ssl_cert~ 2017-05-02 15:31:51.000000000 +0300
++++ check_ssl_cert-1.45.0/check_ssl_cert 2017-05-08 10:34:49.121059968 +0300
+@@ -395,6 +395,7 @@
+ # Default values
+ DEBUG=""
OPENSSL=""
+ ROOT_CA=/etc/openssl/certs
-
- # set the default temp dir if not set
- if [ -z "${TMPDIR}" ] ; then
+ FILE_BIN=""
+ CURL_BIN=""
+ IGNORE_SSL_LABS_CACHE=""
Summary: Nagios plugin to check the CA and validity of an X.509 certificate
Summary(pl.UTF-8): Wtyczka Nagiosa sprawdzająca CA i ważność certyfikatu X.509
Name: nagios-plugin-%{plugin}
-Version: 1.17.1
+Version: 1.45.0
Release: 1
License: GPL v3
Group: Networking
-Source0: https://trac.id.ethz.ch/projects/nagios_plugins/downloads/%{plugin}-%{version}.tar.gz
-# Source0-md5: ffcc0c4debd7d7dc568101b762c34cd9
+Source0: https://github.com/matteocorti/check_ssl_cert/releases/download/v%{version}/check_ssl_cert-%{version}.tar.gz
+# Source0-md5: f58571151d00af0e44ee133943b54b55
Source1: check_ssl_cert.cfg
Patch0: ca_path.patch
-URL: https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_ssl_cert
+URL: https://github.com/matteocorti/check_ssl_cert/wiki
BuildRequires: rpm >= 4.4.9-56
Requires: expect
+Requires: file
Requires: nagios-common
Requires: openssl-tools >= 0.9.8i-3
-Requires: perl(Date::Parse)
+Requires: perl-TimeDate
Requires: perl-base
Requires: sed >= 4.0
Requires: which
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYRIGHT INSTALL NEWS README TODO VERSION
+%doc AUTHORS COPYRIGHT INSTALL NEWS README.md TODO VERSION
%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
%attr(755,root,root) %{plugindir}/%{plugin}
%{_mandir}/man1/check_ssl_cert.1*