From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 2 14:00:29 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF32037B4D1 for ; Wed, 2 Jul 2003 14:00:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3300043FE3 for ; Wed, 2 Jul 2003 14:00:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h62L0SUp089882 for ; Wed, 2 Jul 2003 14:00:28 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h62L0ST0089881; Wed, 2 Jul 2003 14:00:28 -0700 (PDT) Resent-Date: Wed, 2 Jul 2003 14:00:28 -0700 (PDT) Resent-Message-Id: <200307022100.h62L0ST0089881@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Clement Laforet Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D279337B405 for ; Wed, 2 Jul 2003 13:50:47 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B2AE43FE3 for ; Wed, 2 Jul 2003 13:50:46 -0700 (PDT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 25877 invoked from network); 2 Jul 2003 20:50:43 -0000 Received: from unknown (HELO ?HOSTNAME?) (192.168.0.12) by goofy.cultdeadsheep.org with SMTP; 2 Jul 2003 20:50:43 -0000 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 2 Jul 2003 22:50:25 +0200 Message-Id: <20030702205046.1B2AE43FE3@mx1.FreeBSD.org> Date: Wed, 2 Jul 2003 22:50:25 +0200 From: "Clement Laforet" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Clement Laforet Subject: ports/54044: [new port] www/mod_bandwidth X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clement Laforet List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 21:00:30 -0000 >Number: 54044 >Category: ports >Synopsis: [new port] www/mod_bandwidth >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: Wed Jul 02 14:00:27 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 5.1-CURRENT i386 >Organization: no >Environment: System: FreeBSD chuck.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Jun 22 01:48:26 CEST 2003 root@chuck.cultdeadsheep.org:/usr/obj/usr/src/sys/DARTH-VADER i386 >Description: Bandwidth management module for the Apache webserver. mod_bandwidth is a module for the Apache webserver that enable the setting of server-wide or per connection bandwidth limits, based on the directory, size of files and remote IP/domain. http://www.cohprog.com/mod_bandwidth.html >How-To-Repeat: N/A. >Fix: --- mod_bandwidth.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_bandwidth # mod_bandwidth/Makefile # mod_bandwidth/distinfo # mod_bandwidth/pkg-descr # mod_bandwidth/pkg-message # mod_bandwidth/pkg-plist # echo c - mod_bandwidth mkdir -p mod_bandwidth > /dev/null 2>&1 echo x - mod_bandwidth/Makefile sed 's/^X//' >mod_bandwidth/Makefile << 'END-of-mod_bandwidth/Makefile' X# New ports collection makefile for: mod_bandwidth X# Date created: 2 July 2003 X# Whom: Clement Laforet X# X# $FreeBSD:$ X# X XPORTNAME= mod_bandwidth XPORTVERSION= 2.0.4 XCATEGORIES= www XMASTER_SITES= http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/ XEXTRACT_SUFX= .c X XMAINTAINER= sheepkiller@cultdeadsheep.org XCOMMENT= Bandwidth management module for the Apache webserver X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${BUILD_DEPENDS} X XNO_WRKSUBDIR= YES X XAPXS?= ${LOCALBASE}/sbin/apxs X Xdo-extract: X @${MKDIR} ${WRKDIR} X @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c X Xdo-build: X @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c) X Xdo-install: X @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so) X ${CAT} ${PKGMESSAGE} X X.include END-of-mod_bandwidth/Makefile echo x - mod_bandwidth/distinfo sed 's/^X//' >mod_bandwidth/distinfo << 'END-of-mod_bandwidth/distinfo' XMD5 (mod_bandwidth-2.0.4.c) = 00f0905d777f79485beb428b53191ecf END-of-mod_bandwidth/distinfo echo x - mod_bandwidth/pkg-descr sed 's/^X//' >mod_bandwidth/pkg-descr << 'END-of-mod_bandwidth/pkg-descr' XBandwidth management module for the Apache webserver. Xmod_bandwidth is a module for the Apache webserver that Xenable the setting of server-wide or per connection Xbandwidth limits, based on the directory, size of files Xand remote IP/domain. X XWWW: http://www.cohprog.com/mod_bandwidth.html END-of-mod_bandwidth/pkg-descr echo x - mod_bandwidth/pkg-message sed 's/^X//' >mod_bandwidth/pkg-message << 'END-of-mod_bandwidth/pkg-message' X************************************************************ XTo configure correctly mod_bandwidth you can find directives Xdocumentation here : Xhttp://www.cohprog.com/v3/bandwidth/doc-en.html X************************************************************ END-of-mod_bandwidth/pkg-message echo x - mod_bandwidth/pkg-plist sed 's/^X//' >mod_bandwidth/pkg-plist << 'END-of-mod_bandwidth/pkg-plist' Xlibexec/apache/mod_bandwidth.so X@exec %D/sbin/apxs -e -A -n mod_bandwidth %D/%F X@unexec echo "===> If you do not plan on reinstalling mod_bandwidth, you must manually remove"; echo "===> references to it in httpd.conf." END-of-mod_bandwidth/pkg-plist exit --- mod_bandwidth.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: