Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 19:09:50 +0000 (UTC)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368506 - in head/security/py-fail2ban: . files
Message-ID:  <201409181909.s8IJ9oDO004609@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409181909.s8IJ9oDO004609>