From sheepkiller@cultdeadsheep.org  Sun Oct 19 12:46:33 2003
Return-Path: <sheepkiller@cultdeadsheep.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8A97C16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Oct 2003 12:46:33 -0700 (PDT)
Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A508943F85
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Oct 2003 12:46:31 -0700 (PDT)
	(envelope-from sheepkiller@cultdeadsheep.org)
Received: (qmail 86417 invoked by uid 85); 19 Oct 2003 21:46:30 +0200
Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 82 with qmail-scanner-1.20rc2 
 ( Clear:RC:1:. 
 Processed in 0.044873 secs); 19 Oct 2003 19:46:30 -0000
Received: from lucifer.cultdeadsheep.org (192.168.0.2)
  by goofy.cultdeadsheep.org with SMTP; 19 Oct 2003 21:46:30 +0200
Received: by lucifer.cultdeadsheep.org (sSMTP sendmail emulation); Sun, 19 Oct 2003 21:46:02 +0200
Message-Id: <20031019194631.A508943F85@mx1.FreeBSD.org>
Date: Sun, 19 Oct 2003 21:46:02 +0200
From: Clement Laforet <sheepkiller@cultdeadsheep.org>
Reply-To: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject: [new port] www/mod_limitipconn2: Allows you to limit the number of simultaneous connexions
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58254
>Category:       ports
>Synopsis:       [new port] www/mod_limitipconn2: Allows you to limit the number of simultaneous connexions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 19 12:50:25 PDT 2003
>Closed-Date:    Tue Nov 18 05:20:24 PST 2003
>Last-Modified:  Tue Nov 18 05:20:24 PST 2003
>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@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	Apache module mod_limitipconn.c, which allows web server administrators
	to limit the number of simultaneous downloads permitted from a single
	IP address.
	Proxy tracking possibility is not supported since apache isn't patched.

	WWW: http://dominia.org/djao/limitipconn2.html

>How-To-Repeat:
	N/A.
>Fix:

	

--- mod_limitipconn2.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_limitipconn2
#	mod_limitipconn2/Makefile
#	mod_limitipconn2/distinfo
#	mod_limitipconn2/pkg-descr
#	mod_limitipconn2/pkg-plist
#
echo c - mod_limitipconn2
mkdir -p mod_limitipconn2 > /dev/null 2>&1
echo x - mod_limitipconn2/Makefile
sed 's/^X//' >mod_limitipconn2/Makefile << 'END-of-mod_limitipconn2/Makefile'
X# New ports collection makefile for:	mod_limitipconn2
X# Date created:				Sun Oct 19
X# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_limitipconn
XPORTVERSION=	0.22
XCATEGORIES=	www
XMASTER_SITES=	http://dominia.org/djao/limit/
XDIST_SUBDIR=	apache
X
XMAINTAINER=	sheepkiller@cultdeadsheep.org
XCOMMENT=	Allows you to limit the number of simultaneous connexions
X
XBUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XAPXS?=		${LOCALBASE}/sbin/apxs
X
XDOC_FILES=	ChangeLog INSTALL 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}.la)
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_limitipconn2/Makefile
echo x - mod_limitipconn2/distinfo
sed 's/^X//' >mod_limitipconn2/distinfo << 'END-of-mod_limitipconn2/distinfo'
XMD5 (apache/mod_limitipconn-0.22.tar.gz) = 0f4beb9eb4e7b815ca472ccfe11451b3
END-of-mod_limitipconn2/distinfo
echo x - mod_limitipconn2/pkg-descr
sed 's/^X//' >mod_limitipconn2/pkg-descr << 'END-of-mod_limitipconn2/pkg-descr'
XApache module mod_limitipconn.c, 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/limitipconn2.html
END-of-mod_limitipconn2/pkg-descr
echo x - mod_limitipconn2/pkg-plist
sed 's/^X//' >mod_limitipconn2/pkg-plist << 'END-of-mod_limitipconn2/pkg-plist'
Xlibexec/apache2/mod_limitipconn.so
X@exec %D/sbin/apxs -e -A -n limitipconn %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@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_limitipconn2/pkg-plist
exit
--- mod_limitipconn2.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: Clement Laforet <sheepkiller@cultdeadsheep.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/58254: [new port] www/mod_limitipconn2: Allows you to
 limit the number of simultaneous connexions
Date: Sun, 19 Oct 2003 22:39:45 +0200

 Using LATEST_LINK seems to be a good idea ;-)
 
 diff -Nru mod_limitipconn2.orig/Makefile mod_limitipconn2/Makefile
 --- mod_limitipconn2.orig/Makefile	Sun Oct 19 22:37:58 2003
 +++ mod_limitipconn2/Makefile	Sun Oct 19 22:38:25 2003
 @@ -17,6 +17,8 @@
  BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
  RUN_DEPENDS=	${BUILD_DEPENDS}
  
 +LATEST_LINK=	mod_limitipconn2
 +
  APXS?=		${LOCALBASE}/sbin/apxs
  
  DOC_FILES=	ChangeLog INSTALL README
State-Changed-From-To: open->closed 
State-Changed-By: osa 
State-Changed-When: Tue Nov 18 05:18:14 PST 2003 
State-Changed-Why:  
Closed by submitter request: for details see audit-trail of 59416. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58254 
>Unformatted:
