diff -rNu ./py-fail2ban.orig/Makefile ./py-fail2ban/Makefile --- ./py-fail2ban.orig/Makefile 2009-08-25 17:41:45.000000000 -0400 +++ ./py-fail2ban/Makefile 2010-01-12 18:14:44.000000000 -0500 @@ -6,14 +6,13 @@ # PORTNAME= fail2ban -PORTVERSION= 0.8.3 -PORTREVISION= 2 +PORTVERSION= 0.8.4 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= pgollucci@FreeBSD.org -COMMENT= scans log files and bans IP that makes too many password failures. +COMMENT= Scans log files and bans IPs that make too many password failures MAKE_JOBS_SAFE= yes @@ -25,7 +24,7 @@ USE_RC_SUBR= fail2ban PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \ - --install-data=${ETCDIR} + --install-data=${ETCDIR} FILES= ${WRKSRC}/fail2ban-regex \ ${WRKSRC}/man/fail2ban-client.1 \ @@ -36,5 +35,7 @@ post-patch: @${ECHO_CMD} ${FILES} | ${XARGS} ${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' + @mv ${WRKSRC}/config/fail2ban.conf ${WRKSRC}/config/sample.fail2ban.conf + @mv ${WRKSRC}/config/jail.conf ${WRKSRC}/config/sample.jail.conf .include diff -rNu ./py-fail2ban.orig/distinfo ./py-fail2ban/distinfo --- ./py-fail2ban.orig/distinfo 2009-01-13 13:22:19.000000000 -0500 +++ ./py-fail2ban/distinfo 2010-01-11 16:48:40.000000000 -0500 @@ -1,3 +1,3 @@ -MD5 (fail2ban-0.8.3.tar.bz2) = b438d7e2ce77a469fb0cca2a5cc0b81c -SHA256 (fail2ban-0.8.3.tar.bz2) = b32fd9ee849bf36d23685a91d1d96f29a2fa383069d7d789e4956c9268dca5cd -SIZE (fail2ban-0.8.3.tar.bz2) = 64028 +MD5 (fail2ban-0.8.4.tar.bz2) = df94335a5d12b4750869e5fe350073fa +SHA256 (fail2ban-0.8.4.tar.bz2) = 7a4fc0ea6dffde1db1d096757878e1b2c5f0b087a05ed7e7ca0202fb0b127982 +SIZE (fail2ban-0.8.4.tar.bz2) = 71818 diff -rNu ./py-fail2ban.orig/files/patch-bsd-ipfw.conf ./py-fail2ban/files/patch-bsd-ipfw.conf --- ./py-fail2ban.orig/files/patch-bsd-ipfw.conf 1969-12-31 19:00:00.000000000 -0500 +++ ./py-fail2ban/files/patch-bsd-ipfw.conf 2010-01-12 16:33:36.000000000 -0500 @@ -0,0 +1,68 @@ +--- /dev/null 2010-01-12 16:33:00.000000000 -0500 ++++ ./config/action.d/bsd-ipfw.conf 2010-01-12 16:26:51.000000000 -0500 +@@ -0,0 +1,65 @@ ++# 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 ++#