diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2014-09-18 19:09:50 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2014-09-18 19:09:50 +0000 |
commit | 4c09020c60d1f3ffc36ab3f5053bb23c31c0aa1f (patch) | |
tree | 92e62e7db5194b22ae1a0ac72acb1e5282a2c3b2 /security | |
parent | 83d728f96a54ebf6887e67c32480a82329340c63 (diff) | |
download | ports-4c09020c60d1f3ffc36ab3f5053bb23c31c0aa1f.tar.gz ports-4c09020c60d1f3ffc36ab3f5053bb23c31c0aa1f.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/py-fail2ban/Makefile | 2 | ||||
-rw-r--r-- | security/py-fail2ban/files/patch-recidive.conf | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile index f3a3f6985b6e..cfa5e60b5a4d 100644 --- a/security/py-fail2ban/Makefile +++ b/security/py-fail2ban/Makefile @@ -2,7 +2,7 @@ PORTNAME= fail2ban PORTVERSION= 0.9.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/security/py-fail2ban/files/patch-recidive.conf b/security/py-fail2ban/files/patch-recidive.conf new file mode 100644 index 000000000000..5e832fbf58ce --- /dev/null +++ b/security/py-fail2ban/files/patch-recidive.conf @@ -0,0 +1,15 @@ +--- config/filter.d/recidive.conf.orig 2014-09-17 12:18:12.000000000 +0200 ++++ config/filter.d/recidive.conf 2014-09-17 12:19:16.000000000 +0200 +@@ -27,10 +27,10 @@ + # jail using this filter 'recidive', or change this line! + _jailname = recidive + +-failregex = ^(%(__prefix_line)s| %(_daemon)s%(__pid_re)s?:\s+)WARNING\s+\[(?!%(_jailname)s\])(?:.*)\]\s+Ban\s+<HOST>\s*$ ++failregex = ^(%(__prefix_line)s| %(_daemon)s%(__pid_re)s?:\s+)NOTICE\s+\[(?!%(_jailname)s\])(?:.*)\]\s+Ban\s+<HOST>\s*$ + + [Init] + +-journalmatch = _SYSTEMD_UNIT=fail2ban.service PRIORITY=4 ++journalmatch = _SYSTEMD_UNIT=fail2ban.service PRIORITY=5 + + # Author: Tom Hendrikx, modifications by Amir Caspi |