ports/58253: [new port] www/mod_limitipconn: Allows you to limit the number of simultaneous connexions
Clement Laforet
sheepkiller at cultdeadsheep.org
Sun Oct 19 19:50:30 UTC 2003
>Number: 58253
>Category: ports
>Synopsis: [new port] www/mod_limitipconn: Allows you to limit the number of simultaneous connexions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 19 12:50:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
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 supporter since apache isn't patched.
WWW: http://dominia.org/djao/limitipconn.html
>How-To-Repeat:
N/A.
>Fix:
--- mod_limitipconn.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mod_limitipconn
# mod_limitipconn/Makefile
# mod_limitipconn/distinfo
# mod_limitipconn/pkg-descr
# mod_limitipconn/pkg-plist
#
echo c - mod_limitipconn
mkdir -p mod_limitipconn > /dev/null 2>&1
echo x - mod_limitipconn/Makefile
sed 's/^X//' >mod_limitipconn/Makefile << 'END-of-mod_limitipconn/Makefile'
X# New ports collection makefile for: mod_limitipconn
X# Date created: Sun Oct 19
X# Whom: Clement Laforet <sheepkiller at cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mod_limitipconn
XPORTVERSION= 0.04
XCATEGORIES= www
XMASTER_SITES= http://dominia.org/djao/limit/
XDIST_SUBDIR= apache
X
XMAINTAINER= sheepkiller at cultdeadsheep.org
XCOMMENT= Allows you to limit the number of simultaneous connexions
X
XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XAPXS?= ${LOCALBASE}/sbin/apxs
X
XDOC_FILES= ChangeLog README
X
Xdo-build:
X @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
X
Xdo-install:
X @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.so)
X
X.if !defined (NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X. for f in ${DOC_FILES}
X @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X. endfor
X.endif
X
X.include <bsd.port.mk>
END-of-mod_limitipconn/Makefile
echo x - mod_limitipconn/distinfo
sed 's/^X//' >mod_limitipconn/distinfo << 'END-of-mod_limitipconn/distinfo'
XMD5 (apache/mod_limitipconn-0.04.tar.gz) = 009dac6ccae20806916ec7aa61a42a1f
END-of-mod_limitipconn/distinfo
echo x - mod_limitipconn/pkg-descr
sed 's/^X//' >mod_limitipconn/pkg-descr << 'END-of-mod_limitipconn/pkg-descr'
XApache module mod_limitipconn, which allows web server administrators
Xto limit the number of simultaneous downloads permitted from a single
XIP address.
XProxy tracking possibility is not supported since apache isn't patched.
X
XWWW: http://dominia.org/djao/limitipconn.html
END-of-mod_limitipconn/pkg-descr
echo x - mod_limitipconn/pkg-plist
sed 's/^X//' >mod_limitipconn/pkg-plist << 'END-of-mod_limitipconn/pkg-plist'
Xlibexec/apache/mod_limitipconn.so
X at exec %D/sbin/apxs -e -A -n limitipconn %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at unexec echo "===> If you do not plan on reinstalling mod_limitipconn, you must manually remove"; echo "===> references to it in httpd.conf."
END-of-mod_limitipconn/pkg-plist
exit
--- mod_limitipconn.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list