From: Dinko Korunic Date: Sun, 24 Apr 2011 15:08:13 +0000 (+0200) Subject: - misc fixevi X-Git-Tag: v0.8.5~5 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=3f10bd984d69b87d32230cec6fee5053df624de1;p=fail2ban-cn.git - misc fixevi - depend on gamin too --- diff --git a/debian/control b/debian/control index 27b68f1..e0c5363 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.9.1 Package: fail2ban-cn Architecture: all -Depends: fail2ban (>= 0.8.4-3), python-gamin (>= 0.1.10-2+b1), ${misc:Depends} +Depends: fail2ban (>= 0.8.4-3), gamin (>= 0.1.10-2+b1), python-gamin (>= 0.1.10-2+b1), ${misc:Depends} Description: bans IPs that cause multiple authentication errors Monitors log files (e.g. /var/log/auth.log, /var/log/apache/access.log) and temporarily or persistently bans diff --git a/debian/postinst b/debian/postinst index ea2b57b..19a2436 100755 --- a/debian/postinst +++ b/debian/postinst @@ -39,6 +39,7 @@ if [ -e "$CONF" ]; then rm -f "$CONF.$$" # enable dovecot service + cp -a "$CONF" "$CONF.$$" cp-update fail2ban-cn "$CONF.$$" <