pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/rspamd mail/rspamd: Update to 1.6.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b75321d2d6c
branches:  trunk
changeset: 375687:9b75321d2d6c
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Feb 19 11:49:01 2018 +0000

description:
mail/rspamd: Update to 1.6.6.

- [CritFix] Add sanity guards for badly broken HTML
- [CritFix] Another errors path handling fix
- [CritFix] Fix ARC chain verification
- [CritFix] Fix crash in milter errors handler
- [Feature] Allow to insert headers into specific position
- [Feature] Allow to receive signing keys from mempool vars
- [Feature] Authentication-Results: support hiding usernames
- [Fix] Another try to deal with #1998
- [Fix] Another try to fix #1998
- [Fix] Better handling of the legacy protocol
- [Fix] Check decoded headers sanity (e.g. by excluding \0)
- [Fix] Deal with nan and inf encoding in json/ucl
- [Fix] Deal with URLs wrapped in [] in text parts
- [Fix] DKIM signing: allow for auth_only to be false
- [Fix] Do not crash on empty subtype
- [Fix] Do not fail rbl plugin when there are no received or emails
- [Fix] Do not skip the last character
- [Fix] Do not try to dereference last character
- [Fix] Do not try to sign unknown domains
- [Fix] Exim Received header protocol parsing
- [Fix] First load selector_map and path_map. And only return false
  when domain not found if try_fallback is false
- [Fix] Fix bad archive characters stripping
- [Fix] Fix comparision
- [Fix] Fix connecting to a unix socket in rspamadm statconvert
- [Fix] Fix empty headers simple canonicalization
- [Fix] Fix extra hits in PCRE mode for regular expressions
- [Fix] Fix parsing of the per-user script
- [Fix] Fix processing of skip-hashes in fuzzy storage
- [Fix] Fix Redis timeout setup
- [Fix] Fix sanity checks on macro value
- [Fix] Fix text splitting: stack overflow (too many captures)
- [Fix] Fix urls/emails distinguishing found in queries
- [Fix] F-PROT Antivirus: only check return code to determine
  infection
- [Fix] Metadata exporter: check IP sanity
- [Fix] Multimap: received: filtering of artificial header
- [Fix] Plan new event on HTTP errors
- [Fix] Plug another possible memory leak
- [Fix] Remove hop-by-hop headers in proxy
- [Fix] Sanitize IP in history redis
- [Fix] Setting check_local / check_authed in plugins (#1954)
- [Fix] Settings: avoid checking invalid IP (#1981)
- [Fix] Try harder in passing IPv6 addresses
- [Fix] WebUI: use relative path for savemap (#1943)
- [WebUI] Fix message count in throughput summary (#1724)
- [WebUI] Fix NaNs display on Throughput graph
- [WebUI] Restore passwordless login support (#2003)

diffstat:

 mail/rspamd/Makefile                          |   4 +-
 mail/rspamd/distinfo                          |  12 ++---
 mail/rspamd/patches/patch-config.h.in         |  21 ---------
 mail/rspamd/patches/patch-src_lua_lua__util.c |  63 ---------------------------
 4 files changed, 7 insertions(+), 93 deletions(-)

diffs (123 lines):

diff -r 2a3610a17f06 -r 9b75321d2d6c mail/rspamd/Makefile
--- a/mail/rspamd/Makefile      Mon Feb 19 09:52:24 2018 +0000
+++ b/mail/rspamd/Makefile      Mon Feb 19 11:49:01 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2018/02/01 09:58:11 fhajny Exp $
+# $NetBSD: Makefile,v 1.35 2018/02/19 11:49:01 fhajny Exp $
 
-DISTNAME=      rspamd-1.6.5
+DISTNAME=      rspamd-1.6.6
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=vstakhov/}
 
diff -r 2a3610a17f06 -r 9b75321d2d6c mail/rspamd/distinfo
--- a/mail/rspamd/distinfo      Mon Feb 19 09:52:24 2018 +0000
+++ b/mail/rspamd/distinfo      Mon Feb 19 11:49:01 2018 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.18 2018/02/01 13:42:31 fhajny Exp $
+$NetBSD: distinfo,v 1.19 2018/02/19 11:49:01 fhajny Exp $
 
-SHA1 (rspamd-1.6.5.tar.gz) = 4b94519f1be3948e9c2c37c707b81671e984ac06
-RMD160 (rspamd-1.6.5.tar.gz) = f0f890e5ceb589371a7d7b286d9a4769524b06fc
-SHA512 (rspamd-1.6.5.tar.gz) = 789abc994cf96a0d88662e14f0e77f95f5c7c7bd1f808ffd64af21cf73cef643b5aee4c1f066d81d04e79d6bb7f72f12095ff08d8515a40bcca23153715fc9f1
-Size (rspamd-1.6.5.tar.gz) = 2484271 bytes
+SHA1 (rspamd-1.6.6.tar.gz) = abd0f9ff4eba09888c7f2fe508defe38acab8238
+RMD160 (rspamd-1.6.6.tar.gz) = d4baae5bd369a95025d48d65f10640ef38bf331f
+SHA512 (rspamd-1.6.6.tar.gz) = 14c7144017df69600dbd09541d16dae19d87105b09f95811fc09624b60e89ca68200654e88dea242508afd3c4963ea7cac086abddec8ca1a3d8fc73d7c27e899
+Size (rspamd-1.6.6.tar.gz) = 2487482 bytes
 SHA1 (patch-CMakeLists.txt) = 1d3e66b52ef38638674baf4c10b68c97b2ca38ad
-SHA1 (patch-config.h.in) = 0fdf35e3a4cd27305c50741a2e6df3ceea5c2a34
 SHA1 (patch-src_CMakeLists.txt) = c80015bb275ba8b9ad31491311275bf353f8f30a
-SHA1 (patch-src_lua_lua__util.c) = a30fb4cc65e4d31caab1c4053192e017ccedd825
diff -r 2a3610a17f06 -r 9b75321d2d6c mail/rspamd/patches/patch-config.h.in
--- a/mail/rspamd/patches/patch-config.h.in     Mon Feb 19 09:52:24 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-config.h.in,v 1.2 2018/02/01 13:42:31 fhajny Exp $
-
-Add endianness support for earlier SunOS platforms.
-https://github.com/vstakhov/rspamd/pull/2009
-
---- config.h.in.orig   2017-06-14 14:45:41.000000000 +0000
-+++ config.h.in
-@@ -151,6 +151,13 @@
-  #include <sys/endian.h>
- #elif defined(HAVE_MACHINE_ENDIAN_H)
-  #include <machine/endian.h>
-+#elif defined(__sun)
-+ #include <sys/byteorder.h>
-+ #ifdef _LITTLE_ENDIAN
-+  #define BYTE_ORDER LITTLE_ENDIAN
-+ #else
-+  #define BYTE_ORDER BIG_ENDIAN
-+ #endif
- #endif
- 
- #ifndef BYTE_ORDER
diff -r 2a3610a17f06 -r 9b75321d2d6c mail/rspamd/patches/patch-src_lua_lua__util.c
--- a/mail/rspamd/patches/patch-src_lua_lua__util.c     Mon Feb 19 09:52:24 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-$NetBSD: patch-src_lua_lua__util.c,v 1.2 2018/02/01 13:42:31 fhajny Exp $
-
-Add fcntl support (namely for SunOS).
-https://github.com/vstakhov/rspamd/pull/2009
-
---- src/lua/lua_util.c.orig    2017-06-14 14:45:41.000000000 +0000
-+++ src/lua/lua_util.c
-@@ -1544,6 +1544,15 @@ lua_util_lock_file (lua_State *L)
-       gint fd = -1;
-       gboolean own = FALSE;
- 
-+#if !HAVE_FLOCK
-+      struct flock fl = {
-+              .l_type = F_WRLCK,
-+              .l_whence = SEEK_SET,
-+              .l_start = 0,
-+              .l_len = 0
-+      };
-+#endif
-+
-       fpath = luaL_checkstring (L, 1);
- 
-       if (fpath) {
-@@ -1562,7 +1571,11 @@ lua_util_lock_file (lua_State *L)
-                       return 2;
-               }
- 
-+#if HAVE_FLOCK
-               if (flock (fd, LOCK_EX) == -1) {
-+#else
-+              if (fcntl (fd, F_SETLKW, &fl) == -1) {
-+#endif
-                       lua_pushnil (L);
-                       lua_pushstring (L, strerror (errno));
- 
-@@ -1588,6 +1601,15 @@ lua_util_unlock_file (lua_State *L)
-       gint fd = -1, ret, serrno;
-       gboolean do_close = TRUE;
- 
-+#if !HAVE_FLOCK
-+      struct flock fl = {
-+              .l_type = F_UNLCK,
-+              .l_whence = SEEK_SET,
-+              .l_start = 0,
-+              .l_len = 0
-+      };
-+#endif
-+
-       if (lua_isnumber (L, 1)) {
-               fd = lua_tonumber (L, 1);
- 
-@@ -1595,7 +1617,11 @@ lua_util_unlock_file (lua_State *L)
-                       do_close = lua_toboolean (L, 2);
-               }
- 
-+#if HAVE_FLOCK
-               ret = flock (fd, LOCK_UN);
-+#else
-+              ret = fcntl (fd, F_SETLKW, &fl);
-+#endif
- 
-               if (do_close) {
-                       serrno = errno;



Home | Main Index | Thread Index | Old Index