From be8975a467cd4f7b69ae9e7ec38ced852a06775f Mon Sep 17 00:00:00 2001 From: zhao liwei Date: Wed, 9 Sep 2020 11:05:34 +0800 Subject: [PATCH] fix(security): fix bug in building cyrus-sasl (#616) --- thirdparty/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index 0b3cd3275e..fa3a2175ff 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -313,13 +313,16 @@ ExternalProject_Add(cyrus-sasl http://www.cyrusimap.org/releases/cyrus-sasl-2.1.27.tar.gz URL_MD5 a33820c66e0622222c5aefafa1581083 CONFIGURE_COMMAND ./configure --prefix=${TP_OUTPUT} - --enable-gssapi=$TP_OUTPUT + --enable-gssapi=${TP_OUTPUT} --enable-scram=no --enable-digest=no --enable-cram=no --enable-otp=no + BUILD_COMMAND make + INSTALL_COMMAND make install BUILD_IN_SOURCE 1 ) +add_dependencies(cyrus-sasl krb5) ExternalProject_Add(http-parser URL ${OSS_URL_PREFIX}/http-parser-2.9.4.zip