aboutsummaryrefslogtreecommitdiff
path: root/security/py-fail2ban
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-11-24 03:08:36 +0000
committerSteve Wills <swills@FreeBSD.org>2012-11-24 03:08:36 +0000
commitebdf97f80b913b850614b7b0c957a370e50775e7 (patch)
tree217854fdbf93c379b8cfb5f8d2172f27ebb80c44 /security/py-fail2ban
parente7ef698c6c2ff8dd1a2c33cd887a10a51f91069b (diff)
downloadports-ebdf97f80b913b850614b7b0c957a370e50775e7.tar.gz
ports-ebdf97f80b913b850614b7b0c957a370e50775e7.zip
Notes
Diffstat (limited to 'security/py-fail2ban')
-rw-r--r--security/py-fail2ban/Makefile22
-rw-r--r--security/py-fail2ban/distinfo4
-rw-r--r--security/py-fail2ban/pkg-message15
-rw-r--r--security/py-fail2ban/pkg-plist12
4 files changed, 37 insertions, 16 deletions
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile
index 36fcb8fde651..39fbca05b434 100644
--- a/security/py-fail2ban/Makefile
+++ b/security/py-fail2ban/Makefile
@@ -1,25 +1,21 @@
-# New ports collection makefile for: fail2ban
-# Date created: 13 January 2009
-# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
-#
+# Created by: Philip M. Gollucci <pgollucci@p6m7g8.com>
# $FreeBSD$
-#
PORTNAME= fail2ban
-PORTVERSION= 0.8.6
+PORTVERSION= 0.8.7.1
CATEGORIES= security python
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
+DISTNAME= ${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
MAINTAINER= theis@gmx.at
COMMENT= Scans log files and bans IP that makes too many password failures
-LICENSE= GPLv2
+LICENSE= GPLv2
-GITVERSION= 0-g1efe1bc
-FETCH_ARGS= -pRr
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-a20d1f8
+GITVERSION= 0-g0b5c66f
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
MAKE_JOBS_SAFE= yes
@@ -31,6 +27,7 @@ SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \
--install-data=${ETCDIR}
+PYDISTUTILS_EGGINFO= ${PORTNAME}-0.8.7-py${PYTHON_VER}.egg-info
FILES= ${WRKSRC}/fail2ban-regex \
${WRKSRC}/man/fail2ban-client.1 \
@@ -42,4 +39,7 @@ FILES= ${WRKSRC}/fail2ban-regex \
post-patch:
@${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g'
+post-install:
+ @${CAT} pkg-message
+
.include <bsd.port.mk>
diff --git a/security/py-fail2ban/distinfo b/security/py-fail2ban/distinfo
index 7ab0d90edb8a..9bd26e4922ee 100644
--- a/security/py-fail2ban/distinfo
+++ b/security/py-fail2ban/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fail2ban-fail2ban-0.8.6-0-g1efe1bc.tar.gz) = 24d02422c55f1b7d92bea30a7dde6f72f280eadf09d478fcca8b1dd40fb4e914
-SIZE (fail2ban-fail2ban-0.8.6-0-g1efe1bc.tar.gz) = 107029
+SHA256 (fail2ban-fail2ban-0.8.7.1-0-g0b5c66f.tar.gz) = 2804a789347b1274e343a33fcca659b37d40bb5f99e77546997c96a425f6fc9b
+SIZE (fail2ban-fail2ban-0.8.7.1-0-g0b5c66f.tar.gz) = 122529
diff --git a/security/py-fail2ban/pkg-message b/security/py-fail2ban/pkg-message
new file mode 100644
index 000000000000..4be027fee7f1
--- /dev/null
+++ b/security/py-fail2ban/pkg-message
@@ -0,0 +1,15 @@
+
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+Please do not edit the fail2ban.conf and jail.conf files as they
+will be overwritten upon each upgrade of the port.
+
+Instead, create new files named fail2ban.local and jail.local
+
+For more information, see the official manual:
+
+http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Configuration
+
+- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+
diff --git a/security/py-fail2ban/pkg-plist b/security/py-fail2ban/pkg-plist
index 9ebdbafb2462..4d6eebb1f9f9 100644
--- a/security/py-fail2ban/pkg-plist
+++ b/security/py-fail2ban/pkg-plist
@@ -10,6 +10,7 @@
%%ETCDIR%%/action.d/iptables-multiport.conf
%%ETCDIR%%/action.d/iptables-new.conf
%%ETCDIR%%/action.d/iptables.conf
+%%ETCDIR%%/action.d/iptables-xt_recent-echo.conf
%%ETCDIR%%/action.d/mail-buffered.conf
%%ETCDIR%%/action.d/mail-whois-lines.conf
%%ETCDIR%%/action.d/mail-whois.conf
@@ -27,6 +28,7 @@
%%ETCDIR%%/filter.d/apache-nohome.conf
%%ETCDIR%%/filter.d/apache-noscript.conf
%%ETCDIR%%/filter.d/apache-overflows.conf
+%%ETCDIR%%/filter.d/asterisk.conf
%%ETCDIR%%/filter.d/bsd-sshd.conf
%%ETCDIR%%/filter.d/bsdftp.conf
%%ETCDIR%%/filter.d/common.conf
@@ -37,6 +39,7 @@
%%ETCDIR%%/filter.d/dropbear.conf
%%ETCDIR%%/filter.d/exim.conf
%%ETCDIR%%/filter.d/gssftpd.conf
+%%ETCDIR%%/filter.d/lighttpd-auth.conf
%%ETCDIR%%/filter.d/lighttpd-fastcgi.conf
%%ETCDIR%%/filter.d/named-refused.conf
%%ETCDIR%%/filter.d/pam-generic.conf
@@ -45,6 +48,7 @@
%%ETCDIR%%/filter.d/proftpd.conf
%%ETCDIR%%/filter.d/pure-ftpd.conf
%%ETCDIR%%/filter.d/qmail.conf
+%%ETCDIR%%/filter.d/recidive.conf
%%ETCDIR%%/filter.d/sasl.conf
%%ETCDIR%%/filter.d/sieve.conf
%%ETCDIR%%/filter.d/sshd-ddos.conf
@@ -106,6 +110,8 @@
%%PYTHON_SITELIBDIR%%/server/failregex.pyc
%%PYTHON_SITELIBDIR%%/server/filter.py
%%PYTHON_SITELIBDIR%%/server/filter.pyc
+%%PYTHON_SITELIBDIR%%/server/filterpyinotify.py
+%%PYTHON_SITELIBDIR%%/server/filterpyinotify.pyc
%%PYTHON_SITELIBDIR%%/server/filtergamin.py
%%PYTHON_SITELIBDIR%%/server/filtergamin.pyc
%%PYTHON_SITELIBDIR%%/server/filterpoll.py
@@ -129,9 +135,9 @@
bin/fail2ban-client
bin/fail2ban-regex
bin/fail2ban-server
-@dirrm %%ETCDIR%%/filter.d
-@dirrm %%ETCDIR%%/action.d
-@dirrm %%ETCDIR%%
+@dirrmtry %%ETCDIR%%/filter.d
+@dirrmtry %%ETCDIR%%/action.d
+@dirrmtry %%ETCDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/server
@dirrm %%PYTHON_SITELIBDIR%%/common
@dirrm %%PYTHON_SITELIBDIR%%/client