From 2f3600ba29635cc0d536f58f6feea755cc4c7c94 Mon Sep 17 00:00:00 2001 From: Craig Leres Date: Mon, 19 Sep 2022 17:02:32 -0700 Subject: [PATCH] security/zeek: Update to 5.0.2 https://github.com/zeek/zeek/releases/tag/v5.0.2 Security fixes: - Fix a possible overflow and crash in the ICMP analyzer when receiving a specially crafted packet - Fix a possible overflow and crash in the IRC analyzer when receiving a specially crafted packet - Fix a possible overflow and crash in the SMB analyzer when receiving a specially crafted packet - Fix two possible crashes when converting IP headers for output via the raw_packet event Other changes: - Fix a bug that prevented Broker nodes to recover from OpenSSL errors. - Fix handling of buffer sizes that caused Broker to stall despite having sufficient capacity. - Fix an issue with signal handling that could prevent Zeek from exiting via ctrl-c when reading scripts from stdin. Also fix new PR 266345 issue reported by @pkubaj ("fails to build without SPICY enabled"). PR: 266345 Reported by: Tim Wojtulewicz, pkubaj --- security/zeek/Makefile | 8 +++++--- security/zeek/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/security/zeek/Makefile b/security/zeek/Makefile index 5d1c6d83cef5..1b77ef4e8881 100644 --- a/security/zeek/Makefile +++ b/security/zeek/Makefile @@ -1,5 +1,5 @@ PORTNAME= zeek -DISTVERSION= 5.0.1 +DISTVERSION= 5.0.2 CATEGORIES= security MASTER_SITES= https://download.zeek.org/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -143,6 +143,10 @@ post-install-ZEEKCTL-on: post-install: ${MV} ${STAGEDIR}${DATADIR}/site/local.zeek \ ${STAGEDIR}${DATADIR}/site/local.zeek.sample + @${RM} -rf ${STAGEDIR}${PREFIX}/var + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/zeek-cut + +post-install-SPICY-on: @${RM} -rf ${STAGEDIR}${PREFIX}/include/hilti/rt/3rdparty/SafeInt/Archive @${RM} -rf ${STAGEDIR}${PREFIX}/include/hilti/rt/3rdparty/SafeInt/Test @${RMDIR} ${STAGEDIR}${PREFIX}/include/zeek/builtin-plugins/spicy-plugin/bin @@ -153,8 +157,6 @@ post-install: @${RM} -rf ${STAGEDIR}${PREFIX}/include/zeek/builtin-plugins/spicy-plugin/tests @${RMDIR} ${STAGEDIR}${PREFIX}/include/zeek/script_opt/CPP/maint @${RMDIR} ${STAGEDIR}${PREFIX}/lib/zeek-spicy/modules - @${RM} -rf ${STAGEDIR}${PREFIX}/var - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/zeek-cut pre-install-ZEEKCTL-on: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d diff --git a/security/zeek/distinfo b/security/zeek/distinfo index 17637f2c4d62..daab55b95599 100644 --- a/security/zeek/distinfo +++ b/security/zeek/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1661549081 -SHA256 (zeek-5.0.1.tar.gz) = 3cd43ae446200e7e59a89a9bf8190d964f3198e517f5d4be9cc1daba67ba0b81 -SIZE (zeek-5.0.1.tar.gz) = 42671364 +TIMESTAMP = 1663625469 +SHA256 (zeek-5.0.2.tar.gz) = 7089fcc06d13803fc7ce19fdc49f96183efd797be3a4fdca083240b9b46e1d2f +SIZE (zeek-5.0.2.tar.gz) = 42671023 SHA256 (zeek-zeek-netmap-v2.0.0_GH0.tar.gz) = d37a69babfbb62a51a2413d6b83ae792ce1e7f1ccb1d51bd6b209a10fe5c4d75 SIZE (zeek-zeek-netmap-v2.0.0_GH0.tar.gz) = 9100