jer 15/08/04 06:22:14
Added: fail2ban-0.9.2-logrotate.patch
fail2ban-0.9.2-initd.patch
Log:
Fix bashisms and do not direct useful output to /dev/null (bug #536320).
Remove global logrotate settings (bug #549856).
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
A792A613)
Revision Changes Path
1.1 net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch?rev=1.1&content-type=text/plain
Index: fail2ban-0.9.2-logrotate.patch
===================================================================
--- a/files/fail2ban-logrotate
+++ b/files/fail2ban-logrotate
@@ -9,9 +9,7 @@
# http://pkgs.fedoraproject.org/cgit/fail2ban.git/tree/fail2ban-logrotate
/var/log/fail2ban.log {
- rotate 7
missingok
- compress
postrotate
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
endscript
1.1 net-analyzer/fail2ban/files/fail2ban-0.9.2-initd.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.9.2-initd.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.9.2-initd.patch?rev=1.1&content-type=text/plain
Index: fail2ban-0.9.2-initd.patch
===================================================================
--- a/files/gentoo-initd
+++ b/files/gentoo-initd
@@ -38,19 +38,19 @@
# bug 347477
rm -rf /run/fail2ban/fail2ban.sock || return 1
fi
- ${FAIL2BAN} start &> /dev/null
+ ${FAIL2BAN} start
eend $? "Failed to start fail2ban"
}
stop() {
ebegin "Stopping fail2ban"
- ${FAIL2BAN} stop &> /dev/null
+ ${FAIL2BAN} stop
eend $? "Failed to stop fail2ban"
}
reload() {
ebegin "Reloading fail2ban"
- ${FAIL2BAN} reload > /dev/null
+ ${FAIL2BAN} reload
eend $? "Failed to reload fail2ban"
}