From a4ad9e25e62a3215abac1b336f3d7ef8bb2dd914 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 30 Aug 2013 14:23:33 +0000 Subject: [PATCH] - Update to 0.8.10 Changes: https://raw.github.com/fail2ban/fail2ban/master/ChangeLog PR: ports/179528 Submitted by: Christoph Theis (maintainer) --- security/py-fail2ban/Makefile | 11 +-- security/py-fail2ban/distinfo | 4 +- .../py-fail2ban/files/patch-bsd-ipfw.conf | 75 ------------------- security/py-fail2ban/files/patch-pf.conf | 59 --------------- security/py-fail2ban/pkg-plist | 1 + 5 files changed, 9 insertions(+), 141 deletions(-) delete mode 100644 security/py-fail2ban/files/patch-bsd-ipfw.conf delete mode 100644 security/py-fail2ban/files/patch-pf.conf diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile index 9f3badc738cb..1baf4aabeb7c 100644 --- a/security/py-fail2ban/Makefile +++ b/security/py-fail2ban/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= fail2ban -PORTVERSION= 0.8.9 +PORTVERSION= 0.8.10 CATEGORIES= security python MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +13,9 @@ COMMENT= Scans log files and bans IP that makes too many password failures LICENSE= GPLv2 -GITVERSION= 0-g152c619 +GITVERSION= 0-g921d9a8 FETCH_ARGS= -pRr -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-1a3155a - +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-d56f01a USE_PYTHON= -2.7 USE_PYDISTUTILS= yes @@ -26,7 +25,7 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \ --install-data=${ETCDIR} -PYDISTUTILS_PKGVERSION= 0.8.9 +PYDISTUTILS_PKGVERSION= 0.8.10 PORTDOCS= README.md DEVELOP @@ -43,6 +42,8 @@ post-patch: @${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' @${REINPLACE_CMD} -e 's,/bin/grep,grep,g' \ ${WRKSRC}/config/action.d/sendmail-whois-lines.conf + @${REINPLACE_CMD} -e 's,/var/log/sshd.log,/var/log/auth.log,g' \ + ${WRKSRC}/config/jail.conf post-install: .if ${PORT_OPTIONS:MDOCS} diff --git a/security/py-fail2ban/distinfo b/security/py-fail2ban/distinfo index af84c33f612b..e9c3d09346d8 100644 --- a/security/py-fail2ban/distinfo +++ b/security/py-fail2ban/distinfo @@ -1,2 +1,2 @@ -SHA256 (fail2ban-fail2ban-0.8.9-0-g152c619.tar.gz) = b20c1a074620a1003ec4e48e30ac40a41cc6f4242a37eb6a78fa29daa9165bb7 -SIZE (fail2ban-fail2ban-0.8.9-0-g152c619.tar.gz) = 159957 +SHA256 (fail2ban-fail2ban-0.8.10-0-g921d9a8.tar.gz) = 7bed38372a24e35268d9c9ff5b272f7e88e91074f9bb24d5be5c70196f19e7be +SIZE (fail2ban-fail2ban-0.8.10-0-g921d9a8.tar.gz) = 161952 diff --git a/security/py-fail2ban/files/patch-bsd-ipfw.conf b/security/py-fail2ban/files/patch-bsd-ipfw.conf deleted file mode 100644 index 06468bcaeba8..000000000000 --- a/security/py-fail2ban/files/patch-bsd-ipfw.conf +++ /dev/null @@ -1,75 +0,0 @@ ---- /dev/null 2012-11-27 18:04:17.000000000 +0100 -+++ config/action.d/bsd-ipfw.conf 2012-11-27 18:06:29.000000000 +0100 -@@ -0,0 +1,72 @@ -+# Fail2Ban configuration file -+# -+# Author: Nick Munger -+# Modified by: Ken Menzel -+# -+ -+[Definition] -+ -+# Option: actionstart -+# Notes.: command executed once at the start of Fail2Ban. -+# Values: CMD -+# -+actionstart = -+ -+ -+# Option: actionstop -+# Notes.: command executed once at the end of Fail2Ban -+# Values: CMD -+# -+actionstop = -+ -+ -+# Option: actioncheck -+# Notes.: command executed once before each actionban command -+# Values: CMD -+# -+actioncheck = -+ -+ -+# Option: actionban -+# Notes.: command executed when banning an IP. Take care that the -+# command is executed with Fail2Ban user rights. -+# Tags: IP address -+# number of failures -+#