Remove build requirement on nagios. OBS-URL: https://build.opensuse.org/request/show/455831 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/check_ssl_certificate?expand=0&rev=4
56 lines
1.8 KiB
RPMSpec
56 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package check_ssl_certificate
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: check_ssl_certificate
|
|
Version: 1.2
|
|
Release: 0
|
|
License: GPL-2.0
|
|
Summary: Checks the expiration of an SSL certificate
|
|
Url: https://exchange.nagios.org/directory/Plugins/Network-Protocols/HTTP/check_ssl_certificate/details
|
|
Group: Server/Monitoring
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRequires: nagios-rpm-macros
|
|
Requires: monitoring-plugins-common
|
|
Requires: openssl
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This script checks the expiration of an SSL certificate.
|
|
This script will check SSL certificates to see if they have expired.
|
|
It is known to work with imap (w/starttls), imaps, pop (w/starttls),
|
|
pops, https, ldap (w/starttls) and ldaps. It requires the openssl
|
|
program (from the OpenSSL toolkit).
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{nagios_plugindir}/
|
|
install -m 755 check_ssl_certificate %{buildroot}%{nagios_plugindir}/
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{nagios_libdir}
|
|
%dir %{nagios_plugindir}
|
|
%attr(755,root,root) %{nagios_plugindir}/check_ssl_certificate
|
|
|
|
%changelog
|
|
|