svn commit: r368506 - in head/security/py-fail2ban: . files
Andrey A. Chernov
ache at FreeBSD.org
Thu Sep 18 19:09:51 UTC 2014
Author: ache
Date: Thu Sep 18 19:09:50 2014
New Revision: 368506
URL: http://svnweb.freebsd.org/changeset/ports/368506
QAT: https://qat.redports.org/buildarchive/r368506/
Log:
Fix recidive jail.
Add a patch for the recidive jail from upstream.
PR: 193751
Submitted by: theis at gmx.at (maintainer update)
Added:
head/security/py-fail2ban/files/patch-recidive.conf (contents, props changed)
Modified:
head/security/py-fail2ban/Makefile
Modified: head/security/py-fail2ban/Makefile
==============================================================================
--- head/security/py-fail2ban/Makefile Thu Sep 18 17:52:54 2014 (r368505)
+++ head/security/py-fail2ban/Makefile Thu Sep 18 19:09:50 2014 (r368506)
@@ -2,7 +2,7 @@
PORTNAME= fail2ban
PORTVERSION= 0.9.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Added: head/security/py-fail2ban/files/patch-recidive.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-fail2ban/files/patch-recidive.conf Thu Sep 18 19:09:50 2014 (r368506)
@@ -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
More information about the svn-ports-all
mailing list