From fbc07756268d7f9c368e70e14f876b96d521354f Mon Sep 17 00:00:00 2001 From: Craig Leres Date: Wed, 23 Jun 2021 19:05:45 -0700 Subject: [PATCH] security/zeek: Add a ZKG option to pull in py-zkg --- security/zeek/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/security/zeek/Makefile b/security/zeek/Makefile index 428551c714ce..451d9e504eb8 100644 --- a/security/zeek/Makefile +++ b/security/zeek/Makefile @@ -2,6 +2,7 @@ PORTNAME= zeek PORTVERSION= 4.0.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://download.zeek.org/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -45,20 +46,21 @@ CMAKE_ARGS+= -GNinja \ ZEEKUSER?= zeek ZEEKGROUP?= zeek PLIST_SUB+= ARCH=${UNAME_M} \ - ZEEKUSER=${ZEEKUSER} \ + LCASE_OPSYS=${OPSYS:tl} \ ZEEKGROUP=${ZEEKGROUP} \ - LCASE_OPSYS=${OPSYS:tl} + ZEEKUSER=${ZEEKUSER} USERS= ${ZEEKUSER} GROUPS= ${ZEEKGROUP} -OPTIONS_DEFINE= BROKER GEOIP2 IPSUMDUMP LBL_CF LBL_HF NETMAP PERFTOOLS ZEEKCTL +OPTIONS_DEFINE= BROKER GEOIP2 IPSUMDUMP LBL_CF LBL_HF NETMAP PERFTOOLS \ + ZEEKCTL ZKG OPTIONS_SINGLE= BUILD_TYPE OPTIONS_SINGLE_BUILD_TYPE= DEBUG MINSIZEREL RELEASE RELWITHDEBINFO OPTIONS_DEFAULT= BROKER GEOIP2 IPSUMDUMP LBL_CF LBL_HF NETMAP RELEASE \ - ZEEKCTL + ZEEKCTL ZKG OPTIONS_SUB= yes BROKER_DESC= Enable the Broker communication library @@ -73,6 +75,7 @@ PERFTOOLS_DESC= Use Perftools to improve memory & CPU usage RELEASE_DESC= Optimizations on, debug symbols/flags off RELWITHDEBINFO_DESC= Optimizations/debug symbols on, debug flags off ZEEKCTL_DESC= ZeekControl support (implies BROKER and IPSUMDUMP) +ZKG_DESC= Zeek package manager support ZEEKCTL_IMPLIES= BROKER IPSUMDUMP @@ -95,6 +98,7 @@ ZEEKCTL_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ ZEEKCTL_CMAKE_BOOL= INSTALL_ZEEKCTL ZEEKCTL_RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} +ZKG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zkg>=2.7.1:security/py-zkg@${PY_FLAVOR} \ .include