commit e447e6c: Enable PCRE2 by default.

Yasuhiro Kimura yasu at utahime.org
Sun Nov 14 12:07:04 UTC 2021


Author: Yasuhiro Kimura
Date: 2021-11-14 17:18:09 +0900
URL: https://github.com/rspamd/rspamd/commit/e447e6c2057a5ab68fcbfe307249e54d2dadf017 (refs/pull/3978/head)

Enable PCRE2 by default.
There are 2 major versions of the PCRE library, PCRE and PCRE2. Rspamd
supports both and current default is the former. But according to the
web page of PCRE library it has reached its end of life. So change the
default to the latter.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7af24c5ee..c4d788068 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ OPTION(INSTALL_WEBUI       "Install web interface [default: ON]"
 OPTION(WANT_SYSTEMD_UNITS  "Install systemd unit files on Linux [default: OFF]" OFF)
 OPTION(ENABLE_SNOWBALL     "Enable snowball stemmer [default: ON]"              ON)
 OPTION(ENABLE_CLANG_PLUGIN "Enable clang static analysing plugin [default: OFF]" OFF)
-OPTION(ENABLE_PCRE2        "Enable pcre2 instead of pcre  [default: OFF]"         OFF)
+OPTION(ENABLE_PCRE2        "Enable pcre2 instead of pcre  [default: ON]"         ON)
 OPTION(ENABLE_JEMALLOC     "Build rspamd with jemalloc allocator  [default: OFF]" OFF)
 OPTION(ENABLE_UTILS        "Build rspamd internal utils [default: OFF]" OFF)
 OPTION(ENABLE_LIBUNWIND    "Use libunwind to print crash traces [default: OFF]" OFF)


More information about the Commits mailing list