diff options
author | Bartek Rutkowski <robak@FreeBSD.org> | 2015-03-04 14:21:29 +0000 |
---|---|---|
committer | Bartek Rutkowski <robak@FreeBSD.org> | 2015-03-04 14:21:29 +0000 |
commit | 4417174b504ae981f3bfb43426c2eae2956ae1d1 (patch) | |
tree | 836ce8cb5f2724b4989485e4ab8924a0dd142e4e /security/bro | |
parent | 6d76b9ffa80e010e0b907447250009c0019b3352 (diff) | |
download | ports-4417174b504ae981f3bfb43426c2eae2956ae1d1.tar.gz ports-4417174b504ae981f3bfb43426c2eae2956ae1d1.zip |
Notes
Diffstat (limited to 'security/bro')
-rw-r--r-- | security/bro/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/security/bro/Makefile b/security/bro/Makefile index bd427d72ce35..5621eaf72902 100644 --- a/security/bro/Makefile +++ b/security/bro/Makefile @@ -41,19 +41,21 @@ CMAKE_ARGS+= -D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ BROUSER?= bro BROGROUP?= bro -PLIST_SUB+= BROUSER="$(BROUSER)" BROGROUP="$(BROGROUP)" +PLIST_SUB+= BROUSER=${BROUSER} \ + BROGROUP=${BROGROUP} USERS= ${BROUSER} GROUPS= ${BROGROUP} USE_OPENSSL= yes -OPTIONS_DEFINE= BROCCOLI BROCTL DEBUG IPSUMDUMP LBL_CF LBL_HF PERFTOOLS PORTS_SSL +OPTIONS_DEFINE= BROCCOLI BROCTL DEBUG ELASTICSEARCH IPSUMDUMP LBL_CF LBL_HF PERFTOOLS PORTS_SSL OPTIONS_DEFAULT=BROCCOLI BROCTL IPSUMDUMP LBL_CF LBL_HF PORTS_SSL BROCCOLI_DESC= Build support for libbroccoli communications BROCTL_DESC= Build BroControl support (requires BROCCOLI) DEBUG_DESC= Compile in debugging mode +ELASTICSEARCH_DESC= Build the ElasticSearch log writer (requires curl) IPSUMDUMP_DESC= Enables traffic summaries LBL_CF_DESC= Unix time to formated time/date filter support LBL_HF_DESC= Address to hostname filter support @@ -94,6 +96,13 @@ CMAKE_ARGS+= -D INSTALL_BROCTL:BOOL=false PLIST_SUB+= BROCTL="@comment " .endif +.if ${PORT_OPTIONS:MELASTICSEARCH} +CMAKE_ARGS+= -D DISABLE_ELASTICSEARCH:BOOL=false +LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl +.else +CMAKE_ARGS+= -D DISABLE_ELASTICSEARCH:BOOL=true +.endif + .if ${PORT_OPTIONS:MDEBUG} CMAKE_ARGS+= -D ENABLE_DEBUG:BOOL=true .else |