ports/62982: New port net/ng_netflow

Gleb Smirnoff glebius at cell.sick.ru
Tue Feb 17 21:10:09 UTC 2004


>Number:         62982
>Category:       ports
>Synopsis:       New port net/ng_netflow
>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:   Tue Feb 17 13:10:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Oilspace, Inc.
>Environment:
System: FreeBSD cell.sick.ru 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 19 10:22:46 MSD 2003 root at fade.bestcom.ru:/usr/obj/usr/src/sys/NUCLEUS i386

>Description:

	ng_netflow is netgraph node, which implements Cisco's Netflow
	version 5 export protocol. It makes possible to insert easily
	FreeBSD routers into Cisco based routing infrastructure.

>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:
#
#	ng_netflow/
#	ng_netflow/Makefile
#	ng_netflow/distinfo
#	ng_netflow/pkg-descr
#	ng_netflow/pkg-message
#	ng_netflow/pkg-plist
#
echo c - ng_netflow/
mkdir -p ng_netflow/ > /dev/null 2>&1
echo x - ng_netflow/Makefile
sed 's/^X//' >ng_netflow/Makefile << 'END-of-ng_netflow/Makefile'
X# New ports collection makefile for:	ng_netflow
X# Date Created:				Feb 17, 2003
X# Whom:					Gleb Smirnoff <glebius at cell.sick.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ng_netflow
XPORTVERSION=	0.2.1
XCATEGORIES=	net
XMASTER_SITES=	http://cell.sick.ru/~glebius/ \
X		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	ng-netflow
X
XMAINTAINER=	glebius at cell.sick.ru
XCOMMENT=	Netgraph node implementing Cisco (c) netflow
X
XNO_PACKAGE=	Should be in sync with the kernel to work correctly
X
XPLIST_SUB=	KMODDIR=${KMODDIR}
X
Xpre-fetch:
X.if !exists(${SRC_BASE}/sys/Makefile)
X	@${ECHO} "*************************************************"; \
X	${ECHO}  "This port requires the kernel source be available"; \
X	${ECHO}  "*************************************************"; \
X	exit 1
X.endif
X
X.include <bsd.port.mk>
END-of-ng_netflow/Makefile
echo x - ng_netflow/distinfo
sed 's/^X//' >ng_netflow/distinfo << 'END-of-ng_netflow/distinfo'
XMD5 (ng_netflow-0.2.1.tar.gz) = 20463c26c92889a8048be0dc3dcfb41f
END-of-ng_netflow/distinfo
echo x - ng_netflow/pkg-descr
sed 's/^X//' >ng_netflow/pkg-descr << 'END-of-ng_netflow/pkg-descr'
X  The ng_netflow node implements Cisco's Netflow (c) version 5 protocol
Xon router running FreeBSD.  ng_netflow listens for incoming traffic and
Xidentifies unique flows in it. Flows are distinguished by endpoint IP
Xaddresses, TCP/UDP port numbers and ToS. Expired flows are exported out
Xof the node.
X  All operation is done in kernel: both traffic capturing and export
Xdatagram generation. Exported data contaion almost all Netflow version 5
Xfields, except of AS numbers.
X
XWWW: http://www.sourceforge.net/projects/ng-netflow
X
X--
XGleb Smirnoff
X<glebius at cell.sick.ru>
END-of-ng_netflow/pkg-descr
echo x - ng_netflow/pkg-message
sed 's/^X//' >ng_netflow/pkg-message << 'END-of-ng_netflow/pkg-message'
X
X*******************************************************************************
X* This port contains a prebuilt kernel module. Due to the ever changing       *
X* nature of FreeBSD it may be necessary to rebuild the module after a kernel  *
X* source update.  To do this reinstall the port.                              *
X*******************************************************************************
END-of-ng_netflow/pkg-message
echo x - ng_netflow/pkg-plist
sed 's/^X//' >ng_netflow/pkg-plist << 'END-of-ng_netflow/pkg-plist'
X at cwd /
X%%KMODDIR%%/ng_netflow.ko
X at cwd /usr/local
Xsbin/flowctl
Xman/man4/ng_netflow.4.gz
Xman/man8/flowctl.8.gz
END-of-ng_netflow/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list