zeek: update to 3.2.0.

This commit is contained in:
Andrew Benson 2020-08-11 15:26:00 -05:00 committed by Andrew Benson
parent 30ae2cce6e
commit aeb061e883
3 changed files with 7 additions and 44 deletions

View File

@ -3624,9 +3624,9 @@ libupstart.so.1 libupstart-1.13.3_1
librtas.so.2 librtas-2.0.2_1 librtas.so.2 librtas-2.0.2_1
librtasevent.so.2 librtas-2.0.2_1 librtasevent.so.2 librtas-2.0.2_1
libbroker.so.2 zeek-3.1.1_1 libbroker.so.2 zeek-3.1.1_1
libcaf_core.so.0.17.4 zeek-3.1.1_1 libcaf_core.so.0.17.6 zeek-3.2.0_1
libcaf_io.so.0.17.4 zeek-3.1.1_1 libcaf_io.so.0.17.6 zeek-3.2.0_1
libcaf_openssl.so.0.17.4 zeek-3.1.1_1 libcaf_openssl.so.0.17.6 zeek-3.2.0_1
libbinpac.so.0 zeek-3.1.1_1 libbinpac.so.0 zeek-3.1.1_1
libllhttp.so.1 llhttp-1.0.1_1 libllhttp.so.1 llhttp-1.0.1_1
libpinyin.so.13 libpinyin-2.2.1_1 libpinyin.so.13 libpinyin-2.2.1_1

View File

@ -1,37 +0,0 @@
From 7e5f9b857eb78c4c17a1321a5a5a55bb4afcf2c9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson@gmail.com>
Date: Tue, 16 Jun 2020 17:59:44 -0500
Subject: [PATCH] cmake: Make musl support more distro agnostic
---
CMakeLists.txt | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git CMakeLists.txt CMakeLists.txt
index 9e6d5c73cb..3efae8fa6b 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -334,18 +334,11 @@ include_directories(BEFORE ${OPENSSL_INCLUDE_DIR})
# Make everyone find the highwayhash includes
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/auxil/highwayhash)
-# Alpine support
-if ( ${CMAKE_SYSTEM_NAME} MATCHES Linux AND EXISTS /etc/os-release )
- execute_process(
- COMMAND grep -q alpine /etc/os-release
- RESULT_VARIABLE os_release_alpine
- )
-
- if ( os_release_alpine EQUAL 0 )
- find_package(FTS REQUIRED)
- list(APPEND OPTLIBS ${FTS_LIBRARY})
- include_directories(BEFORE ${FTS_INCLUDE_DIR})
- endif ()
+# Determine if libfts is external to libc, i.e. musl
+find_package(FTS)
+if ( FTS_FOUND )
+ list(APPEND OPTLIBS ${FTS_LIBRARY})
+ include_directories(BEFORE ${FTS_INCLUDE_DIR})
endif ()
set(zeekdeps ${zeekdeps}

View File

@ -1,6 +1,6 @@
# Template file for 'zeek' # Template file for 'zeek'
pkgname=zeek pkgname=zeek
version=3.1.5 version=3.2.0
revision=1 revision=1
archs="x86_64* i686* aarch64* armv7* ppc64*" archs="x86_64* i686* aarch64* armv7* ppc64*"
build_style=cmake build_style=cmake
@ -12,7 +12,7 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://www.zeek.org" homepage="https://www.zeek.org"
distfiles="https://old.zeek.org/downloads/zeek-${version}.tar.gz" distfiles="https://old.zeek.org/downloads/zeek-${version}.tar.gz"
checksum=b944e8d47ac435bf83ba61cbfb66ce49eb11ca2fbbde1dc2bae638097ae399e7 checksum=af3ee5635140a54d305667983d38ea28f36457c9f2f8727e90ea3ef00b22c44f
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-fts-devel musl-legacy-compat" makedepends+=" musl-fts-devel musl-legacy-compat"
@ -28,8 +28,8 @@ pre_configure() {
cmake .. cmake ..
make ${makejobs} binpac bifcl make ${makejobs} binpac bifcl
configure_args+=" configure_args+="
-DBIFCL_EXE_PATH:PATH=${wrksrc}/native/aux/bifcl/bifcl -DBIFCL_EXE_PATH:PATH=${wrksrc}/native/auxil/bifcl/bifcl
-DBINPAC_EXE_PATH:PATH=${wrksrc}/native/aux/binpac/src/binpac" -DBINPAC_EXE_PATH:PATH=${wrksrc}/native/auxil/binpac/src/binpac"
cd .. cd ..
fi fi
} }