]> git.pld-linux.org Git - packages/nagios-plugin-check_ssl_cert.git/blobdiff - nagios-plugin-check_ssl_cert.spec
up to 1.48.0
[packages/nagios-plugin-check_ssl_cert.git] / nagios-plugin-check_ssl_cert.spec
index 32ad6f26cfb9a6b1c9ec9307d53dacd6a897348f..3954961ddd36284f321844226b0e066091521076 100644 (file)
@@ -2,30 +2,30 @@
 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.9.1
+Version:       1.48.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: e5cba75f15e4cc8f20a3ef8df0238dec
 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-TimeDate
+Requires:      perl-base
 Requires:      sed >= 4.0
+Requires:      which
 Suggests:      ca-certificates-update
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/nagios/plugins
 %define                plugindir       %{_prefix}/lib/nagios/plugins
-%if "%{pld_release}" == "th"
-%define                openssldir      /etc/openssl/certs
-%else
-%define                openssldir      /var/lib/openssl/certs
-%endif
 
 %description
 check_ssl_cert is a Nagios plugin to check X.509 certificates. It
@@ -42,7 +42,6 @@ jego poprawność.
 %prep
 %setup -q -n %{plugin}-%{version}
 %patch0 -p1
-%{__sed} -i -e 's,@cadir@,%{openssldir},' %{plugin}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -56,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.107736 seconds and 4 git commands to generate.