From 2f48229f2847d523814cc5423ba242d66e4bc435 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 14 Apr 2025 14:35:43 -0700 Subject: [PATCH 1/2] Switch libkrb5 check to exclude only Darwin --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bb53bcb3c..8bcb86bd1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1060,7 +1060,7 @@ if (LIBMMDB_FOUND) endif () set(USE_KRB5 false) -if (${CMAKE_SYSTEM_NAME} MATCHES Linux) +if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") find_package(LibKrb5) if (LIBKRB5_FOUND) set(USE_KRB5 true) From 22a8c357347c7b5567f1d6409c3a83cf76377de3 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 14 Apr 2025 15:15:05 -0700 Subject: [PATCH 2/2] CI: Add krb5 to FreeBSD --- ci/freebsd/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/freebsd/prepare.sh b/ci/freebsd/prepare.sh index 5fc425ddf4..9f3041e6b5 100755 --- a/ci/freebsd/prepare.sh +++ b/ci/freebsd/prepare.sh @@ -6,7 +6,7 @@ set -e set -x env ASSUME_ALWAYS_YES=YES pkg bootstrap -pkg install -y bash cppzmq git cmake swig bison python3 base64 flex ccache jq dnsmasq +pkg install -y bash cppzmq git cmake swig bison python3 base64 flex ccache jq dnsmasq krb5 pkg upgrade -y curl pyver=$(python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")') pkg install -y $pyver-sqlite3