Date: Wed, 14 May 2003 15:24:32 +0400 From: "Denis N. Peplin" <info@volginfo.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52218: New port: Set of scripts for counting traffic per user on network level Message-ID: <200305141524.32838.info@volginfo.ru> Resent-Message-ID: <200305141130.h4EBUHjZ024233@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52218 >Category: ports >Synopsis: New port: Set of scripts for counting traffic per user on network level >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 14 04:30:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Denis N.Peplin <den@volginfo.ru> >Release: FreeBSD 4.7-RELEASE-p10 i386 >Organization: <organization of PR author (multiple lines)> >Environment: >Description: Count traffic from users with dynamic ip addresses. Uses information from application level (Samba, pppd, etc.) to operate on network level (modify ipfw or another firewall rules for traffic counting). >How-To-Repeat: <code/input/activities to reproduce the problem (multiple lines)> >Fix: # 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: # # utcount-freebsd-port # utcount-freebsd-port/distinfo # utcount-freebsd-port/Makefile # utcount-freebsd-port/pkg-descr # utcount-freebsd-port/pkg-plist # echo c - utcount-freebsd-port mkdir -p utcount-freebsd-port > /dev/null 2>&1 echo x - utcount-freebsd-port/distinfo sed 's/^X//' >utcount-freebsd-port/distinfo << 'END-of-utcount-freebsd-port/distinfo' XMD5 (utcount-0.1.tar.gz) = 30e3104406376019bb405382ce548b4b END-of-utcount-freebsd-port/distinfo echo x - utcount-freebsd-port/Makefile sed 's/^X//' >utcount-freebsd-port/Makefile << 'END-of-utcount-freebsd-port/Makefile' X# New ports collection makefile for: utcount X# Date created: May 14 2003 X# Whom: Denis N. Peplin <info@volginfo.ru> X# X# $FreeBSD$ X# X XPORTNAME= utcount XPORTVERSION= 0.1 XCATEGORIES= sysutils net XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR=utcount X XMAINTAINER= info@volginfo.ru X XCOMMENT= Users Traffic Count X X.include <bsd.port.mk> END-of-utcount-freebsd-port/Makefile echo x - utcount-freebsd-port/pkg-descr sed 's/^X//' >utcount-freebsd-port/pkg-descr << 'END-of-utcount-freebsd-port/pkg-descr' XCount traffic from users with dynamic ip addresses. Uses information from Xapplication level (Samba, pppd, etc.) to operate on network level (modify Xipfw or another firewall rules for traffic counting). END-of-utcount-freebsd-port/pkg-descr echo x - utcount-freebsd-port/pkg-plist sed 's/^X//' >utcount-freebsd-port/pkg-plist << 'END-of-utcount-freebsd-port/pkg-plist' X@comment $FreeBSD$ Xbin/count_client Xbin/count_gate Xbin/count_ipa Xbin/count_ipfw Xbin/count_pppd Xbin/count_samba Xbin/count_user Xetc/rc.d/utcount.sh.default X@unexec if [ -f %D/etc/utcount.conf ] && cmp -s %D/etc/utcount.conf %D/etc/utcount.conf.default; then rm -f %D/etc/utcount.conf; fi Xetc/utcount.conf.default X@exec if [ ! -f %D/etc/utcount.conf ] ; then cp -p %D/%F %B/utcount.conf; fi END-of-utcount-freebsd-port/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305141524.32838.info>