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)
This commit is contained in:
parent
faef1a3f4b
commit
c079d95f77
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97418
5 changed files with 47 additions and 0 deletions
|
@ -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
|
||||
|
|
35
www/mod_limitipconn2/Makefile
Normal file
35
www/mod_limitipconn2/Makefile
Normal file
|
@ -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>
|
1
www/mod_limitipconn2/distinfo
Normal file
1
www/mod_limitipconn2/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (apache2/mod_limitipconn-0.22.tar.gz) = 0f4beb9eb4e7b815ca472ccfe11451b3
|
6
www/mod_limitipconn2/pkg-descr
Normal file
6
www/mod_limitipconn2/pkg-descr
Normal file
|
@ -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
|
4
www/mod_limitipconn2/pkg-plist
Normal file
4
www/mod_limitipconn2/pkg-plist
Normal file
|
@ -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."
|
Loading…
Reference in a new issue