Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2021 02:06:58 GMT
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fbc07756268d - main - security/zeek: Add a ZKG option to pull in py-zkg
Message-ID:  <202106240206.15O26wjT034900@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fbc07756268d7f9c368e70e14f876b96d521354f

commit fbc07756268d7f9c368e70e14f876b96d521354f
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2021-06-24 02:05:45 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2021-06-24 02:05:45 +0000

    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 <bsd.port.options.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106240206.15O26wjT034900>