git: b6a8929a2551 - main - security/zeek: add shebangfix to zeek-client, fix pkg-plist

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 29 Aug 2023 15:00:36 UTC
The branch main has been updated by pkubaj:

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

commit b6a8929a25512556f724fde80df83c1f09bfabb6
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-29 14:25:27 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-29 14:25:27 +0000

    security/zeek: add shebangfix to zeek-client, fix pkg-plist
    
    Noticed while building on powerpc64.
---
 security/zeek/Makefile  |  3 ++-
 security/zeek/pkg-plist | 12 +++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index 756b8dec7838..1e50c9e7d409 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -30,7 +30,8 @@ PORTSCOUT=	limit:^[0-9]*\.0\.
 
 CXXFLAGS_powerpc64=	-mpower8-vector
 
-SHEBANG_FILES=	auxil/zeekctl/auxil/trace-summary/trace-summary
+SHEBANG_FILES=	auxil/zeekctl/auxil/trace-summary/trace-summary \
+		auxil/zeek-client/zeek-client
 
 SUB_FILES=	pkg-message
 NO_MTREE=	yes
diff --git a/security/zeek/pkg-plist b/security/zeek/pkg-plist
index 2077fe07d674..2480afafbdbf 100644
--- a/security/zeek/pkg-plist
+++ b/security/zeek/pkg-plist
@@ -697,6 +697,7 @@ include/zeek/analyzer/protocol/dns/events.bif.h
 include/zeek/analyzer/protocol/file/File.h
 include/zeek/analyzer/protocol/file/events.bif.h
 include/zeek/analyzer/protocol/finger/legacy/Finger.h
+include/zeek/analyzer/protocol/finger/legacy/events.bif.h
 include/zeek/analyzer/protocol/ftp/FTP.h
 include/zeek/analyzer/protocol/ftp/events.bif.h
 include/zeek/analyzer/protocol/ftp/functions.bif.h
@@ -942,6 +943,7 @@ include/zeek/analyzer/protocol/ssl/tls-handshake-signed_certificate_timestamp.pa
 include/zeek/analyzer/protocol/ssl/tls-handshake.pac
 include/zeek/analyzer/protocol/ssl/types.bif.h
 include/zeek/analyzer/protocol/syslog/legacy/Syslog.h
+include/zeek/analyzer/protocol/syslog/legacy/events.bif.h
 include/zeek/analyzer/protocol/syslog/legacy/syslog-analyzer.pac
 include/zeek/analyzer/protocol/syslog/legacy/syslog-protocol.pac
 include/zeek/analyzer/protocol/syslog/legacy/syslog.pac
@@ -1169,8 +1171,8 @@ include/zeek/spicy/packet-analyzer.h
 include/zeek/spicy/port-range.h
 include/zeek/spicy/protocol-analyzer.h
 include/zeek/spicy/runtime-support.h
-include/zeek/spicy/spicy.bif.h
-include/zeek/spicy/spicyz/config.h
+%%SPICY%%include/zeek/spicy/spicy.bif.h
+%%SPICY%%include/zeek/spicy/spicyz/config.h
 include/zeek/spicy/spicyz/driver.h
 include/zeek/spicy/spicyz/glue-compiler.h
 include/zeek/stats.bif.func_h
@@ -1233,6 +1235,7 @@ lib/libparaglob.a
 %%SPICY%%lib/libspicy-rt-debug.a
 %%SPICY%%lib/libspicy-rt.a
 %%SPICY%%lib/libspicy.so
+@dir lib/%%ZEEKUSER%%/plugins
 lib/zeek/python/SubnetTree.py
 lib/zeek/python/_SubnetTree.so
 lib/zeek/python/broker/__init__.py
@@ -1364,6 +1367,7 @@ share/btest/scripts/spicy/diff-sort
 %%DATADIR%%/base/bif/plugins/Zeek_FileExtract.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_FileExtract.functions.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_FileHash.events.bif.zeek
+%%DATADIR%%/base/bif/plugins/Zeek_Finger.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_GSSAPI.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_GTPv1.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_GTPv1.functions.bif.zeek
@@ -1448,6 +1452,7 @@ share/btest/scripts/spicy/diff-sort
 %%DATADIR%%/base/bif/plugins/Zeek_SSL.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_SSL.functions.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_SSL.types.bif.zeek
+%%DATADIR%%/base/bif/plugins/Zeek_Syslog.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_TCP.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_TCP.functions.bif.zeek
 %%DATADIR%%/base/bif/plugins/Zeek_TCP.types.bif.zeek
@@ -1462,7 +1467,7 @@ share/btest/scripts/spicy/diff-sort
 %%DATADIR%%/base/bif/plugins/Zeek_XMPP.events.bif.zeek
 %%DATADIR%%/base/bif/plugins/__load__.zeek
 %%DATADIR%%/base/bif/reporter.bif.zeek
-%%DATADIR%%/base/bif/spicy.bif.zeek
+%%SPICY%%%%DATADIR%%/base/bif/spicy.bif.zeek
 %%DATADIR%%/base/bif/stats.bif.zeek
 %%DATADIR%%/base/bif/store.bif.zeek
 %%DATADIR%%/base/bif/strings.bif.zeek
@@ -2044,6 +2049,7 @@ share/btest/scripts/spicy/diff-sort
 %%DATADIR%%/policy/tuning/defaults/warnings.zeek
 %%DATADIR%%/policy/tuning/json-logs.zeek
 %%DATADIR%%/policy/tuning/track-all-assets.zeek
+@dir %%DATADIR%%/spicy
 @sample %%DATADIR%%/site/local.zeek.sample
 %%SPICY%%share/zeek/spicy/zeek.spicy
 %%SPICY%%share/zeek/spicy/zeek_file.spicy