From 5847589baf79320bc083808b6c20db2e8ca70d46 Mon Sep 17 00:00:00 2001 From: fhajny Date: Wed, 11 Apr 2018 15:32:39 +0000 Subject: mail/rspamd: Update to 1.7.3. - [CritFix] Plug bad memory leak in protocol reply - [Feature] Add avx2 codec for base64 - [Feature] Add method to receive all URL flags from Lua API - [Feature] Allow to fold headers on stop characters - [Feature] Allow to set lua_cpath from options - [Feature] Allow to specify custom rejection message in milter - [Feature] Deal with unnormalised Unicode obfuscation - [Feature] Do not detect language twice for relative parts - [Feature] Implement oversigning feature - [Feature] Implement silent logging level to minimize noise in logs - [Feature] Improve URL_IN_SUBJECT rule - [Feature] Use hashing to reduce redis attack surface - [Fix] Add oversigning for the most important headers - [Fix] add 'rewrite subject' to History dropdown - [Fix] Another fix in folding algorithm - [Fix] Do not call multimap addr for parts of addr if filter is presented - [Fix] Do not clean hostname on generic reset - [Fix] Do not create pid file in no-fork mode - [Fix] Fix fold_after case to preserve multiple spaces - [Fix] Fix folding and folding tests - [Fix] Fix hostname usage in milter mode - [Fix] Fix lua RSA verify and its tests - [Fix] Fix metadata exporter send_mail backend (#2124) - [Fix] Fix processing of '\v' in libucl - [Fix] Fix shemaless URLs detection - [Fix] Fix support of multiple headers in sign_header - [Fix] Fix usage of util.parse_mail_address - [Fix] Fix weights of dynamic squeezed rules - [Fix] Leak from bucket before checking the burst - [Fix] Stop using own localtime as DST could be messy in many cases - [Fix] Treat unnormalised URLs as obscured - [Rework] Restore leaky bucket model in ratelimit plugin - [WebUI] Add messages total to throughput summary - [WebUI] Add symbols order selector to history - [WebUI] Config: Load list on demand - [WebUI] Fix modalBody for maps that appear more than once - [WebUI] History: Fix Tooltips on paging, filtering and sorting - [WebUI] Remove a previously-attached event handler - [WebUI] Update D3 to v5.0.0 and jQuery to v3.3.1 --- mail/rspamd/Makefile | 4 ++-- mail/rspamd/PLIST | 4 ++-- mail/rspamd/distinfo | 12 ++++++------ mail/rspamd/patches/patch-src_libutil_util.c | 16 +++------------- 4 files changed, 13 insertions(+), 23 deletions(-) (limited to 'mail') diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile index 1c4ca6f48e0..1edddd2659e 100644 --- a/mail/rspamd/Makefile +++ b/mail/rspamd/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.39 2018/03/24 14:10:08 fhajny Exp $ +# $NetBSD: Makefile,v 1.40 2018/04/11 15:32:39 fhajny Exp $ -DISTNAME= rspamd-1.7.2 +DISTNAME= rspamd-1.7.3 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_GITHUB:=vstakhov/} diff --git a/mail/rspamd/PLIST b/mail/rspamd/PLIST index cc6030c9580..fcce09d848c 100644 --- a/mail/rspamd/PLIST +++ b/mail/rspamd/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2018/03/23 12:08:50 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.11 2018/04/11 15:32:39 fhajny Exp $ bin/rspamadm bin/rspamadm-${PKGVERSION} bin/rspamc @@ -256,7 +256,7 @@ share/rspamd/www/js/lib/d3pie.min.js share/rspamd/www/js/lib/domReady.js share/rspamd/www/js/lib/footable.min.js share/rspamd/www/js/lib/humanize.min.js -share/rspamd/www/js/lib/jquery-3.2.1.min.js +share/rspamd/www/js/lib/jquery-3.3.1.min.js share/rspamd/www/js/lib/visibility.min.js share/rspamd/www/js/main.js share/rspamd/www/js/require.js diff --git a/mail/rspamd/distinfo b/mail/rspamd/distinfo index 316c9d06bd1..8da735b9b67 100644 --- a/mail/rspamd/distinfo +++ b/mail/rspamd/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.22 2018/03/24 14:10:08 fhajny Exp $ +$NetBSD: distinfo,v 1.23 2018/04/11 15:32:39 fhajny Exp $ -SHA1 (rspamd-1.7.2.tar.gz) = c5bd6e53acbbee96f489b74e54fc632f502f8404 -RMD160 (rspamd-1.7.2.tar.gz) = 708610fbd9cb93d0e9a47750c122872bdb35fb9a -SHA512 (rspamd-1.7.2.tar.gz) = 45ab95c7488e58da9e8803daefda5a0f8920cc4d4c4508a0347ed07d201124d07b10e93010b2be5fab3ecd0ac2be962bcebbb41f434a449fdbc31ded744878cf -Size (rspamd-1.7.2.tar.gz) = 4460606 bytes +SHA1 (rspamd-1.7.3.tar.gz) = 062863246e1646319d2fb686dcbe324fb340fd89 +RMD160 (rspamd-1.7.3.tar.gz) = 4572a8619eb14a0656e23c1bd4ce7ac9c8604169 +SHA512 (rspamd-1.7.3.tar.gz) = 9e94a0001ac5360ef61177ebd82002329777cec5fbf5b9969f1317509e39e0c239773b82ebee21e1262ebec35f6bbf098dd23f51e2cd46996a8c8a1a1fb25a68 +Size (rspamd-1.7.3.tar.gz) = 4470637 bytes SHA1 (patch-CMakeLists.txt) = 1d3e66b52ef38638674baf4c10b68c97b2ca38ad SHA1 (patch-src_CMakeLists.txt) = c80015bb275ba8b9ad31491311275bf353f8f30a -SHA1 (patch-src_libutil_util.c) = 5d0479905df6e88f7d1ccc9dddbd1f4bf19035cd +SHA1 (patch-src_libutil_util.c) = 64d0325c63c124d4dc1487afb24eb54b17748e8f diff --git a/mail/rspamd/patches/patch-src_libutil_util.c b/mail/rspamd/patches/patch-src_libutil_util.c index fc513397359..dc35ae4df2e 100644 --- a/mail/rspamd/patches/patch-src_libutil_util.c +++ b/mail/rspamd/patches/patch-src_libutil_util.c @@ -1,8 +1,8 @@ -$NetBSD: patch-src_libutil_util.c,v 1.2 2018/03/23 12:08:50 fhajny Exp $ +$NetBSD: patch-src_libutil_util.c,v 1.3 2018/04/11 15:32:39 fhajny Exp $ Fix SunOS workaround. ---- src/libutil/util.c.orig 2018-03-20 12:26:55.000000000 +0000 +--- src/libutil/util.c.orig 2018-04-10 16:12:46.000000000 +0000 +++ src/libutil/util.c @@ -2766,8 +2766,8 @@ rspamd_gmtime (gint64 ts, struct tm *des dest->tm_sec = remsecs % 60; @@ -13,14 +13,4 @@ Fix SunOS workaround. +#endif } - #ifdef HAVE_SANE_TZSET -@@ -2787,8 +2787,8 @@ void rspamd_localtime (gint64 ts, struct - - ts -= timezone; - rspamd_gmtime (ts, dest); -- dest->tm_zone = daylight ? (tzname[1] ? tzname[1] : tzname[0]) : tzname[0]; - #if !defined(__sun) -+ dest->tm_zone = daylight ? (tzname[1] ? tzname[1] : tzname[0]) : tzname[0]; - dest->tm_gmtoff = -timezone; - #endif - } + void -- cgit v1.2.3