Skip to content

Commit 459c198

Browse files
committed
rspamd: Update to 2.5
from GitHub user @sjorge + extra patch from me Closes #60 2.5: 01 Apr 2020 * [Conf] Mark Rspamd emailbl as ignore whitelist * [Conf] RBL: Add missing emails = true option * [Feature] Add support for scripts in fuzzy storage * [Feature] Arc: Add whitelisted_signers_map option * [Feature] Implement hosts file processing * [Feature] Neural: Introduce classes bias that allows non-equal classes learning * [Feature] Update libev to 4.33 * [Fix] Another brain damage html standard adoptions * [Fix] Another fix for brain damaged obs-fws state * [Fix] Fix flags that caused force_actions failure * [Fix] Fix logging issue * [Fix] Fix lua symbols scores registration when config does not define scores * [Fix] Fix opaque maps logic * [Fix] Fix parsing of the html tags with no spaces after attributes * [Fix] Fix some corner cases in urls parsing, add limits * [Fix] Fix tlds extraction if custom composition rules are used * [Fix] Fix variables replacement in mempool * [Fix] Improve base64 detection * [Fix] Normalize dynamic scores in ANN correctly * [Fix] Plug memory leak introduced by #3153 * [Fix] Stat_redis_backend: Fix memory leak and simplify learn path * [Fix] Try hard to deal with ghost workers * [Fix] metadata_exporter default formatter * [Rework] Change the way to extract URLs when dealing with alternative parts * [Rework] Fix various url extraction issues * [Rework] Re cache: Load compiled hyperscan in the main process as well * [Rework] Re cache: Load hyperscan early * [Rework] Rework URL structure: adjust tld part * [Rework] Rework URL structure: host field * [Rework] Rework URL structure: more structure optimisations * [Rework] Rework URL structure: user field * [Rework] URL: Another update for urls extraction logic * [Rework] Urls: Improve query urls handling * [Rework] Urls: adopt html related stuff * [Rework] Urls: more rework of the urls sets * [Rework] Urls: process query urls in HTML urls correctly * [Rework] Urls: rework urls hash structure * [Rework] Urls: update lua libraries * [Rework] Use multiple search tries for different url extraction types 2.4: 26 Feb 2020 * [CritFix] Fix parsing of the content type attributes * [Feature] Clickhouse: Add extra columns support * [Feature] Rbl: Add url_compose_map option for RBL rules * [Fix] 'R' flag is for all headers regexp * [Fix] Allow to reset settings id from Lua (e.g. because of the priority) * [Fix] Avoid collisions in mempool variables by changing fuzzy caching logic * [Fix] Avoid strdup usage for symbols options * [Fix] Do not trust stat(2) it lies * [Fix] Filter all options for symbols to have sane characters * [Fix] Fix all headers iteration * [Fix] Fix allowed_settings for neural * [Fix] Fix listen socket parsing * [Fix] Fix maps expressions evaluation * [Fix] Fix sentinel connections leak by using async connections * [Fix] Fix smtp message on passthrough result * [Fix] Fix tld compositon rules * [Fix] Fuzzy_storage: Do not check for shingles if a direct hash has been found * [Fix] Lua_mime: Do not perform QP encoding for 7bit parts * [Fix] Neural: Distinguish missing symbols from symbols with low scores * [Fix] Support listening on systemd sockets by name * [Project] Add lua_urls_compose library * [Project] Allow to set a custom log function to the logger * [Project] CDB maps: Start making cdb a first class citizen * [Project] Clickhouse: Add extra columns concept * [Project] Fix urls composition rules, add unit tests * [Project] Unify cdb maps * [Rework] Logger infrastructure rework * [Rework] Refactor libraries structure * [Rework] Rework SSL caching * [Rework] Update snowball stemmer to 2.0 and remove all crap aside of UTF8
1 parent 29b695a commit 459c198

File tree

4 files changed

+29
-9
lines changed

4 files changed

+29
-9
lines changed

mail/rspamd/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.65 2020/04/12 08:28:57 adam Exp $
1+
# $NetBSD: Makefile,v 1.66 2020/05/18 11:10:56 nia Exp $
22

3-
DISTNAME= rspamd-2.3
4-
PKGREVISION= 2
3+
DISTNAME= rspamd-2.5
54
CATEGORIES= mail
65
MASTER_SITES= ${MASTER_SITE_GITHUB:=vstakhov/}
76

mail/rspamd/PLIST

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.19 2020/02/11 20:39:48 triaxx Exp $
1+
@comment $NetBSD: PLIST,v 1.20 2020/05/18 11:10:56 nia Exp $
22
bin/rspamadm
33
bin/rspamadm-${PKGVERSION}
44
bin/rspamc
@@ -197,6 +197,7 @@ share/rspamd/lualib/lua_settings.lua
197197
share/rspamd/lualib/lua_smtp.lua
198198
share/rspamd/lualib/lua_stat.lua
199199
share/rspamd/lualib/lua_tcp_sync.lua
200+
share/rspamd/lualib/lua_urls_compose.lua
200201
share/rspamd/lualib/lua_util.lua
201202
share/rspamd/lualib/lua_verdict.lua
202203
share/rspamd/lualib/lupa.lua
@@ -278,6 +279,7 @@ share/rspamd/rules/regexp/upstream_spam_filters.lua
278279
share/rspamd/rules/rspamd.lua
279280
share/rspamd/rules/subject_checks.lua
280281
share/rspamd/www/README.md
282+
share/rspamd/www/apple-touch-icon.png
281283
share/rspamd/www/browserconfig.xml
282284
share/rspamd/www/css/bootstrap.min.css
283285
share/rspamd/www/css/d3evolution.css

mail/rspamd/distinfo

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
$NetBSD: distinfo,v 1.32 2020/02/11 20:39:48 triaxx Exp $
1+
$NetBSD: distinfo,v 1.33 2020/05/18 11:10:56 nia Exp $
22

3-
SHA1 (rspamd-2.3.tar.gz) = 6c651be94a88ae965a21bd8bf5f7e3fdfa3054b4
4-
RMD160 (rspamd-2.3.tar.gz) = 76718ad53dcdfa5a0fe85b63aa1002618a30a1f5
5-
SHA512 (rspamd-2.3.tar.gz) = 20fae1b088acafaaaa406980dc10da5efa66680f10ca8f0d262ddc735a0498f2026091806206995430d28ae27a7d348556eb1586a9217a02c39dfcf0f7c6eb95
6-
Size (rspamd-2.3.tar.gz) = 4409924 bytes
3+
SHA1 (rspamd-2.5.tar.gz) = e3c3afb0cbdb50763421be73d7d3cab187a8fdb5
4+
RMD160 (rspamd-2.5.tar.gz) = a6ae3429f5b439e8067b7b50bd3b5f55d72101f5
5+
SHA512 (rspamd-2.5.tar.gz) = 6068309da98eeb75f95188414b12ce9443aef31200853f820646e70e1dbf2d9d1e2c661a86df2183c175cc01cfb09f6a5c7b8ba358901a56ec6cdb9d9fef4540
6+
Size (rspamd-2.5.tar.gz) = 4490310 bytes
77
SHA1 (patch-CMakeLists.txt) = b0b0dd855351acb68793d84896101e1c424b7ded
8+
SHA1 (patch-cmake_Toolset.cmake) = d4900720b85a8e3078c4fdaa76757fcbbd4f89bd
89
SHA1 (patch-contrib_fpconv_fpconv.c) = b1ec2b07570674458e69020ccbf25f0374d894f6
910
SHA1 (patch-src_CMakeLists.txt) = 672873307ee1f30236e53298a6c0d422c7a79b0e
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
$NetBSD: patch-cmake_Toolset.cmake,v 1.1 2020/05/18 11:10:56 nia Exp $
2+
3+
Avoid specifying a custom linker:
4+
gcc: error: unrecognized command line option '-fuse-ld=lld'; did you mean '-fuse-ld=bfd'?
5+
6+
--- cmake/Toolset.cmake.orig 2020-04-01 13:57:55.000000000 +0000
7+
+++ cmake/Toolset.cmake
8+
@@ -41,8 +41,8 @@ endif ()
9+
10+
option(LINKER_NAME "Linker name or full path")
11+
12+
-find_program(LLD_PATH NAMES "ld.lld" "lld")
13+
-find_program(GOLD_PATH NAMES "ld.gold" "gold")
14+
+#find_program(LLD_PATH NAMES "ld.lld" "lld")
15+
+#find_program(GOLD_PATH NAMES "ld.gold" "gold")
16+
17+
if(NOT LINKER_NAME)
18+
if(LLD_PATH)

0 commit comments

Comments
 (0)