ports/164829: [maintainer-update] Update fail2ban to 0.8.6
Christoph Theis
theis at gmx.at
Mon Feb 6 18:00:31 UTC 2012
>Number: 164829
>Category: ports
>Synopsis: [maintainer-update] Update fail2ban to 0.8.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 06 18:00:19 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Christoph Theis
>Release: 9.0-RELEASE
>Organization:
>Environment:
>Description:
Update of security/py-fail2ban to 0.8.6
Added LICENSE= GPLv2
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/py-fail2ban/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile 31 Jul 2011 22:23:40 -0000 1.11
+++ Makefile 6 Feb 2012 17:40:00 -0000
@@ -6,18 +6,23 @@
#
PORTNAME= fail2ban
-PORTVERSION= 0.8.4
-PORTREVISION= 2
+PORTVERSION= 0.8.6
+PORTREVISION=
CATEGORIES= security python
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
MAINTAINER= theis at gmx.at
COMMENT= Scans log files and bans IP that makes too many password failures
-MAKE_JOBS_SAFE= yes
+LICENSE= GPLv2
+
+GITVERSION= 0-g1efe1bc
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-a20d1f8
-USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
USE_PYTHON= 2.5-2.7
USE_PYDISTUTILS= yes
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/py-fail2ban/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 13 Feb 2011 07:01:53 -0000 1.3
+++ distinfo 6 Feb 2012 17:40:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (fail2ban-0.8.4.tar.bz2) = 7a4fc0ea6dffde1db1d096757878e1b2c5f0b087a05ed7e7ca0202fb0b127982
-SIZE (fail2ban-0.8.4.tar.bz2) = 71818
+SHA256 (fail2ban-fail2ban-0.8.6-0-g1efe1bc.tar.gz) = 24d02422c55f1b7d92bea30a7dde6f72f280eadf09d478fcca8b1dd40fb4e914
+SIZE (fail2ban-fail2ban-0.8.6-0-g1efe1bc.tar.gz) = 107029
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/py-fail2ban/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist 11 Jun 2011 02:08:39 -0000 1.5
+++ pkg-plist 6 Feb 2012 17:40:00 -0000
@@ -1,6 +1,7 @@
%%ETCDIR%%/action.d/bsd-ipfw.conf
%%ETCDIR%%/action.d/complain.conf
%%ETCDIR%%/action.d/dshield.conf
+%%ETCDIR%%/action.d/dummy.conf
%%ETCDIR%%/action.d/hostsdeny.conf
%%ETCDIR%%/action.d/ipfilter.conf
%%ETCDIR%%/action.d/ipfw.conf
@@ -32,6 +33,8 @@
%%ETCDIR%%/filter.d/courierlogin.conf
%%ETCDIR%%/filter.d/couriersmtp.conf
%%ETCDIR%%/filter.d/cyrus-imap.conf
+%%ETCDIR%%/filter.d/dovecot.conf
+%%ETCDIR%%/filter.d/dropbear.conf
%%ETCDIR%%/filter.d/exim.conf
%%ETCDIR%%/filter.d/gssftpd.conf
%%ETCDIR%%/filter.d/lighttpd-fastcgi.conf
Index: files/patch-common.conf
===================================================================
RCS file: /home/ncvs/ports/security/py-fail2ban/files/patch-common.conf,v
retrieving revision 1.2
diff -u -r1.2 patch-common.conf
--- files/patch-common.conf 31 Jul 2011 22:23:40 -0000 1.2
+++ files/patch-common.conf 6 Feb 2012 17:40:00 -0000
@@ -1,17 +1,19 @@
---- config/filter.d/common.conf.orig 2011-05-25 14:25:33.000000000 +0100
-+++ config/filter.d/common.conf 2011-05-25 14:25:42.000000000 +0100
-@@ -32,10 +32,13 @@
+--- config/filter.d/common.conf.orig 2012-01-20 22:50:22.000000000 +0100
++++ config/filter.d/common.conf 2012-01-20 23:10:52.000000000 +0100
+@@ -32,6 +32,9 @@
# EXAMPLES: sshd[31607], pop(pam_unix)[4920]
__daemon_combs_re = (?:%(__pid_re)s?:\s+%(__daemon_re)s|%(__daemon_re)s%(__pid_re)s?:)
+# Logging facility and priority for BSD "-v" verbose mode
+__bsd_verbose_mode = (?:\s*\<\S+\.\S+\>\s*)
+
- #
- # Common line prefixes (beginnings) which could be used in filters
+ # Some messages have a kernel prefix with a timestamp
+ # EXAMPLES: kernel: [769570.846956]
+ __kernel_prefix = kernel: \[\d+\.\d+\]
+@@ -43,5 +46,5 @@
#
# [hostname] [vserver tag] daemon_id spaces
# this can be optional (for instance if we match named native log files)
--__prefix_line = \s*(?:\S+ )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s*
+-__prefix_line = \s*(?:%(__hostname)s )?(?:%(__kernel_prefix)s )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s*
+__prefix_line = \s*%(__bsd_verbose_mode)s?(?:\S+ )?(?:@vserver_\S+ )?%(__daemon_combs_re)s?\s*
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list