Hello community, here is the log from the commit of package fail2ban for openSUSE:Factory checked in at 2013-06-05 13:27:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fail2ban (Old) and /work/SRC/openSUSE:Factory/.fail2ban.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fail2ban" Changes: -------- --- /work/SRC/openSUSE:Factory/fail2ban/fail2ban.changes 2013-05-16 10:12:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fail2ban.new/fail2ban.changes 2013-06-05 13:27:59.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 28 06:46:54 UTC 2013 - [email protected] + +- Included logrotate configuration for fail2ban + +------------------------------------------------------------------- New: ---- fail2ban.logrotate ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fail2ban.spec ++++++ --- /var/tmp/diff_new_pack.F8PrVK/_old 2013-06-05 13:27:59.000000000 +0200 +++ /var/tmp/diff_new_pack.F8PrVK/_new 2013-06-05 13:27:59.000000000 +0200 @@ -28,6 +28,7 @@ %if 0%{?suse_version} >= 1220 Requires: python-gamin %endif +BuildRequires: logrotate BuildRequires: python-devel PreReq: %fillup_prereq Version: 0.8.9 @@ -42,6 +43,7 @@ Source0: %{name}-%{version}.tar.gz Source1: %{name}.init Source2: %{name}.sysconfig +Source3: %{name}.logrotate %description Fail2ban scans log files like /var/log/messages and bans IP addresses @@ -75,6 +77,9 @@ install -d -m755 $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} +install -d -m755 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d +install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/fail2ban + %post %{fillup_only} @@ -93,6 +98,7 @@ %config(noreplace) %{_sysconfdir}/%{name}/*.conf %config(noreplace) %{_sysconfdir}/%{name}/action.d/*.conf %config(noreplace) %{_sysconfdir}/%{name}/filter.d/*.conf +%config %{_sysconfdir}/logrotate.d/fail2ban %{_initrddir}/%{name} %{_bindir}/%{name}* %{_sbindir}/rc%{name} ++++++ fail2ban.logrotate ++++++ /var/log/fail2ban.log { compress dateext maxage 365 rotate 99 size=+4096k notifempty missingok create 644 root root postrotate fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true endscript } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
