diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2006-05-10 14:21:10 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2006-05-10 14:21:10 +0000 |
commit | ba57292fe12c36e076ec08bbf08e01130fafc838 (patch) | |
tree | 2d1f6e9ab06dc9f063d35ae0490b72e2da385d15 /www/mod_limitipconn | |
parent | 978d1b72307d11a2d350cb39e033d8cf7adb4294 (diff) | |
download | ports-ba57292fe12c36e076ec08bbf08e01130fafc838.tar.gz ports-ba57292fe12c36e076ec08bbf08e01130fafc838.zip |
Notes
Diffstat (limited to 'www/mod_limitipconn')
-rw-r--r-- | www/mod_limitipconn/Makefile | 11 | ||||
-rw-r--r-- | www/mod_limitipconn/distinfo | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/www/mod_limitipconn/Makefile b/www/mod_limitipconn/Makefile index f17516f91749..0a1fef98b0b1 100644 --- a/www/mod_limitipconn/Makefile +++ b/www/mod_limitipconn/Makefile @@ -10,6 +10,12 @@ PORTVERSION= 0.04 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://dominia.org/djao/limit/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +.if defined(WITH_CONNECTION_COUNT_FIX) +LMODOVERWRITE= contrib/sbarta/mod_limitipconn.c +DISTFILES+= ${LMODOVERWRITE} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +.endif MAINTAINER= ychsiao@ychsiao.org COMMENT= Limit the number of simultaneous connections from a single client IP address @@ -18,6 +24,11 @@ PLIST_FILES= libexec/apache/mod_limitipconn.so USE_APACHE= yes USE_REINPLACE= yes +.if defined(WITH_CONNECTION_COUNT_FIX) +pre-patch: + ${CP} ${DISTDIR}/${LMODOVERWRITE} ${WRKSRC} +.endif + post-patch: ${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile diff --git a/www/mod_limitipconn/distinfo b/www/mod_limitipconn/distinfo index 3e43334caaff..06c3746664a3 100644 --- a/www/mod_limitipconn/distinfo +++ b/www/mod_limitipconn/distinfo @@ -1,3 +1,6 @@ MD5 (mod_limitipconn-0.04.tar.gz) = 009dac6ccae20806916ec7aa61a42a1f SHA256 (mod_limitipconn-0.04.tar.gz) = ad131bbd5af50bb37450d3bafddffeb81b4a2e8456c2bddb3ba300beca530a94 SIZE (mod_limitipconn-0.04.tar.gz) = 6267 +MD5 (contrib/sbarta/mod_limitipconn.c) = c05bf21b0e32a168448ea4dac8a53f5c +SHA256 (contrib/sbarta/mod_limitipconn.c) = a076313794897149f67e2159372987d379bdaa67da0c1c37025952afb4b52543 +SIZE (contrib/sbarta/mod_limitipconn.c) = 9753 |