2003-04-17 18:27:41 +02:00
|
|
|
# New ports collection makefile for: mod_limitipconn
|
|
|
|
# Date created: 18 April 2003
|
|
|
|
# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_limitipconn
|
|
|
|
PORTVERSION= 0.04
|
2003-04-20 10:12:03 +02:00
|
|
|
PORTREVISION= 1
|
2003-04-17 18:27:41 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://dominia.org/djao/limit/
|
|
|
|
|
2005-01-24 06:19:03 +01:00
|
|
|
MAINTAINER= ychsiao@ychsiao.org
|
2003-04-17 18:27:41 +02:00
|
|
|
COMMENT= Limit the number of simultaneous connections from a single client IP address
|
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= libexec/apache/mod_limitipconn.so
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2006-05-10 16:48:24 +02:00
|
|
|
APACHEMODDIR= libexec/apache
|
|
|
|
PLIST_SUB+= APACHEMODDIR="${APACHEMODDIR}"
|
|
|
|
|
|
|
|
OPTIONS= FIXCOUNT "Patch dangling browser connections counting" Off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2003-04-20 10:12:03 +02:00
|
|
|
|
2006-05-10 16:48:24 +02:00
|
|
|
.if defined(WITH_FIXCOUNT)
|
|
|
|
EXTRA_PATCHES+= ${PATCHDIR}/fixcounting.patch
|
2006-05-10 16:21:10 +02:00
|
|
|
.endif
|
|
|
|
|
2003-04-20 10:12:03 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile
|
2003-04-17 18:27:41 +02:00
|
|
|
|
2006-05-10 16:48:24 +02:00
|
|
|
.include <bsd.port.post.mk>
|