From 7b81f19e3529312cdca0b630703a88fc6385582dc92a408a3c1e787fae0a95fa Mon Sep 17 00:00:00 2001 From: Johannes Weberhofer Date: Sat, 11 Mar 2017 09:49:32 +0000 Subject: [PATCH] Accepting request 478626 from home:Aikhjarto:branches:security Recently all nagios-plugin-* packages have been renamed to the more general monitoring-plugin-*. This submit request does this transition for fail2ban and includes Provides/Obsoletes for backwards compatibily its old name. OBS-URL: https://build.opensuse.org/request/show/478626 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=77 --- fail2ban.changes | 5 +++++ fail2ban.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/fail2ban.changes b/fail2ban.changes index 27195b9..be3169a 100644 --- a/fail2ban.changes +++ b/fail2ban.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 5 12:56:10 UTC 2017 - wagner-thomas@gmx.at + +- rename nagios-plugins-fail2ban to monitoring-plugins-fail2ban + ------------------------------------------------------------------- Thu Jan 26 23:16:49 UTC 2017 - chris@computersalat.de diff --git a/fail2ban.spec b/fail2ban.spec index 00a821a..c87e571 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -93,12 +93,14 @@ This package ships systemd files which will cause fail2ban to be ordered in relation to SuSEfirewall2 such that the two can be run concurrently within reason, i.e. SFW will always run first because it does a table flush. -%package -n nagios-plugins-%{name} +%package -n monitoring-plugins-%{name} %define nagios_plugindir %{_libexecdir}/nagios/plugins Summary: Check fail2ban server and how many IPs are currently banned Group: System/Monitoring +Provides: nagios-plugins-%{name}=%{version} +Obsoletes: nagios-plugins-%{name}<%{version} -%description -n nagios-plugins-fail2ban +%description -n monitoring-plugins-%{name} This plugin checks if the fail2ban server is running and how many IPs are currently banned. You can use this plugin to monitor all the jails or just a specific jail. @@ -307,7 +309,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf %{_unitdir}/%{name}.service.d %endif -%files -n nagios-plugins-%{name} +%files -n monitoring-plugins-%{name} %defattr(-,root,root) %doc files/nagios/README COPYING %dir %{_libexecdir}/nagios