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*