From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 7 22:50:24 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 1B37016A420 for ; Fri, 7 Oct 2005 22:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1942643D66 for ; Fri, 7 Oct 2005 22:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j97MoHW6036766 for ; Fri, 7 Oct 2005 22:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j97MoHFY036757; Fri, 7 Oct 2005 22:50:17 GMT (envelope-from gnats) Resent-Date: Fri, 7 Oct 2005 22:50:17 GMT Resent-Message-Id: <200510072250.j97MoHFY036757@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, "Nuno Antunes" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5415E16A41F for ; Fri, 7 Oct 2005 22:47:35 +0000 (GMT) (envelope-from nuno.antunes@gmail.com) Received: from www.nantunes.org (bl7-163-22.dsl.telepac.pt [85.240.163.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6100E43D45 for ; Fri, 7 Oct 2005 22:47:34 +0000 (GMT) (envelope-from nuno.antunes@gmail.com) Received: from localhost (localhost [172.16.0.2]) by www.nantunes.org (Postfix) with ESMTP id 120902E5D2 for ; Fri, 7 Oct 2005 23:51:12 +0100 (WEST) Received: from www.nantunes.org ([172.16.0.2]) by localhost (www.nantunes.org [172.16.0.2]) (amavisd-new, port 10024) with LMTP id 29566-07 for ; Fri, 7 Oct 2005 23:51:05 +0100 (WEST) Received: from pt1wgfdc.ip.lab (unknown [192.168.0.12]) by www.nantunes.org (Postfix) with ESMTP id B09EE2E4E8 for ; Fri, 7 Oct 2005 23:51:05 +0100 (WEST) Message-Id: <1128725243.0@pt1wgfdc.ip.lab> Date: Fri, 7 Oct 2005 23:47:23 +0100 From: "Nuno Antunes" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/87098: [NEW PORT] net/ng_car - Committed Access Rate node for netgraph X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 22:50:24 -0000 >Number: 87098 >Category: ports >Synopsis: [NEW PORT] net/ng_car - Committed Access Rate node for netgraph >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: Fri Oct 07 22:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nuno Antunes >Release: FreeBSD 6.0-BETA4 i386 >Organization: >Environment: System: FreeBSD 6.0-BETA4 #2: Sat Sep 17 10:56:38 WEST 2005 nant@pt1wgfdc.ip.lab:/usr/obj/usr/src/sys/LIFEBOOK8010 >Description: The ng_car netgraph module is a Committed Access Rate iplementation for netgraph. It provides an easy way to use a network interface at a rate below its specification. It uses a token bucket algorithm to measure and classify the network packets flowing through it as described on RFC 2697. >How-To-Repeat: >Fix: --- ng_car.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: # # ng_car/ # ng_car/pkg-plist # ng_car/pkg-message # ng_car/pkg-descr # ng_car/distinfo # ng_car/Makefile # ng_car/files # ng_car/files/patch-Makefile # echo c - ng_car/ mkdir -p ng_car/ > /dev/null 2>&1 echo x - ng_car/pkg-plist sed 's/^X//' >ng_car/pkg-plist << 'END-of-ng_car/pkg-plist' X@cwd / X%%KMODDIR%%/ng_car.ko END-of-ng_car/pkg-plist echo x - ng_car/pkg-message sed 's/^X//' >ng_car/pkg-message << 'END-of-ng_car/pkg-message' X X******************************************************************************* X* This port contains a prebuilt kernel module. Due to the ever changing * X* nature of FreeBSD it may be necessary to rebuild the module after a kernel * X* source update. To do this reinstall the port. * X******************************************************************************* END-of-ng_car/pkg-message echo x - ng_car/pkg-descr sed 's/^X//' >ng_car/pkg-descr << 'END-of-ng_car/pkg-descr' XThe ng_car netgraph module is a "Committed Access Rate" iplementation for Xnetgraph. It provides an easy way to use a network interface at a rate below Xits specification. It uses a token bucket algorithm to measure and classify the Xnetwork packets flowing through it. X XWWW: http://npf.pt.FreeBSD.org/ X X-- XNuno Antunes X END-of-ng_car/pkg-descr echo x - ng_car/distinfo sed 's/^X//' >ng_car/distinfo << 'END-of-ng_car/distinfo' XMD5 (ng_car-0.1.tar.gz) = 9f738d24fa47afc47d7d691dbfbd21bb XSIZE (ng_car-0.1.tar.gz) = 5710 END-of-ng_car/distinfo echo x - ng_car/Makefile sed 's/^X//' >ng_car/Makefile << 'END-of-ng_car/Makefile' X# New ports collection makefile for: ng_car X# Date Created: Sep 26, 2005 X# Whom: Nuno Antunes X# X# $FreeBSD$ X# X XPORTNAME= ng_car XPORTVERSION= 0.1 XCATEGORIES= net XMASTER_SITES= http://npf.pt.freebsd.org/~l1/softs/ X XMAINTAINER= nuno.antunes@gmail.com XCOMMENT= Netgraph committed access rate node X XNO_PACKAGE= Should be in sync with the kernel to work correctly X XPLIST_SUB= KMODDIR=${KMODDIR} X XMAN4= ng_car.4 XMANCOMPRESSED= yes X X.include X Xpre-fetch: X X.if !exists(${SRC_BASE}/sys/Makefile) X IGNORE= "This port requires kernel sources" X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-ng_car/Makefile echo c - ng_car/files mkdir -p ng_car/files > /dev/null 2>&1 echo x - ng_car/files/patch-Makefile sed 's/^X//' >ng_car/files/patch-Makefile << 'END-of-ng_car/files/patch-Makefile' X--- Makefile.orig Mon Sep 26 22:18:41 2005 X+++ Makefile Thu Oct 6 22:30:52 2005 X@@ -2,7 +2,13 @@ X SRCS= ng_car.c X X MAN= ng_car.4 X+MANDIR= ${PREFIX}/man/man X X #CFLAGS+= -g X X .include X+.include X+ X+all: _manpages X+ X+install: _maninstall END-of-ng_car/files/patch-Makefile exit --- ng_car.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: