aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_limitipconn2
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-01-06 08:47:23 +0800
committerclement <clement@FreeBSD.org>2004-01-06 08:47:23 +0800
commitd5c9fd68ee5611efee3b299fd2e900ec0cb73f8c (patch)
treebb22f0175a6f28dfd0b2c4463fc7ea700a4d6dd8 /www/mod_limitipconn2
parenta01365dccafa82dfef9ebcb3698e49b39852d673 (diff)
downloadfreebsd-ports-gnome-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.tar.gz
freebsd-ports-gnome-d5c9fd68ee5611efee3b299fd2e900ec0cb73f8c.tar.zst
freebsd-ports-gnome-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/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."