ports/52218: New port: Set of scripts for counting traffic per user on network level

Denis N. Peplin info at volginfo.ru
Wed May 14 11:30:19 UTC 2003


>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 at 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 at 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 at 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 at 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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list