require python-systemd-py36 [release 0.10.4-3mamba;Wed Feb 06 2019]
This commit is contained in:
parent
023b956a8e
commit
f9c7d8e3f0
@ -1,6 +1,6 @@
|
|||||||
Name: fail2ban
|
Name: fail2ban
|
||||||
Version: 0.10.4
|
Version: 0.10.4
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: Daemon to ban hosts that cause multiple authentication errors
|
Summary: Daemon to ban hosts that cause multiple authentication errors
|
||||||
Group: Applications/Security
|
Group: Applications/Security
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -15,6 +15,7 @@ License: GPL
|
|||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython36-devel
|
BuildRequires: libpython36-devel
|
||||||
Requires: python36 >= %python36_version
|
Requires: python36 >= %python36_version
|
||||||
|
Requires: python-systemd-py36
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -27,7 +28,10 @@ Daemon to ban hosts that cause multiple authentication errors.
|
|||||||
|
|
||||||
sed -i "s|/var/run/|/run/|" files/fail2ban.service.in \
|
sed -i "s|/var/run/|/run/|" files/fail2ban.service.in \
|
||||||
files/fail2ban-tmpfiles.conf fail2ban/server/*.py \
|
files/fail2ban-tmpfiles.conf fail2ban/server/*.py \
|
||||||
config/action.d/*.conf fail2ban/client/*.py
|
config/action.d/*.conf fail2ban/client/*.py \
|
||||||
|
config/*.conf
|
||||||
|
|
||||||
|
sed -i "s|paths-debian.conf|paths-openmamba.conf|" config/jail.conf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./fail2ban-2to3
|
./fail2ban-2to3
|
||||||
@ -82,12 +86,19 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fail2ban/paths-openmamba
|
|||||||
|
|
||||||
%files -f %{name}.filelist
|
%files -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/logrotate.d/fail2ban
|
%dir %{_sysconfdir}/fail2ban
|
||||||
|
%dir %{_sysconfdir}/fail2ban/action.d
|
||||||
|
%dir %{_sysconfdir}/fail2ban/filter.d
|
||||||
|
%dir %{_sysconfdir}/fail2ban/filter.d/ignorecommands
|
||||||
|
%dir %{_sysconfdir}/fail2ban/jail.d
|
||||||
|
%dir %{_sysconfdir}/fail2ban/fail2ban.d
|
||||||
%{_sysconfdir}/fail2ban/paths-openmamba.conf
|
%{_sysconfdir}/fail2ban/paths-openmamba.conf
|
||||||
|
%{_sysconfdir}/logrotate.d/fail2ban
|
||||||
%{_bindir}/fail2ban-python
|
%{_bindir}/fail2ban-python
|
||||||
%{_unitdir}/fail2ban.service
|
%{_unitdir}/fail2ban.service
|
||||||
%{_tmpfilesdir}/fail2ban.conf
|
%{_tmpfilesdir}/fail2ban.conf
|
||||||
%{_datadir}/bash-completion/completions/fail2ban
|
%{_datadir}/bash-completion/completions/fail2ban
|
||||||
|
%dir %{_localstatedir}/lib/fail2ban
|
||||||
%{_mandir}/man1/fail2ban-client.1*
|
%{_mandir}/man1/fail2ban-client.1*
|
||||||
%{_mandir}/man1/fail2ban-regex.1*
|
%{_mandir}/man1/fail2ban-regex.1*
|
||||||
%{_mandir}/man1/fail2ban-server.1*
|
%{_mandir}/man1/fail2ban-server.1*
|
||||||
@ -96,5 +107,11 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fail2ban/paths-openmamba
|
|||||||
%doc COPYING THANKS
|
%doc COPYING THANKS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-3mamba
|
||||||
|
- require python-systemd-py36
|
||||||
|
|
||||||
|
* Wed Feb 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-2mamba
|
||||||
|
- fix rundir in configuration file and provide /var/lib/fail2ban directory
|
||||||
|
|
||||||
* Tue Feb 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-1mamba
|
* Tue Feb 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user