]> git.pld-linux.org Git - packages/nagios-plugin-check_ssl_cert.git/blobdiff - nagios-plugin-check_ssl_cert.spec
up to 1.45.0; project moved to github
[packages/nagios-plugin-check_ssl_cert.git] / nagios-plugin-check_ssl_cert.spec
index 063a49a036cb0c943507350dff506019613ac87d..044e6b9cdb633e9502a44ddfa43d11e6edf7d31d 100644 (file)
@@ -1,17 +1,26 @@
 %define                plugin  check_ssl_cert
 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
+Summary(pl.UTF-8):     Wtyczka Nagiosa sprawdzająca CA i ważność certyfikatu X.509
 Name:          nagios-plugin-%{plugin}
-Version:       1.9.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: 26b768e65e244f1057b443d7b4c8d49d
+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
-URL:           https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_ssl_cert
+Patch0:                ca_path.patch
+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-TimeDate
+Requires:      perl-base
+Requires:      sed >= 4.0
+Requires:      which
+Suggests:      ca-certificates-update
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,6 +41,7 @@ jego poprawność.
 
 %prep
 %setup -q -n %{plugin}-%{version}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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*
This page took 0.136588 seconds and 4 git commands to generate.