diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-17 16:27:41 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-04-17 16:27:41 +0000 |
commit | 91b46433a916362a806b4615de985c1c23e85ce1 (patch) | |
tree | e01e3512117b8bc899398e80dfb2e97d45c4f7ea /www | |
parent | 3a3ea8b8e2badebc800178c9cfcf2155dc30de3f (diff) | |
download | ports-91b46433a916362a806b4615de985c1c23e85ce1.tar.gz ports-91b46433a916362a806b4615de985c1c23e85ce1.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_limitipconn/Makefile | 24 | ||||
-rw-r--r-- | www/mod_limitipconn/distinfo | 1 | ||||
-rw-r--r-- | www/mod_limitipconn/pkg-descr | 16 | ||||
-rw-r--r-- | www/mod_limitipconn/pkg-plist | 1 |
5 files changed, 43 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 8e7f495ba94d..ea01b42ddd02 100644 --- a/www/Makefile +++ b/www/Makefile @@ -192,6 +192,7 @@ SUBDIR += mod_index_rss SUBDIR += mod_jk SUBDIR += mod_layout + SUBDIR += mod_limitipconn SUBDIR += mod_log_mysql SUBDIR += mod_mp3 SUBDIR += mod_mylo diff --git a/www/mod_limitipconn/Makefile b/www/mod_limitipconn/Makefile new file mode 100644 index 000000000000..74d74cc0ff59 --- /dev/null +++ b/www/mod_limitipconn/Makefile @@ -0,0 +1,24 @@ +# 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 +CATEGORIES= www +MASTER_SITES= http://dominia.org/djao/limit/ + +MAINTAINER= gslin@ccca.nctu.edu.tw +COMMENT= Limit the number of simultaneous connections from a single client IP address + +BUILD_DEPENDS?= ${APXS}:${PORTSDIR}/www/apache13 +RUN_DEPENDS?= ${APXS}:${PORTSDIR}/www/apache13 + +APXS?= ${LOCALBASE}/sbin/apxs + +do-install: + ${APXS} -i -A -n limitipconn ${WRKSRC}/mod_limitipconn.so + +.include <bsd.port.mk> diff --git a/www/mod_limitipconn/distinfo b/www/mod_limitipconn/distinfo new file mode 100644 index 000000000000..c35c8f068fee --- /dev/null +++ b/www/mod_limitipconn/distinfo @@ -0,0 +1 @@ +MD5 (mod_limitipconn-0.04.tar.gz) = 009dac6ccae20806916ec7aa61a42a1f diff --git a/www/mod_limitipconn/pkg-descr b/www/mod_limitipconn/pkg-descr new file mode 100644 index 000000000000..399c82f61d51 --- /dev/null +++ b/www/mod_limitipconn/pkg-descr @@ -0,0 +1,16 @@ +This is the distribution page for the Apache module mod_limitipconn.c, which +allows web server administrators to limit the number of simultaneous downloads +permitted from a single IP address. + +Why did I write this module? Well, I run an mp3 server which since its +inception was being constantly hosed by people who were trying to download +dozens of files at once. For months I scoured the Internet looking for a code +snippet that would solve this problem. The closest thing I found was this patch +against an old version of Apache, and it didn't run properly on my Linux box +(that was back then; nowadays, the patch doesn't even apply cleanly to the + Apache source tree). + +Finally I gave up and decided to write something to do the job myself, and +here's the result. + +WWW: http://dominia.org/djao/limitipconn.html diff --git a/www/mod_limitipconn/pkg-plist b/www/mod_limitipconn/pkg-plist new file mode 100644 index 000000000000..088149d887a4 --- /dev/null +++ b/www/mod_limitipconn/pkg-plist @@ -0,0 +1 @@ +libexec/apache/mod_limitipconn.so |