diff options
author | clement <clement@FreeBSD.org> | 2004-01-06 00:47:23 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-06 00:47:23 +0000 |
commit | d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c (patch) | |
tree | bb22f0175a6f28dfd0b2c4463fc7ea700a4d6dd8 /www/mod_limitipconn2 | |
parent | a01365dccafa82dfef9ebcb3698e49b39852d673 (diff) | |
download | FreeBSD-ports-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.zip FreeBSD-ports-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.tar.gz |
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/mod_limitipconn2')
-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 |
4 files changed, 46 insertions, 0 deletions
diff --git a/www/mod_limitipconn2/Makefile b/www/mod_limitipconn2/Makefile new file mode 100644 index 0000000..0a8b364 --- /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 0000000..807763b --- /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 0000000..1713329 --- /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 0000000..58aef8f --- /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." |