mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Allow macOS to search for libkrb5, but disallow system version of library
This commit is contained in:
parent
8f60d37ad0
commit
051c191f63
5 changed files with 13 additions and 9 deletions
|
@ -18,6 +18,7 @@ spicy_ssl_config: &SPICY_SSL_CONFIG --build-type=release --disable-broker-tests
|
|||
asan_sanitizer_config: &ASAN_SANITIZER_CONFIG --build-type=debug --disable-broker-tests --sanitizers=address --enable-fuzzers --enable-coverage --ccache --enable-werror
|
||||
ubsan_sanitizer_config: &UBSAN_SANITIZER_CONFIG --build-type=debug --disable-broker-tests --sanitizers=undefined --enable-fuzzers --ccache --enable-werror
|
||||
tsan_sanitizer_config: &TSAN_SANITIZER_CONFIG --build-type=debug --disable-broker-tests --sanitizers=thread --enable-fuzzers --ccache --enable-werror
|
||||
macos_config: &MACOS_CONFIG --build-type=release --disable-broker-tests --prefix=$CIRRUS_WORKING_DIR/install --ccache --enable-werror --with-krb5=/opt/homebrew/opt/krb5
|
||||
|
||||
resources_template: &RESOURCES_TEMPLATE
|
||||
cpu: *CPUS
|
||||
|
@ -33,6 +34,7 @@ macos_environment: &MACOS_ENVIRONMENT
|
|||
ZEEK_CI_BTEST_JOBS: 12
|
||||
# No permission to write to default location of /zeek
|
||||
CIRRUS_WORKING_DIR: /tmp/zeek
|
||||
ZEEK_CI_CONFIGURE_FLAGS: *MACOS_CONFIG
|
||||
|
||||
freebsd_resources_template: &FREEBSD_RESOURCES_TEMPLATE
|
||||
cpu: 8
|
||||
|
|
|
@ -1087,14 +1087,12 @@ if (LIBMMDB_FOUND)
|
|||
endif ()
|
||||
|
||||
set(USE_KRB5 false)
|
||||
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
find_package(LibKrb5)
|
||||
if (LIBKRB5_FOUND)
|
||||
set(USE_KRB5 true)
|
||||
include_directories(BEFORE ${LibKrb5_INCLUDE_DIR})
|
||||
list(APPEND OPTLIBS ${LibKrb5_LIBRARY})
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
set(HAVE_PERFTOOLS false)
|
||||
set(USE_PERFTOOLS_DEBUG false)
|
||||
|
|
4
NEWS
4
NEWS
|
@ -38,6 +38,10 @@ Changed Functionality
|
|||
published vectors with holes. A reporter error is produced at runtime when
|
||||
serialization of vectors with holes is attempted.
|
||||
|
||||
- Using libkrb5 for Kerberos support is now allowed on macOS. Due to very old age and
|
||||
brokenness, the system version of the library is unsupported and will fail to
|
||||
configure. Use the version from Homebrew or another newer installation.
|
||||
|
||||
Removed Functionality
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ set -x
|
|||
|
||||
brew update
|
||||
brew upgrade cmake
|
||||
brew install cppzmq openssl@3 python@3 swig bison flex ccache libmaxminddb dnsmasq
|
||||
brew install cppzmq openssl@3 python@3 swig bison flex ccache libmaxminddb dnsmasq krb5
|
||||
|
||||
which python3
|
||||
python3 --version
|
||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
|||
Subproject commit fd0696f9077933660f7da5f81978e86b3e967647
|
||||
Subproject commit c63efd65e874d689bb28aab390456b2d96941e15
|
Loading…
Add table
Add a link
Reference in a new issue