New port: pmacct
Network tool to gather IP traffic information. PR: 51979 Submitted by: Kirill Ponomarew
This commit is contained in:
parent
31af44656c
commit
eef97b97cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80833
32
net-mgmt/pmacct/Makefile
Normal file
32
net-mgmt/pmacct/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: pmacct
|
||||
# Date created: Thu May 8 16:03:11 CEST 2003
|
||||
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pmacct
|
||||
PORTVERSION= 0.4.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/
|
||||
|
||||
MAINTAINER= ponomarew@oberon.net
|
||||
COMMENT= Network tool to gather IP traffic information
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-mysql-includes=${LOCALBASE}/include/mysql \
|
||||
--enable-mysql
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-mysql
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
net-mgmt/pmacct/distinfo
Normal file
1
net-mgmt/pmacct/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pmacct-0.4.1.tar.gz) = 67c786bde193b027be6083348e43f901
|
10
net-mgmt/pmacct/pkg-descr
Normal file
10
net-mgmt/pmacct/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
pmacct is a network tool to gather IP traffic information (bytes counter and
|
||||
number of packets). Aggregation of statistics is done either by looking at
|
||||
destination, source, both source and destination, or unidirectional IP flows.
|
||||
Data is stored in an in-memory table or using an 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 an SQL client. Gathering packets off the wire is done with the pcap library
|
||||
and promiscuous mode of one or more network interfaces.
|
||||
|
||||
WWW: http://www.ba.cnr.it/~paolo/pmacct/
|
2
net-mgmt/pmacct/pkg-plist
Normal file
2
net-mgmt/pmacct/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/pmacct
|
||||
bin/pmacctd
|
@ -500,6 +500,7 @@
|
||||
SUBDIR += pim6sd
|
||||
SUBDIR += pipsecd
|
||||
SUBDIR += plb
|
||||
SUBDIR += pmacct
|
||||
SUBDIR += pmf
|
||||
SUBDIR += poink
|
||||
SUBDIR += poptop
|
||||
|
32
net/pmacct/Makefile
Normal file
32
net/pmacct/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: pmacct
|
||||
# Date created: Thu May 8 16:03:11 CEST 2003
|
||||
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pmacct
|
||||
PORTVERSION= 0.4.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/
|
||||
|
||||
MAINTAINER= ponomarew@oberon.net
|
||||
COMMENT= Network tool to gather IP traffic information
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-mysql-includes=${LOCALBASE}/include/mysql \
|
||||
--enable-mysql
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-mysql
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/pmacct/distinfo
Normal file
1
net/pmacct/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pmacct-0.4.1.tar.gz) = 67c786bde193b027be6083348e43f901
|
10
net/pmacct/pkg-descr
Normal file
10
net/pmacct/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
pmacct is a network tool to gather IP traffic information (bytes counter and
|
||||
number of packets). Aggregation of statistics is done either by looking at
|
||||
destination, source, both source and destination, or unidirectional IP flows.
|
||||
Data is stored in an in-memory table or using an 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 an SQL client. Gathering packets off the wire is done with the pcap library
|
||||
and promiscuous mode of one or more network interfaces.
|
||||
|
||||
WWW: http://www.ba.cnr.it/~paolo/pmacct/
|
2
net/pmacct/pkg-plist
Normal file
2
net/pmacct/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/pmacct
|
||||
bin/pmacctd
|
Loading…
Reference in New Issue
Block a user