head	1.6;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.6
date	2013.03.18.15.46.33;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.12.17.02.18.04;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.11.17.06.02.56;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.01.21.17.39.45;	author eadler;	state Exp;
branches;
next	1.2;

1.2
date	2009.04.11.09.09.21;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2008.04.11.17.12.16;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314455
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Ditesh Shashikant Gathani <ditesh@@gathani.org>
# $FreeBSD: head/www/pear-HTTP_FloodControl/Makefile 314455 2013-03-17 15:28:55Z miwi $

PORTNAME=	HTTP_FloodControl
PORTVERSION=	0.1.1
CATEGORIES=	www pear

MAINTAINER=	miwi@@FreeBSD.org
COMMENT=	PEAR classes to detect and protect from attempts to flood a site

BUILD_DEPENDS=	${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP
RUN_DEPENDS=	${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP

LATEST_LINK=	pear-HTTP_FloodControl
DOCS=		README LICENSE
OPTIONS_DEFINE=	PEAR_DB PEAR_MDB PEAR_MDB2
PEAR_DB_DESC=	PEAR::DB support
PEAR_MDB_DESC=	PEAR::MDB support
PEAR_MDB2_DESC=	PEAR::MDB2 support

post-extract:
	${MKDIR} ${WRKSRC}/docs
	${MV} ${WRKSRC}/README ${WRKSRC}/LICENSE ${WRKSRC}/docs
	${MV} ${WRKDIR}/package2.xml ${WRKDIR}/package.xml

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPEAR_DB}
RUN_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif

.if ${PORT_OPTIONS:MPEAR_MDB}
RUN_DEPENDS+=	${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
.endif

.if ${PORT_OPTIONS:MPEAR_MDB2}
RUN_DEPENDS+=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309053
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309053 | bapt | 2012-12-17 02:15:13 +0000 (Mon, 17 Dec 2012) | 6 lines
## SVN ##
## SVN ## Convert miwi's ports to new Options framework
## SVN ## While here fix some consistency in PEAR options name
## SVN ## bumped revision of net/icpld and net/ipsumdump because IPV6 is now on
## SVN ##
## SVN ## Approved by:	miwi (maintainer)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/pear-HTTP_FloodControl/Makefile 309053 2012-12-17 02:15:13Z bapt $
d12 1
a12 6
RUN_DEPENDS:=	${BUILD_DEPENDS}

CATEGORY=	HTTP
FILES=		FloodControl.php FloodControl/Container.php \
		FloodControl/Container/DB.php FloodControl/Container/File.php \
		FloodControl/Container/MDB.php FloodControl/Container/MDB2.php
@


1.4
log
@Switch exporter over
@
text
@d1 2
a2 6
# Ports collection makefile for:  pear-HTTP_FloodControl
# Date created:			  22 Jan 2007
# Whom:				  Ditesh Shashikant Gathani <ditesh@@gathani.org>
#
# $FreeBSD: head/www/pear-HTTP_FloodControl/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d21 4
a24 3
OPTIONS=	DB "Enable PEAR::DB support" Off \
		MDB "Enable PEAR::MDB support" Off \
		MDB2 "Enable PEAR::MDB2 support" Off
d31 1
a31 1
.include <bsd.port.pre.mk>
d33 1
a33 1
.if defined(WITH_DB)
d37 1
a37 1
.if defined(WITH_MDB)
d41 1
a41 1
.if defined(WITH_MDB2)
d46 1
a46 1
.include <bsd.port.post.mk>
@


1.3
log
@At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:	portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@- Reset ditesh (at) gathani.org due to long period of inactivity.
- Take over some ports

Approved by:	portmgr (linimon)
@
text
@d16 1
a16 1
RUN_DEPENDS=	${BUILD_DEPENDS}
@


1.1
log
@The HTTP_FloodControl package can be used to detect and protect a
Web site from attempts to flood it with too many requests. It also allows to
protect the site from automatic downloading many pages or files from the same
IP address, session ID or other unique identifier.

The detection of flood is determine according to a set of parameters indicating
the maximal allowed number of requests for the certain time interval. It is
possible to set several parameters at once in order to perform more effective
protection.

The package uses various storage containers (regular files, DB, MDB, MDB2) to
handle counter logs.

WWW: http://pear.php.net/package/HTTP_FloodControl/

PR:		ports/119999
Submitted by:	Ditesh Shashikant Gathani <ditesh at gathani.org>
@
text
@d12 1
a12 1
MAINTAINER=	ditesh@@gathani.org
@

