diff options
author | clement <clement@FreeBSD.org> | 2004-01-06 08:47:23 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-06 08:47:23 +0800 |
commit | d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c (patch) | |
tree | bb22f0175a6f28dfd0b2c4463fc7ea700a4d6dd8 /www | |
parent | a01365dccafa82dfef9ebcb3698e49b39852d673 (diff) | |
download | freebsd-ports-graphics-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.tar.gz freebsd-ports-graphics-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.tar.zst freebsd-ports-graphics-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.zip |
Add mod_limitipconn2 0.22,
allows you to limit the number of simultaneous connexions.
PR: 59416
Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Approved by: erwin (mentor) (implicitly)
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_limitipconn2/Makefile | 35 | ||||
-rw-r--r-- | www/mod_limitipconn2/distinfo | 1 | ||||
-rw-r--r-- | www/mod_limitipconn2/pkg-descr | 6 | ||||
-rw-r--r-- | www/mod_limitipconn2/pkg-plist | 4 |
5 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index b5d7b685e5e..e613a917073 100644 --- a/www/Makefile +++ b/www/Makefile @@ -232,6 +232,7 @@ SUBDIR += mod_layout SUBDIR += mod_layout2 SUBDIR += mod_limitipconn + SUBDIR += mod_limitipconn2 SUBDIR += mod_log_sql SUBDIR += mod_macro SUBDIR += mod_mp3 diff --git a/www/mod_limitipconn2/Makefile b/www/mod_limitipconn2/Makefile new file mode 100644 index 00000000000..0a8b3647839 --- /dev/null +++ b/www/mod_limitipconn2/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: mod_limitipconn2 +# Date created: 18 November 2003 +# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= mod_limitipconn +PORTVERSION= 0.22 +CATEGORIES= www +MASTER_SITES= http://dominia.org/djao/limit/ +DIST_SUBDIR= apache2 + +MAINTAINER= gslin@ccca.nctu.edu.tw +COMMENT= Allows you to limit the number of simultaneous connexions + +USE_APACHE= YES +WITH_APACHE2= YES + +PORTDOCS= ChangeLog INSTALL README + +do-build: + @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c) + +do-install: + @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la) + +.if !defined (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +. for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif + +.include <bsd.port.mk> diff --git a/www/mod_limitipconn2/distinfo b/www/mod_limitipconn2/distinfo new file mode 100644 index 00000000000..807763b777f --- /dev/null +++ b/www/mod_limitipconn2/distinfo @@ -0,0 +1 @@ +MD5 (apache2/mod_limitipconn-0.22.tar.gz) = 0f4beb9eb4e7b815ca472ccfe11451b3 diff --git a/www/mod_limitipconn2/pkg-descr b/www/mod_limitipconn2/pkg-descr new file mode 100644 index 00000000000..1713329f2cb --- /dev/null +++ b/www/mod_limitipconn2/pkg-descr @@ -0,0 +1,6 @@ +Apache module mod_limitipconn, which allows web server administrators +to limit the number of simultaneous downloads permitted from a single +IP address. +Proxy tracking possibility is not supported yet since apache isn't patched. + +WWW: http://dominia.org/djao/limitipconn2.html diff --git a/www/mod_limitipconn2/pkg-plist b/www/mod_limitipconn2/pkg-plist new file mode 100644 index 00000000000..58aef8fbd51 --- /dev/null +++ b/www/mod_limitipconn2/pkg-plist @@ -0,0 +1,4 @@ +libexec/apache2/mod_limitipconn.so +@exec %D/sbin/apxs -e -A -n limitipconn %D/%f +@unexec %D/sbin/apxs -e -A -n limitipconn %D/%f +@unexec echo "===> If you do not plan on reinstalling mod_limitipconn, you must manually remove"; echo "===> references to it in httpd.conf." |