ports/51979: New port: net/pmacct

Kirill Ponomarew ponomarew at oberon.net
Thu May 8 15:50:13 UTC 2003


>Number:         51979
>Category:       ports
>Synopsis:       New port: net/pmacct
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 08:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: net/pmacct

pmacct is a network tool to gather ip traffic informations
(bytes counter and number of packets); aggregation of
statistics is done either by looking destination, source, both
source and destination or unidirectional ip flows; data is
stored in a in-memory table or using a sql database (currently
only Mysql). The content of these tables can be later retrieved
by a client program via a local stream oriented connection (for
simple output or export to MRTG) or via a sql client. Gathering
packets off the wire is done using pcap library and promiscuous
mode of network interfaces (one or more).

>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:
#
#	net/pmacct/Makefile
#	net/pmacct/distinfo
#	net/pmacct/pkg-descr
#	net/pmacct/pkg-plist
#
echo x - net/pmacct/Makefile
sed 's/^X//' >net/pmacct/Makefile << 'END-of-net/pmacct/Makefile'
X# New ports collection makefile for: 	pmacct
X# Date created:       	Thu May  8 16:03:11 CEST 2003
X# Whom:                Kirill Ponomarew <ponomarew at oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pmacct
XPORTVERSION=	0.4.1
XCATEGORIES=	net
XMASTER_SITES=	http://www.ba.cnr.it/~paolo/pmacct/
XPKGNAMESUFFIX=	-pre1
XDISTNAME=	${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
X
XMAINTAINER=	ponomarew at oberon.net
XCOMMENT=	Network tool to gather IP traffic information
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XGNU_CONFIGURE=	yes
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
X
X.if defined(WITH_MYSQL)
XLIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
XCONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
X		--with-mysql-includes=${LOCALBASE}/include/mysql \
X		--enable-mysql
X.else
XCONFIGURE_ARGS+=	--disable-mysql
X.endif
X
X.include <bsd.port.mk>
END-of-net/pmacct/Makefile
echo x - net/pmacct/distinfo
sed 's/^X//' >net/pmacct/distinfo << 'END-of-net/pmacct/distinfo'
XMD5 (pmacct-0.4.1-pre1.tar.gz) = 67c786bde193b027be6083348e43f901
END-of-net/pmacct/distinfo
echo x - net/pmacct/pkg-descr
sed 's/^X//' >net/pmacct/pkg-descr << 'END-of-net/pmacct/pkg-descr'
Xpmacct is a network tool to gather IP traffic information (bytes counter and
Xnumber of packets). Aggregation of statistics is done either by looking at
Xdestination, source, both source and destination, or unidirectional IP flows.
XData is stored in an in-memory table or using an SQL database (currently only
XMySQL). The content of these tables can be later retrieved by a client program
Xvia a local stream-oriented connection (for simple output or export to MRTG) or
Xvia an SQL client. Gathering packets off the wire is done with the pcap library
Xand promiscuous mode of one or more network interfaces.
X
XWWW: http://www.ba.cnr.it/~paolo/pmacct/ 
END-of-net/pmacct/pkg-descr
echo x - net/pmacct/pkg-plist
sed 's/^X//' >net/pmacct/pkg-plist << 'END-of-net/pmacct/pkg-plist'
Xbin/pmacct
Xbin/pmacctd
END-of-net/pmacct/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list