Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 17:48:14 +0300 (MSK)
From:      Charlie Root <root@ns.grand-prix.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/35859: New port: Network traffic accounting daemon
Message-ID:  <200203131448.g2DEmEL19656@ns.grand-prix.ru>

next in thread | raw e-mail | index | archive | help

>Number:         35859
>Category:       ports
>Synopsis:       New port: Network traffic accounting daemon
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 06:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ns.grand-prix.ru 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
	New port: Network traffic accounting daemon
>How-To-Repeat:
	
>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:
#
#	netacct
#	netacct/Makefile
#	netacct/pkg-plist
#	netacct/pkg-descr
#	netacct/pkg-comment
#	netacct/distinfo
#
echo c - netacct
mkdir -p netacct > /dev/null 2>&1
echo x - netacct/Makefile
sed 's/^X//' >netacct/Makefile << 'END-of-netacct/Makefile'
X# New ports collection makefile for: NetAcct-mySQL
X# Date created:        11 February 2002
X# Whom:                Andrey A. Tutolmin <netacct@gptel.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	netacct
XPORTVERSION=	0.73.r4
XCATEGORIES=	net
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}/netacct-mysql/ \
X		http://netacct.gptel.ru/
XPKGNAMESUFFIX=	mysql
XDISTNAME=	netacct-mysql-0.73rc4
X
XPATCH_SITES=    http://netacct.gptel.ru/
XPATCHFILES=	netacct-mysql-0.73rc4p1.patch
X
XMAINTAINER=	netacct@gptel.ru
X
X#LIB_DEPENDS=    mysqlclient:${PORTSDIR}/databases/mysql323-server:install
X
XHAS_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
X#STARTUP_FILE=	${PREFIX}/etc/rc.d/nacctd.sh
X
X#post-install:
X#	@if [ ! -f ${STARTUP_FILE} ]; then \
X#		${ECHO} "Creating ${PREFIX}/etc/rc.d/nacctd.sh startup file."; \
X#		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/contrib/nacctd.sh.bsd ${STARTUP_FILE}; \
X#	 fi
X
X.include <bsd.port.mk>
END-of-netacct/Makefile
echo x - netacct/pkg-plist
sed 's/^X//' >netacct/pkg-plist << 'END-of-netacct/pkg-plist'
Xsbin/nacctd
Xetc/naccttab
Xetc/nacctpeering
END-of-netacct/pkg-plist
echo x - netacct/pkg-descr
sed 's/^X//' >netacct/pkg-descr << 'END-of-netacct/pkg-descr'
XThis application is patched version of original net-acct
Xwritten by Ulrich Callmeier (find it at freshmeat).
XIt is a network traffic monitor which can log traffic
Xgenerated by a specific network (incoming/outgoing).
XIn fact it works like sniffer,
Xputs network interface in PROMISCIUOS mode and collects traffic.
XNow it uses libpcap.
X
XFeatures:
X* Accounting data is written in mySQL database instead of file.
X* New autoconf support
X* Now uses libpcap
X* PHP web interface
X
XInformation about this software can be found here:
X
XWWW: http://netacct-mysql.sourceforge.net/
X
XPlease report any problems or improvements to me.
X
X--
X
XAndrey A. Tutolmin
Xnetacct@gptel.ru
END-of-netacct/pkg-descr
echo x - netacct/pkg-comment
sed 's/^X//' >netacct/pkg-comment << 'END-of-netacct/pkg-comment'
XNetwork traffic accounting daemon
END-of-netacct/pkg-comment
echo x - netacct/distinfo
sed 's/^X//' >netacct/distinfo << 'END-of-netacct/distinfo'
XMD5 (netacct-mysql-0.73rc4.tar.gz) = 659b2965862e25645b98ee659f477914
XMD5 (netacct-mysql-0.73rc4p1.patch) = aac60a34f1d7ead9329b3ff30814ed57
END-of-netacct/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203131448.g2DEmEL19656>