ports/183901: [PATCH] net-mgmt/p5-Cflow: Add support for flow-tools-ng
Sevan Janiyan
venture37 at geeklan.co.uk
Tue Nov 12 15:40:01 UTC 2013
>Number: 183901
>Category: ports
>Synopsis: [PATCH] net-mgmt/p5-Cflow: Add support for flow-tools-ng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 12 15:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
Dream Industries
>Environment:
System: FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #19 r257886: Sat Nov 9 17:10:58
>Description:
Add support for net-mgmt/flow-tools-ng so that flowdumper works with captured flows from a flow-tools-ng collector.
Change a tab to a space after WWW in pkg-descr (raised by portlint)
Port maintainer (fw at moov.de) is cc'd.
Generated with FreeBSD Port Tools 0.99_10 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- p5-Cflow-1.053_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 333580)
+++ Makefile (working copy)
@@ -12,8 +12,10 @@
MAINTAINER= fw at moov.de
COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data)
-OPTIONS_DEFINE= FLOW_TOOLS
+OPTIONS_SINGLE= FT
+OPTIONS_SINGLE_FT= FLOW_TOOLS FLOW_TOOLS_NG
FLOW_TOOLS_DESC= Enable flow-tools support
+FLOW_TOOLS_NG_DESC= Enable flow-tools-ng support
USES= perl5
USE_PERL5= configure
@@ -24,7 +26,14 @@
.if ${PORT_OPTIONS:MFLOW_TOOLS}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
RUN_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
+.endif
+.if ${PORT_OPTIONS:MFLOW_TOOLS_NG}
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools-ng
+RUN_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools-ng
+.endif
+
+.if ${PORT_OPTIONS:MFLOW_TOOLS}||${PORT_OPTIONS:MFLOW_TOOLS_NG}
CFLAGS+= -I${LOCALBASE}/include -DOSU
CONFIGURE_ARGS+= \
"LDDLFLAGS= -shared -L${LOCALBASE}/lib -lft -lz" \
Index: pkg-descr
===================================================================
--- pkg-descr (revision 333580)
+++ pkg-descr (working copy)
@@ -1,4 +1,4 @@
Cflow is a perl module for analyzing raw flow files written by
cflowd, a package used to collect Cisco NetFlow data.
-WWW: http://net.doit.wisc.edu/~plonka/Cflow/
+WWW: http://net.doit.wisc.edu/~plonka/Cflow/
--- p5-Cflow-1.053_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list