aboutsummaryrefslogtreecommitdiff
path: root/www/mod_limitipconn2
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-01-06 00:47:23 +0000
committerClement Laforet <clement@FreeBSD.org>2004-01-06 00:47:23 +0000
commitc079d95f77875d0aa9baecdaaa92e2c59a1cd3cb (patch)
tree88bf993b8a2a8ed9997ea0c8b54d7666c624ca83 /www/mod_limitipconn2
parentfaef1a3f4bb196e01312ddfb5ed7e47a47cd2767 (diff)
downloadports-c079d95f77875d0aa9baecdaaa92e2c59a1cd3cb.tar.gz
ports-c079d95f77875d0aa9baecdaaa92e2c59a1cd3cb.zip
Notes
Diffstat (limited to 'www/mod_limitipconn2')
-rw-r--r--www/mod_limitipconn2/Makefile35
-rw-r--r--www/mod_limitipconn2/distinfo1
-rw-r--r--www/mod_limitipconn2/pkg-descr6
-rw-r--r--www/mod_limitipconn2/pkg-plist4
4 files changed, 46 insertions, 0 deletions
diff --git a/www/mod_limitipconn2/Makefile b/www/mod_limitipconn2/Makefile
new file mode 100644
index 000000000000..0a8b36478392
--- /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 000000000000..807763b777fa
--- /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 000000000000..1713329f2cb3
--- /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 000000000000..58aef8fbd519
--- /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."