aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Leres <leres@FreeBSD.org>2021-06-24 02:05:45 +0000
committerCraig Leres <leres@FreeBSD.org>2021-06-24 02:05:45 +0000
commitfbc07756268d7f9c368e70e14f876b96d521354f (patch)
tree36a248eaf41d6a8fa87b427d6b056e8ff5758d1d
parent8219c84586becc6fab30d62c560cc517cff59039 (diff)
downloadports-fbc07756268d7f9c368e70e14f876b96d521354f.tar.gz
ports-fbc07756268d7f9c368e70e14f876b96d521354f.zip
security/zeek: Add a ZKG option to pull in py-zkg
-rw-r--r--security/zeek/Makefile12
1 files 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 <bsd.port.options.mk>