mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
mail/rspamd: update to 3.12.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PORTNAME= rspamd
|
||||
PORTVERSION= 3.11.1
|
||||
PORTVERSION= 3.12.1
|
||||
CATEGORIES= mail
|
||||
|
||||
MAINTAINER= vsevolod@FreeBSD.org
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1741617534
|
||||
SHA256 (rspamd-rspamd-3.11.1_GH0.tar.gz) = 09c3b90397142539052c826763de4ed8c502976843b5ea9d7ebdc603e23d253b
|
||||
SIZE (rspamd-rspamd-3.11.1_GH0.tar.gz) = 6455199
|
||||
TIMESTAMP = 1750232201
|
||||
SHA256 (rspamd-rspamd-3.12.1_GH0.tar.gz) = 8739aa96db5ff6214595ba0a6f0d90ff46d9f11e5c5e164bbdd749b5cfbd65ed
|
||||
SIZE (rspamd-rspamd-3.12.1_GH0.tar.gz) = 6482214
|
||||
|
||||
@@ -1,391 +0,0 @@
|
||||
diff --git CMakeLists.txt CMakeLists.txt
|
||||
index 882a3a88a2..f3fa193cc8 100644
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -63,7 +63,6 @@ OPTION(ENABLE_LUA_REPL "Enables Lua repl (requires C++11 compiler) [default: ON]
|
||||
OPTION(ENABLE_FASTTEXT "Link with FastText library [default: OFF]" OFF)
|
||||
OPTION(ENABLE_BACKWARD "Build rspamd with backward-cpp stacktrace [default: ON]" ON)
|
||||
OPTION(SYSTEM_ZSTD "Use system zstd instead of bundled one [default: OFF]" OFF)
|
||||
-OPTION(SYSTEM_FMT "Use system fmt instead of bundled one [default: OFF]" OFF)
|
||||
OPTION(SYSTEM_DOCTEST "Use system doctest instead of bundled one [default: OFF]" OFF)
|
||||
OPTION(SYSTEM_XXHASH "Use system xxhash instead of bundled one [default: OFF]" OFF)
|
||||
|
||||
@@ -655,11 +654,6 @@ IF (BACKWARD_LIBRARIES)
|
||||
message(STATUS "Backward-cpp libraries: ${BACKWARD_LIBRARIES}")
|
||||
ENDIF ()
|
||||
|
||||
-IF (SYSTEM_FMT MATCHES "OFF")
|
||||
- INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/contrib/fmt/include")
|
||||
-ELSE ()
|
||||
- find_package(fmt)
|
||||
-ENDIF ()
|
||||
IF (SYSTEM_DOCTEST MATCHES "OFF")
|
||||
ADD_SUBDIRECTORY(contrib/doctest)
|
||||
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/contrib/doctest")
|
||||
diff --git src/client/rspamc.cxx src/client/rspamc.cxx
|
||||
index 31a4aaf241..4043598773 100644
|
||||
--- src/client/rspamc.cxx
|
||||
+++ src/client/rspamc.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,8 +35,8 @@
|
||||
|
||||
#include "frozen/string.h"
|
||||
#include "frozen/unordered_map.h"
|
||||
-#include "fmt/format.h"
|
||||
-#include "fmt/color.h"
|
||||
+#include "contrib/fmt/include/fmt/format.h"
|
||||
+#include "contrib/fmt/include/fmt/color.h"
|
||||
#include "libutil/cxx/file_util.hxx"
|
||||
#include "libutil/cxx/util.hxx"
|
||||
|
||||
diff --git src/libmime/lang_detection_fasttext.cxx src/libmime/lang_detection_fasttext.cxx
|
||||
index 89916151f3..8ea2706e66 100644
|
||||
--- src/libmime/lang_detection_fasttext.cxx
|
||||
+++ src/libmime/lang_detection_fasttext.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "fasttext/fasttext.h"
|
||||
#include "libserver/cfg_file.h"
|
||||
#include "libserver/logger.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "stat_api.h"
|
||||
#include <exception>
|
||||
#include <string_view>
|
||||
diff --git src/libserver/backtrace.cxx src/libserver/backtrace.cxx
|
||||
index c24e619369..5ebde677ed 100644
|
||||
--- src/libserver/backtrace.cxx
|
||||
+++ src/libserver/backtrace.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@
|
||||
#ifdef BACKWARD_ENABLE
|
||||
|
||||
#include "contrib/backward-cpp/backward.hpp"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "logger.h"
|
||||
|
||||
namespace rspamd {
|
||||
diff --git src/libserver/cfg_rcl.cxx src/libserver/cfg_rcl.cxx
|
||||
index 6ea8945abc..f383669080 100644
|
||||
--- src/libserver/cfg_rcl.cxx
|
||||
+++ src/libserver/cfg_rcl.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <algorithm>// for std::transform
|
||||
#include <memory>
|
||||
#include "contrib/ankerl/unordered_dense.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "libutil/cxx/util.hxx"
|
||||
#include "libutil/cxx/file_util.hxx"
|
||||
#include "frozen/unordered_set.h"
|
||||
diff --git src/libserver/cfg_utils.cxx src/libserver/cfg_utils.cxx
|
||||
index 9612cdae46..dfbdc6bee2 100644
|
||||
--- src/libserver/cfg_utils.cxx
|
||||
+++ src/libserver/cfg_utils.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -65,7 +65,7 @@
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "cxx/util.hxx"
|
||||
#include "frozen/unordered_map.h"
|
||||
#include "frozen/string.h"
|
||||
diff --git src/libserver/css/css_parser.cxx src/libserver/css/css_parser.cxx
|
||||
index 11fa830f07..ade499ba40 100644
|
||||
--- src/libserver/css/css_parser.cxx
|
||||
+++ src/libserver/css/css_parser.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "css_rule.hxx"
|
||||
#include "css_util.hxx"
|
||||
#include "css.hxx"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
|
||||
#include <vector>
|
||||
#include <unicode/utf8.h>
|
||||
diff --git src/libserver/css/css_selector.cxx src/libserver/css/css_selector.cxx
|
||||
index d2ae093cbb..527b123774 100644
|
||||
--- src/libserver/css/css_selector.cxx
|
||||
+++ src/libserver/css/css_selector.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "css_selector.hxx"
|
||||
#include "css.hxx"
|
||||
#include "libserver/html/html.hxx"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#define DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
|
||||
#include "doctest/doctest.h"
|
||||
|
||||
diff --git src/libserver/css/css_value.cxx src/libserver/css/css_value.cxx
|
||||
index f2ff553638..52a61d3b64 100644
|
||||
--- src/libserver/css/css_value.cxx
|
||||
+++ src/libserver/css/css_value.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "frozen/string.h"
|
||||
#include "libutil/util.h"
|
||||
#include "contrib/ankerl/unordered_dense.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
|
||||
#define DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
|
||||
#include "doctest/doctest.h"
|
||||
diff --git src/libserver/html/html.cxx src/libserver/html/html.cxx
|
||||
index 0fe31c2a30..93d1fdf91b 100644
|
||||
--- src/libserver/html/html.cxx
|
||||
+++ src/libserver/html/html.cxx
|
||||
@@ -1,11 +1,11 @@
|
||||
-/*-
|
||||
- * Copyright 2021 Vsevolod Stakhov
|
||||
+/*
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
- * http://www.apache.org/licenses/LICENSE-2.0
|
||||
+ * http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -35,9 +35,9 @@
|
||||
#include "html_tag.hxx"
|
||||
#include "html_url.hxx"
|
||||
|
||||
-#include <frozen/unordered_map.h>
|
||||
-#include <frozen/string.h>
|
||||
-#include <fmt/core.h>
|
||||
+#include "contrib/frozen/include/frozen/unordered_map.h"
|
||||
+#include "contrib/frozen/include/frozen/string.h"
|
||||
+#include "contrib/fmt/include/fmt/core.h"
|
||||
|
||||
#include <unicode/uversion.h>
|
||||
|
||||
diff --git src/libserver/html/html_tests.cxx src/libserver/html/html_tests.cxx
|
||||
index 00595feaaa..3be836a2d5 100644
|
||||
--- src/libserver/html/html_tests.cxx
|
||||
+++ src/libserver/html/html_tests.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "libserver/task.h"
|
||||
|
||||
#include <vector>
|
||||
-#include <fmt/core.h>
|
||||
+#include "contrib/fmt/include/fmt/core.h"
|
||||
|
||||
|
||||
#define DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
|
||||
diff --git src/libserver/hyperscan_tools.cxx src/libserver/hyperscan_tools.cxx
|
||||
index 5035bee2c6..75863bf39b 100644
|
||||
--- src/libserver/hyperscan_tools.cxx
|
||||
+++ src/libserver/hyperscan_tools.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <filesystem>
|
||||
#include "contrib/ankerl/unordered_dense.h"
|
||||
#include "contrib/ankerl/svector.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "libutil/cxx/file_util.hxx"
|
||||
#include "libutil/cxx/error.hxx"
|
||||
#include "hs.h"
|
||||
diff --git src/libserver/symcache/symcache_impl.cxx src/libserver/symcache/symcache_impl.cxx
|
||||
index 7159555d2c..4d17348c20 100644
|
||||
--- src/libserver/symcache/symcache_impl.cxx
|
||||
+++ src/libserver/symcache/symcache_impl.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "unix-std.h"
|
||||
#include "libutil/cxx/file_util.hxx"
|
||||
#include "libutil/cxx/util.hxx"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "contrib/t1ha/t1ha.h"
|
||||
|
||||
#ifdef __has_include
|
||||
diff --git src/libserver/symcache/symcache_item.cxx src/libserver/symcache/symcache_item.cxx
|
||||
index 233e8113aa..f58332ea5f 100644
|
||||
--- src/libserver/symcache/symcache_item.cxx
|
||||
+++ src/libserver/symcache/symcache_item.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "lua/lua_common.h"
|
||||
#include "symcache_internal.hxx"
|
||||
#include "symcache_item.hxx"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "libserver/task.h"
|
||||
#include "libutil/cxx/util.hxx"
|
||||
#include <numeric>
|
||||
diff --git src/libstat/backends/cdb_backend.cxx src/libstat/backends/cdb_backend.cxx
|
||||
index bd05e8ef8c..0f55a725c4 100644
|
||||
--- src/libstat/backends/cdb_backend.cxx
|
||||
+++ src/libstat/backends/cdb_backend.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <optional>
|
||||
#include "contrib/expected/expected.hpp"
|
||||
#include "contrib/ankerl/unordered_dense.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
|
||||
namespace rspamd::stat::cdb {
|
||||
|
||||
diff --git src/libstat/backends/redis_backend.cxx src/libstat/backends/redis_backend.cxx
|
||||
index 06842b078f..7137904e99 100644
|
||||
--- src/libstat/backends/redis_backend.cxx
|
||||
+++ src/libstat/backends/redis_backend.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "stat_internal.h"
|
||||
#include "upstream.h"
|
||||
#include "libserver/mempool_vars_internal.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
|
||||
#include "libutil/cxx/error.hxx"
|
||||
|
||||
diff --git src/libutil/cxx/file_util.cxx src/libutil/cxx/file_util.cxx
|
||||
index 2f031f076e..bc5dcdf3ba 100644
|
||||
--- src/libutil/cxx/file_util.cxx
|
||||
+++ src/libutil/cxx/file_util.cxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2023 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include "file_util.hxx"
|
||||
-#include <fmt/core.h>
|
||||
+#include "contrib/fmt/include/fmt/core.h"
|
||||
#include "libutil/util.h"
|
||||
#include "libutil/unix-std.h"
|
||||
|
||||
diff --git src/lua/lua_shingles.cxx src/lua/lua_shingles.cxx
|
||||
index 4682ef74f5..7d4b277fc4 100644
|
||||
--- src/lua/lua_shingles.cxx
|
||||
+++ src/lua/lua_shingles.cxx
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "lua_common.h"
|
||||
#include "lua_classnames.h"
|
||||
#include "shingles.h"
|
||||
-#include "fmt/format.h"
|
||||
+#include "contrib/fmt/include/fmt/format.h"
|
||||
|
||||
/***
|
||||
* @module rspamd_shingle
|
||||
diff --git test/rspamd_cxx_unit_dkim.hxx test/rspamd_cxx_unit_dkim.hxx
|
||||
index d445c3800d..d501aaedd8 100644
|
||||
--- test/rspamd_cxx_unit_dkim.hxx
|
||||
+++ test/rspamd_cxx_unit_dkim.hxx
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright 2024 Vsevolod Stakhov
|
||||
+ * Copyright 2025 Vsevolod Stakhov
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#define DOCTEST_CONFIG_IMPLEMENTATION_IN_DLL
|
||||
#include "doctest/doctest.h"
|
||||
-#include "fmt/base.h"
|
||||
+#include "contrib/fmt/include/fmt/base.h"
|
||||
#include "libserver/dkim.h"
|
||||
|
||||
#include <vector>
|
||||
@@ -34,6 +34,7 @@ etc/newsyslog.conf.d/rspamd.newsyslog.conf
|
||||
%%ETCDIR%%/modules.d/bimi.conf
|
||||
%%ETCDIR%%/modules.d/chartable.conf
|
||||
%%ETCDIR%%/modules.d/clickhouse.conf
|
||||
%%ETCDIR%%/modules.d/contextal.conf
|
||||
%%ETCDIR%%/modules.d/dcc.conf
|
||||
%%ETCDIR%%/modules.d/dkim.conf
|
||||
%%ETCDIR%%/modules.d/dkim_signing.conf
|
||||
@@ -274,6 +275,7 @@ share/man/man8/rspamd.8.gz
|
||||
%%DATADIR%%/plugins/bimi.lua
|
||||
%%DATADIR%%/plugins/clickhouse.lua
|
||||
%%DATADIR%%/plugins/clustering.lua
|
||||
%%DATADIR%%/plugins/contextal.lua
|
||||
%%DATADIR%%/plugins/dcc.lua
|
||||
%%DATADIR%%/plugins/dkim_signing.lua
|
||||
%%DATADIR%%/plugins/dmarc.lua
|
||||
|
||||
Reference in New Issue
Block a user