1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

security/bro: add ELASTICSEARCH option

PR:		198018
Submitted by:	Craig Leres <leres@ee.lbl.gov>
This commit is contained in:
Bartek Rutkowski 2015-03-04 14:21:29 +00:00
parent 6d76b9ffa8
commit 4417174b50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380437

View File

@ -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