GH-131: disable krb ticket decryption on non-Linux

A test case fails on macOS and FreeBSD fails to build.
This commit is contained in:
Jon Siwek 2018-06-07 13:56:02 -05:00
parent f50effd364
commit da593e7aaa
3 changed files with 11 additions and 5 deletions

View file

@ -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 2.5-651 | 2018-06-07 09:57:29 -0500
* Fix signed/unsigned comparison compiler warning (Corelight) * Fix signed/unsigned comparison compiler warning (Corelight)

View file

@ -144,10 +144,12 @@ if (LIBGEOIP_FOUND)
endif () endif ()
set(USE_KRB5 false) set(USE_KRB5 false)
find_package(LibKrb5) if ( ${CMAKE_SYSTEM_NAME} MATCHES Linux )
if (LibKrb5_FOUND) find_package(LibKrb5)
set(USE_KRB5 true) if (LibKrb5_FOUND)
list(APPEND OPTLIBS ${LibKrb5_LIBRARY}) set(USE_KRB5 true)
list(APPEND OPTLIBS ${LibKrb5_LIBRARY})
endif ()
endif () endif ()
set(HAVE_PERFTOOLS false) set(HAVE_PERFTOOLS false)

View file

@ -1 +1 @@
2.5-651 2.5-652