head	1.19;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.19
date	2013.02.25.22.55.56;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2013.02.23.12.49.23;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2013.02.17.15.44.08;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.12.17.18.50.03;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.12.02.10.57.40;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.11.24.03.25.26;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.02.08.18.58.36;	author pgollucci;	state Exp;
branches;
next	1.11;

1.11
date	2011.07.31.22.23.40;	author ohauer;	state Exp;
branches;
next	1.10;

1.10
date	2011.06.11.02.08.39;	author wxs;	state Exp;
branches;
next	1.9;

1.9
date	2011.02.13.07.01.53;	author sahil;	state Exp;
branches;
next	1.8;

1.8
date	2010.04.29.19.43.20;	author pgollucci;	state Exp;
branches;
next	1.7;

1.7
date	2010.02.01.03.31.37;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2010.01.18.05.24.38;	author pgollucci;	state Exp;
branches;
next	1.5;

1.5
date	2009.08.22.00.35.02;	author amdmi3;	state Exp;
branches;
next	1.4;

1.4
date	2009.07.22.15.55.33;	author pgollucci;	state Exp;
branches;
next	1.3;

1.3
date	2009.06.01.06.19.04;	author pgollucci;	state Exp;
branches;
next	1.2;

1.2
date	2009.05.16.06.27.50;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2009.01.13.18.22.19;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312944
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Philip M. Gollucci <pgollucci@@p6m7g8.com>
# $FreeBSD: head/security/py-fail2ban/Makefile 312944 2013-02-25 22:23:15Z ache $

PORTNAME=	fail2ban
PORTVERSION=	0.8.8
PORTREVISION=	1
CATEGORIES=	security python
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}

MAINTAINER=	theis@@gmx.at
COMMENT=	Scans log files and bans IP that makes too many password failures

LICENSE=	GPLv2

GITVERSION=	0-g51a3be2
FETCH_ARGS=	-pRr
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-ff91bd4

MAKE_JOBS_SAFE=	yes

USE_PYTHON=	-2.7
USE_PYDISTUTILS=	yes

USE_RC_SUBR=	fail2ban
SUB_LIST+=	PYTHON_CMD=${PYTHON_CMD}

PYDISTUTILS_INSTALLARGS+=	--install-purelib=${PYTHON_SITELIBDIR} \
				--install-data=${ETCDIR}
PYDISTUTILS_PKGVERSION=	0.8.8

FILES=	${WRKSRC}/fail2ban-regex \
		${WRKSRC}/man/fail2ban-client.1 \
		${WRKSRC}/man/fail2ban-client.h2m \
		${WRKSRC}/setup.py \
		${WRKSRC}/client/configreader.py \
		${WRKSRC}/fail2ban-client

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}

.include <bsd.port.mk>
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312809
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/py-fail2ban/Makefile 312809 2013-02-23 12:36:57Z culot $
d6 1
@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312418
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/py-fail2ban/Makefile 312418 2013-02-17 14:44:08Z rm $
d5 1
a5 2
PORTVERSION=	0.8.7.1
PORTREVISION=	2
d16 1
a16 1
GITVERSION=	0-g0b5c66f
d18 1
a18 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
d30 1
a30 1
PYDISTUTILS_PKGVERSION=	0.8.7
@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309119
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309119 | wxs | 2012-12-17 18:44:26 +0000 (Mon, 17 Dec 2012) | 10 lines
## SVN ##
## SVN ## Minor enhancements:
## SVN ##
## SVN ## 1) Add a fix for https://github.com/fail2ban/fail2ban/issues/91 (Spurious
## SVN ## UTF8 in SYSLOG is not fully fixed)
## SVN ## 2) Add a filter for sendmail, the default mailer on FreeBSD
## SVN ## 3) Make the ipfw table used in the action bsd-ipfw configurable
## SVN ##
## SVN ## PR:		ports/173956
## SVN ## Submitted by:	Christoph Theis <theis@@gmx.at> (maintainer)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/security/py-fail2ban/Makefile 309119 2012-12-17 18:44:26Z wxs $
d6 1
a6 1
PORTREVISION=   1
d42 2
@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308095
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308095 | rm | 2012-12-02 10:53:00 +0000 (Sun, 02 Dec 2012) | 15 lines
## SVN ##
## SVN ## - correct displaying of pkg-message
## SVN ##
## SVN ## while here:
## SVN ## - use one space in Created by:
## SVN ## - some whitespace aligning
## SVN ## - correct python versions in USE_PYTHON
## SVN ## - use PYDISTUTILS_PKGVERSION to set correct package version instead of crafting
## SVN ##   full PYDISTUTILS_EGGINFO
## SVN ## - remove trailin whitespace in pkg-descr and unneded newlines in pkg-message
## SVN ##
## SVN ## PR:		174044
## SVN ## Submitted by:	Sayetsky Anton <vsjcfm@@gmail.com>
## SVN ## Approved by:	Christoph Theis <theis@@gmx.at> (maintainer)
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/security/py-fail2ban/Makefile 308095 2012-12-02 10:53:00Z rm $
d6 1
@


1.14
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307702
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307702 | swills | 2012-11-24 03:08:36 +0000 (Sat, 24 Nov 2012) | 12 lines
## SVN ##
## SVN ## - Update to 0.8.7.1
## SVN ## - Fix installation so it doesn't overwrite your config files every time you
## SVN ##   upgrade the port
## SVN ## - Fix some space/tab issues to make portlint happy
## SVN ## - Use dirrmtry in a few places because some people have their own custom
## SVN ##   filters, actions, etc.
## SVN ##
## SVN ## PR:		ports/171708
## SVN ## Submitted by:	Mark Felder <feld@@feld.me>
## SVN ## Approved by:	Christoph Theis <theis@@gmx.at> (maintainer)
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 2
# Created by:    Philip M. Gollucci <pgollucci@@p6m7g8.com>
# $FreeBSD: head/security/py-fail2ban/Makefile 307702 2012-11-24 03:08:36Z swills $
d18 1
a18 1
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTNAME}-e59babb
d22 1
a22 1
USE_PYTHON=	2.5-2.7
d30 1
a30 1
PYDISTUTILS_EGGINFO=	${PORTNAME}-0.8.7-py${PYTHON_VER}.egg-info
d43 1
a43 1
	@@${CAT} pkg-message
@


1.13
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	fail2ban
# Date created:				13 January 2009
# Whom:					    Philip M. Gollucci <pgollucci@@p6m7g8.com>
#
# $FreeBSD: head/security/py-fail2ban/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d5 1
a5 1
PORTVERSION=	0.8.6
d9 1
a9 1
DISTNAME=       ${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
d14 1
a14 1
LICENSE=        GPLv2
d16 3
a18 3
GITVERSION=     0-g1efe1bc
FETCH_ARGS=      -pRr
WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTNAME}-a20d1f8
d30 1
d42 3
@


1.12
log
@- Update to 0.8.6

PR:             ports/164829
Submitted by:   Christoph Theis <theis@@gmx.at> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@- fix reg. expression in filter.d/common.conf
- over to new maintainer

PR:		ports/157979
Submitted by:	Christoph Theis <theis _at_ gmx.at> (new maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.8.4
PORTREVISION=	2
d11 1
a11 1
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION}
d13 1
d18 6
a25 2
USE_BZIP2=	yes

@


1.10
log
@- Include configuration file for pf.
- Add patch for supporting syslogd -v or -vv.

PR:		ports/157318
Submitted by:	Nick Hilliard <nick@@foobar.org>
Approved by:	maintainer timeout
@
text
@d10 1
a10 1
PORTREVISION=	1
d15 1
a15 1
MAINTAINER=	tony@@pc-tony.com
@


1.9
log
@Expand the range of supported Python versions and
pacify portlint(1).

PR:		ports/154374
Submitted by:	Jase Thew <freebsd@@beardz.net>
Approved by:	maintainer timeout
@
text
@d10 1
@


1.8
log
@- Assign to new volunteer
@
text
@d12 1
a12 1
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
d15 1
a15 1
COMMENT=	scans log files and bans IP that makes too many password failures. 
d17 1
a17 1
MAKE_JOBS_SAFE= yes
d21 1
a21 1
USE_PYTHON=	2.5-2.6
d28 1
a28 1
				--install-data=${ETCDIR} 
@


1.7
log
@- Update to 0.8.4

PR:             ports/143020
Submitted by:   Kevin Kobb <kkobb@@skylinecorp.com>
@
text
@d14 1
a14 1
MAINTAINER=	pgollucci@@FreeBSD.org
@


1.6
log
@- rc.d fix [2]
- broken on 2.6, 2.3 is gone, and 2.4 is gone soon, so only 2.5 [1]

PR:             ports/142849 [2]
Submitted by:   Krzysztof Stryjek <admin@@bsdserwis.com> [1], miwi [2]
@
text
@d9 1
a9 2
PORTVERSION=	0.8.3
PORTREVISION=	3
d15 1
a15 1
COMMENT=	 scans log files and bans IP that makes too many password failures. 
d17 1
a17 1
MAKE_JOBS_SAFE=  yes
d21 1
a21 1
USE_PYTHON=	2.5
d25 1
d28 1
a28 1
							--install-data=${ETCDIR} 
@


1.5
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
a10 1
PORTREVISION=	2
d22 1
a22 1
USE_PYTHON=	yes
@


1.4
log
@- Correct regex for the defaults in FreeBSD

Submitted by:   "Bakker, Johan" <johan_bakker@@epson.eu>
@
text
@d12 1
a12 1
MASTER_SITES=	SF
@


1.3
log
@- Add an rc.d script

Submitted by:   sd@@mostnet.ru (via e-mail)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@- Mark most of my ports MAKE_JOBS_SAFE=yes

Tested by: several builds in P6 TB
@
text
@d10 1
d25 2
@


1.1
log
@Fail2ban scans log files like /var/log/pwdfail or /var/log/apache/error_log
and bans IP that makes too many password failures. It updates
firewall rules to reject the IP address.

WWW: http://www.fail2ban.org/wiki/index.php/Main_Page
@
text
@d17 2
@

