From da593e7aaa8f5b9f59df0be501dc54d7e2fd6b33 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Thu, 7 Jun 2018 13:56:02 -0500 Subject: [PATCH] GH-131: disable krb ticket decryption on non-Linux A test case fails on macOS and FreeBSD fails to build. --- CHANGES | 4 ++++ CMakeLists.txt | 10 ++++++---- VERSION | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 188dd6439c..cb297c3b31 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ +2.5-652 | 2018-06-07 13:57:23 -0500 + + * GH-131: disable krb ticket decryption on non-Linux (Corelight) + 2.5-651 | 2018-06-07 09:57:29 -0500 * Fix signed/unsigned comparison compiler warning (Corelight) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34fb514cc6..d0ea236330 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,10 +144,12 @@ if (LIBGEOIP_FOUND) endif () set(USE_KRB5 false) -find_package(LibKrb5) -if (LibKrb5_FOUND) - set(USE_KRB5 true) - list(APPEND OPTLIBS ${LibKrb5_LIBRARY}) +if ( ${CMAKE_SYSTEM_NAME} MATCHES Linux ) + find_package(LibKrb5) + if (LibKrb5_FOUND) + set(USE_KRB5 true) + list(APPEND OPTLIBS ${LibKrb5_LIBRARY}) + endif () endif () set(HAVE_PERFTOOLS false) diff --git a/VERSION b/VERSION index d3b74ae5f3..8620f5a053 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5-651 +2.5-652