Fail2ban updated: logrotate patch removed.

This commit is contained in:
Kolan Sh 2016-02-12 02:35:49 +03:00
parent 100d336d00
commit e0f29be215
2 changed files with 0 additions and 18 deletions

View File

@ -39,11 +39,6 @@ src_prepare() {
# Replace /var/run with /run, but not in the top source directory
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f -mindepth 2 ) || die
# Fix bashisms and do not direct useful output to /dev/null (bug #536320)
# Remove global logrotate settings (bug #549856)
epatch \
"${FILESDIR}"/${PN}-0.9.2-logrotate.patch
distutils-r1_src_prepare
}

View File

@ -1,13 +0,0 @@
--- a/files/fail2ban-logrotate
+++ b/files/fail2ban-logrotate
@@ -6,10 +6,8 @@
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
/var/log/fail2ban.log {
- rotate 7
missingok
notifempty
- compress
postrotate
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
endscript