freebsd-ports/www/mod_limitipconn/Makefile
Andrey A. Chernov 2c71064910 Maintainer's fix variant for dangling browser connections counting
PR:             96917
Submitted by:   Yuan-Chung Hsiao <ychsiao@ychsiao.org>
2006-05-10 14:48:24 +00:00

33 lines
820 B
Makefile

# 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
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dominia.org/djao/limit/
MAINTAINER= ychsiao@ychsiao.org
COMMENT= Limit the number of simultaneous connections from a single client IP address
PLIST_FILES= libexec/apache/mod_limitipconn.so
USE_APACHE= yes
APACHEMODDIR= libexec/apache
PLIST_SUB+= APACHEMODDIR="${APACHEMODDIR}"
OPTIONS= FIXCOUNT "Patch dangling browser connections counting" Off
.include <bsd.port.pre.mk>
.if defined(WITH_FIXCOUNT)
EXTRA_PATCHES+= ${PATCHDIR}/fixcounting.patch
.endif
post-patch:
${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile
.include <bsd.port.post.mk>