aboutsummaryrefslogtreecommitdiff
path: root/security/py-fail2ban
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-02-17 14:44:08 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-02-17 14:44:08 +0000
commit8a39e32a5f9672cb8848b3d8108313c9dad1d7b1 (patch)
treea188f0e3fc8d5ca3e481d98451b26fb718c4327f /security/py-fail2ban
parent43b74599815a4a36184742f47d334c7f05779610 (diff)
downloadports-8a39e32a5f9672cb8848b3d8108313c9dad1d7b1.tar.gz
ports-8a39e32a5f9672cb8848b3d8108313c9dad1d7b1.zip
Notes
Diffstat (limited to 'security/py-fail2ban')
-rw-r--r--security/py-fail2ban/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile
index e2c817265e40..6883d81326e2 100644
--- a/security/py-fail2ban/Makefile
+++ b/security/py-fail2ban/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fail2ban
PORTVERSION= 0.8.7.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security python
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -39,6 +39,8 @@ FILES= ${WRKSRC}/fail2ban-regex \
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
post-install:
@${CAT} ${PKGMESSAGE}