summaryrefslogtreecommitdiff
path: root/security/py-fail2ban/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-fail2ban/Makefile')
-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 9cbaf89b9b2f..c571d8418ec6 100644
--- a/security/py-fail2ban/Makefile
+++ b/security/py-fail2ban/Makefile
@@ -1,6 +1,6 @@
PORTNAME= fail2ban
DISTVERSION= 1.1.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -63,6 +63,7 @@ post-patch:
${MAN_FILES}
@${REINPLACE_CMD} -e 's, sed , ${SED} ,g' \
${WRKSRC}/config/action.d/hostsdeny.conf
+ @${RM} ${WRKSRC}/config/filter.d/sshd.conf
# XXX Ideally this should be in do-build but it only works in
# XXX post-patch
@@ -78,6 +79,7 @@ post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+ @${RM} ${STAGEDIR}/${ETCDIR}/filter.d/selinux-sshd.conf
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test