Date: Thu, 29 Nov 2012 17:47:18 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173996: Add support for net-mgmt/flow-tools-ng Message-ID: <201211291747.qATHlIDd065487@red.freebsd.org> Resent-Message-ID: <201211291750.qATHo1AK028112@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173996 >Category: ports >Synopsis: Add support for net-mgmt/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: Thu Nov 29 17:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: 10.0-CURRENT r243649 >Organization: >Environment: >Description: Add support for net-mgmt/flow-tools-ng so that flowdumper works with captured flows from a flow-tools-ng collector. >How-To-Repeat: >Fix: Patch attached with submission follows: ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS ../p5-Cflow.orig/Makefile ./Makefile --- ../p5-Cflow.orig/Makefile 2012-11-29 14:33:52.000000000 +0400 +++ ./Makefile 2012-11-29 14:58:16.000000000 +0400 @@ -16,19 +16,30 @@ MAINTAINER= fw@moov.de COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data) -OPTIONS= FLOW_TOOLS "Enable flow-tools support" off +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 .include <bsd.port.pre.mk> -.if defined(WITH_FLOW_TOOLS) +.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" \ "INC= -I${LOCALBASE}/include" "LDLOADLIBS= -L${LOCALBASE}/lib -lft -lz" .endif + PERL_CONFIGURE= YES MAN1= flowdumper.1 ===> Done >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211291747.qATHlIDd065487>