summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2020-10-03 16:49:27 +0000
committertriaxx <triaxx@pkgsrc.org>2020-10-03 16:49:27 +0000
commit969b88873ff0a50418f3b6b97f628e4f77dcacb9 (patch)
treea4da9f5aea071ac50a46b59dacbfeb479f648738 /mail
parent27913a25e144f475294ffd10cd3a1702f7a7d522 (diff)
downloadpkgsrc-969b88873ff0a50418f3b6b97f628e4f77dcacb9.tar.gz
rspamd: Update to 2.6
upstream changes: ----------------- 2.6: 30 Sep 2020 * [Conf] Add missing symbols * [Conf] Add missing symbols * [Conf] Fix fat-fingers typo * [Conf] Fix wrong comment in options.inc * [Conf] Neural: Fix the default name for max_trains * [Conf] Register a known symbol * [Conf] Spf: Add R_SPF_PERMFAIL symbol * [CritFix] Arc: Fix ARC validation for chains of signatures * [CritFix] Distinguish socketpairs between different fuzzy workers * [CritFix] Fix IDNA dots parsing * [CritFix] Fix test assertion method * [CritFix] Fix usage of crypto_sign it should be crypto_sign_detached! * [Feature] Add BOUNCE rule * [Feature] Add controller plugins support and selectors plugin * [Feature] Add maps query method * [Feature] Add minimal delay to fuzzy storage * [Feature] Add multiple base32 alphabets for decoding * [Feature] Add preliminary support of BCH addresses * [Feature] Add query_specific endpoint * [Feature] Allow multiple base32 encodings in Lua API * [Feature] Allow to specify nonces manually * [Feature] Controller: Allow to pass query arguments to the lua webui plugins * [Feature] Fuzzy_check: Add gen_hashes command * [Feature] Fuzzy_check: Add weight_threshold option for fuzzy rules * [Feature] Implement address retry on connection failure * [Feature] Improve limits in pdf scanning * [Feature] Initial support of subscribe command in lua_redis * [Feature] Lua_cryptobox: Add secretbox API * [Feature] Lua_text: Add encoding methods * [Feature] Milter_headers: Allow to activate routines via users settings * [Feature] PDF: Add timeouts for expensive operations * [Feature] Preliminary maps addon for controller * [Feature] Split pdf processing object and output object to allow GC * [Feature] Support BLIS blas library * [Feature] Support input vectorisation by recvmmsg call * [Feature] Support multiple base32 alphabets * [Feature] add queueid, uid, messageid and specific symbols to selectors [Minor] use only selectors to fill vars in force_actions message * [Feature] allow variables in force_actions messages * [Feature] extend lua api * [Fix] #3249 * [Fix] Allow to adjust neurons in the hidden layer * [Fix] Another try to fix email names parsing * [Fix] Arc: Allow to reuse authentication results when doing multi-stage signing * [Fix] Arc: Fix bug with arc chains verification where i>1 * [Fix] Arc: Sort headers by their i= value * [Fix] Change neural plugin's loss function * [Fix] Deal with double eqsigns when decoding headers * [Fix] Default ANN names in clickhouse * [Fix] Disable reuseport for TCP sockets as it causes too many troubles * [Fix] Disable text detection heuristics for encrypted parts * [Fix] Distinguish DKIM keys by md5 * [Fix] Distinguish type from flags in register_symbol * [Fix] Dmarc: Unbreak reporting after cf2ae3292ac93da8b6e0624b48a62828a51803c9 * [Fix] Do not flag pre-result of virus scanners as least if action is reject * [Fix] Do not use GC64 workaround on 32bit platforms, omg * [Fix] Exclude damaged urls from html parser * [Fix] Fix FREEMAIL_REPLYTO_NEQ_FROM_DOM * [Fix] Fix FROM_NEQ_ENVFROM * [Fix] Fix FWD_GOOGLE rule (#1815) * [Fix] Fix adding of the empty archive file for gzip * [Fix] Fix aliases in forged recipients and limit number of iterations * [Fix] Fix authentication results insertion * [Fix] Fix calling of methods in selectors * [Fix] Fix clen length for hiredis... * [Fix] Fix endless loop if broken arc chain has been found * [Fix] Fix false - operation * [Fix] Fix get_urls table invocation * [Fix] Fix group based composites * [Fix] Fix headers passing in rspamd_proxy * [Fix] Fix incomplete utf8 sequences handling * [Fix] Fix lua_next invocation * [Fix] Fix lua_parse_symbol_type function logic * [Fix] Fix multiple listen configuration * [Fix] Fix occasional encryption of the cached data * [Fix] Fix parsing boundaries with spaces * [Fix] Fix passing of methods arguments * [Fix] Fix poor man allocator algorithm * [Fix] Fix regexp selector and add flattening * [Fix] Fix rfc base32 encode ordering (skip inverse bits) * [Fix] Fix rfc based base32 decoding * [Fix] Fix sockets leak in the client * [Fix] Fix storing of the original smtp from * [Fix] Fix types check and types usage in lua_cryptobox * [Fix] Fix unused results * [Fix] Fuzzy_check: Disable shingles for short texts (really) * [Fix] Ical: Fix identation grammar * [Fix] Improve part:is_attachment logic * [Fix] Mmap return value must be checked versus MAP_FAILED * [Fix] One more fix to skip images that are not urls * [Fix] Pdf: Support some weird objects with no newline before endobj * [Fix] Rbl: Fix ignore_defaults in conjunction with ignore_whitelists * [Fix] Restore support for `for` and `id` parts in received headers * [Fix] Segmentation fault in contrib/lua-lpeg/lpvm.c on ppc64el * [Fix] Skip spaces at the boundary end * [Fix] Slashing fix: fix captures matching API * [Fix] Spamassassin: Rework metas processing * [Fix] Store reference of upstream list in upstreams objects * [Fix] Understand utf8 in content-disposition parser * [Fix] Unify selectors digest functions * [Fix] Use `abs` value when checking composites * [Fix] Use strict IDNA for utf8 DNS names + add sanity checks for DNS names * [Fix] Use unsigned char and better support of utf8 in ragel parser * [Fix] add missing selector_cache declaration * [Project] Add `L` flag for regexps to save start of the match in Hyperscan * [Project] Add `lower` method to lua_text * [Project] Add a simple matrix Lua library * [Project] Add implicit bitcoincash prefix * [Project] Add linalg ffi library for prototyping * [Project] Add methods to append data to fuzzy requests * [Project] Add routine to call a generic lua function * [Project] Add ssyev method interface * [Project] Add tensors index method * [Project] Add text:sub method * [Project] Allow rspamd_text based selectors * [Project] Allow to specify re_conditions for regular expressions * [Project] Attach extensions to the binary fuzzy commands * [Project] Bitcoin: BTC cash addresses needs some checksum validation * [Project] Cleanup the redis script * [Project] Convert bitcoin rules to the new regexp conditions feature * [Project] Detect memrchr in systems that supports it * [Project] Do not listen sockets in the main process * [Project] Implement 'probabilistic' learn mode for ANN * [Project] Implement BTC polymod in C as it requires 64 bit ops * [Project] Implement bitcoin cash validation in a proper way * [Project] Implement extensions logic for fuzzy storage * [Project] Implement symbols insertion in multiple results mode * [Project] Lua_text: Add method memchr * [Project] Neural: Add PCA loading logic * [Project] Neural: Fix PCA based learning * [Project] Neural: Fix matrix gemm * [Project] Neural: Further PCA fixes * [Project] Neural: Implement PCA in learning * [Project] Neural: Implement PCA learning * [Project] Neural: Implement PCA on ANN forward * [Project] Neural: Implement PCA serialisation * [Project] Neural: Start PCA implementation * [Project] Neural: Use C version of scatter matrix producing * [Project] Preliminary support of lua conditions for regexps * [Project] Preliminary usage of the reuseport * [Project] Process composites separately for each shadow result * [Project] Remove old code * [Project] Rework scan result functions to support shadow results * [Project] Rework some more functions to work with shadow results * [Project] Some more fixes * [Project] Start results chain implementation * [Project] Support fun iterators on rspamd_text objects * [Project] Support multiply, minus and divide operators in expressions * [Project] Tensor: Move scatter matrix calculation to C * [Rework] Allow to specify exat metric result when adding a symbol * [Rework] Change and improve openblas detection and usage * [Rework] Close listen sockets in main after fork * [Rework] Further rework of lua urls extraction API * [Rework] Lua_cryptobox: Allow to store output of the hash function * [Rework] Lua_task: Add more methods to deal with shadow results * [Rework] Modernize logging for expressions * [Rework] Remove empty prefilters feature - we are not prepared... * [Rework] Remove old FindLua module, disable lua fallback when LuaJIT is enabled * [Rework] Rework and refactor forged recipients plugin * [Rework] Rework expressions processing * [Rework] Rework fuzzy commands processing * [Rework] Rework url flags handling API * [Rework] Rework urls extraction * [Rework] Split operations processing and add more debug logs * [Rework] Update zstd to 1.4.5 * [Rework] Use google-ced instead of libicu chardet as the former sucks * [Rework] add alias util:parse_addr for util:parse_mail_address * [Rework] get rid of util:parse_addr duplicating the util:parse_mail_address, replace where used * [Rules] Allow prefix for bitcoin cash addresses * [Rules] More fixes for bitcoin cash addresses decoding * [Rules] Refactor bleach32 addresses handling
Diffstat (limited to 'mail')
-rw-r--r--mail/rspamd/Makefile5
-rw-r--r--mail/rspamd/PLIST24
-rw-r--r--mail/rspamd/distinfo10
3 files changed, 27 insertions, 12 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 215f9b6fd64..266b8732104 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.71 2020/08/31 18:10:08 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2020/10/03 16:49:27 triaxx Exp $
-DISTNAME= rspamd-2.5
-PKGREVISION= 5
+DISTNAME= rspamd-2.6
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=vstakhov/}
diff --git a/mail/rspamd/PLIST b/mail/rspamd/PLIST
index 68282a69b5c..98797d8bbca 100644
--- a/mail/rspamd/PLIST
+++ b/mail/rspamd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2020/05/18 11:10:56 nia Exp $
+@comment $NetBSD: PLIST,v 1.21 2020/10/03 16:49:27 triaxx Exp $
bin/rspamadm
bin/rspamadm-${PKGVERSION}
bin/rspamc
@@ -160,6 +160,7 @@ share/rspamd/lualib/lua_dkim_tools.lua
share/rspamd/lualib/lua_ffi/common.lua
share/rspamd/lualib/lua_ffi/dkim.lua
share/rspamd/lualib/lua_ffi/init.lua
+share/rspamd/lualib/lua_ffi/linalg.lua
share/rspamd/lualib/lua_ffi/spf.lua
share/rspamd/lualib/lua_fuzzy.lua
share/rspamd/lualib/lua_lexer.lua
@@ -189,6 +190,7 @@ share/rspamd/lualib/lua_scanners/sophos.lua
share/rspamd/lualib/lua_scanners/spamassassin.lua
share/rspamd/lualib/lua_scanners/vadesecure.lua
share/rspamd/lualib/lua_scanners/virustotal.lua
+share/rspamd/lualib/lua_selectors/common.lua
share/rspamd/lualib/lua_selectors/extractors.lua
share/rspamd/lualib/lua_selectors/init.lua
share/rspamd/lualib/lua_selectors/maps.lua
@@ -265,7 +267,11 @@ share/rspamd/plugins/trie.lua
share/rspamd/plugins/url_redirector.lua
share/rspamd/plugins/whitelist.lua
share/rspamd/rules/bitcoin.lua
+share/rspamd/rules/bounce.lua
share/rspamd/rules/content.lua
+share/rspamd/rules/controller/init.lua
+share/rspamd/rules/controller/maps.lua
+share/rspamd/rules/controller/selectors.lua
share/rspamd/rules/forwarding.lua
share/rspamd/rules/headers_checks.lua
share/rspamd/rules/html.lua
@@ -281,11 +287,15 @@ share/rspamd/rules/subject_checks.lua
share/rspamd/www/README.md
share/rspamd/www/apple-touch-icon.png
share/rspamd/www/browserconfig.xml
+share/rspamd/www/css/FooTable.Glyphicons.css
share/rspamd/www/css/bootstrap.min.css
share/rspamd/www/css/d3evolution.css
-share/rspamd/www/css/footable.bootstrap.min.css
+share/rspamd/www/css/font-glyphicons.css
+share/rspamd/www/css/footable.standalone.min.css
share/rspamd/www/css/nprogress.css
+share/rspamd/www/css/prism.css
share/rspamd/www/css/rspamd.css
+share/rspamd/www/css/svg-with-js.min.css
share/rspamd/www/favicon-16x16.png
share/rspamd/www/favicon-32x32.png
share/rspamd/www/favicon.ico
@@ -300,18 +310,24 @@ share/rspamd/www/js/app/config.js
share/rspamd/www/js/app/graph.js
share/rspamd/www/js/app/history.js
share/rspamd/www/js/app/rspamd.js
+share/rspamd/www/js/app/selectors.js
share/rspamd/www/js/app/stats.js
share/rspamd/www/js/app/symbols.js
share/rspamd/www/js/app/upload.js
-share/rspamd/www/js/lib/bootstrap.min.js
+share/rspamd/www/js/lib/bootstrap.bundle.min.js
+share/rspamd/www/js/lib/codejar.min.js
share/rspamd/www/js/lib/d3.min.js
share/rspamd/www/js/lib/d3evolution.min.js
share/rspamd/www/js/lib/d3pie.min.js
+share/rspamd/www/js/lib/fontawesome.min.js
share/rspamd/www/js/lib/footable.min.js
-share/rspamd/www/js/lib/jquery-3.4.1.min.js
+share/rspamd/www/js/lib/jquery-3.5.1.min.js
share/rspamd/www/js/lib/jquery.stickytabs.min.js
+share/rspamd/www/js/lib/linenumbers.min.js
share/rspamd/www/js/lib/nprogress.min.js
+share/rspamd/www/js/lib/prism.js
share/rspamd/www/js/lib/require.min.js
+share/rspamd/www/js/lib/solid.min.js
share/rspamd/www/js/lib/visibility.min.js
share/rspamd/www/js/main.js
share/rspamd/www/mstile-150x150.png
diff --git a/mail/rspamd/distinfo b/mail/rspamd/distinfo
index 4636b240202..253d2d62a8a 100644
--- a/mail/rspamd/distinfo
+++ b/mail/rspamd/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.34 2020/08/12 20:00:30 schmonz Exp $
+$NetBSD: distinfo,v 1.35 2020/10/03 16:49:27 triaxx Exp $
-SHA1 (rspamd-2.5.tar.gz) = e3c3afb0cbdb50763421be73d7d3cab187a8fdb5
-RMD160 (rspamd-2.5.tar.gz) = a6ae3429f5b439e8067b7b50bd3b5f55d72101f5
-SHA512 (rspamd-2.5.tar.gz) = 6068309da98eeb75f95188414b12ce9443aef31200853f820646e70e1dbf2d9d1e2c661a86df2183c175cc01cfb09f6a5c7b8ba358901a56ec6cdb9d9fef4540
-Size (rspamd-2.5.tar.gz) = 4490310 bytes
+SHA1 (rspamd-2.6.tar.gz) = 56622201f414de9d4f06f28e799b22bd699616a0
+RMD160 (rspamd-2.6.tar.gz) = 4e37802bdff8eaed12ec2d85438997d65e2fe861
+SHA512 (rspamd-2.6.tar.gz) = 79e4c1aa763aef753c8d7b2a941ed92b384e96c25e6d1b3bd1321c5acc0ecb934d033a3bf19cb94c89809fd92edec25192cffe97de9e5251681e1a71216b734a
+Size (rspamd-2.6.tar.gz) = 5079444 bytes
SHA1 (patch-CMakeLists.txt) = b0b0dd855351acb68793d84896101e1c424b7ded
SHA1 (patch-cmake_Toolset.cmake) = d4900720b85a8e3078c4fdaa76757fcbbd4f89bd
SHA1 (patch-contrib_fpconv_fpconv.c) = b1ec2b07570674458e69020ccbf25f0374d894f6