diff options
author | fhajny <fhajny@pkgsrc.org> | 2018-02-19 11:49:01 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2018-02-19 11:49:01 +0000 |
commit | 64d443e8b2b4431b11b6849265dfe30c7a99ad6d (patch) | |
tree | fb806b6c2f7d0d5807a1aaf33454b9d8f6d38b9f /mail/rspamd/patches | |
parent | 2ff03ee682f3b1c317381f67cab4a63f42fa7234 (diff) | |
download | pkgsrc-64d443e8b2b4431b11b6849265dfe30c7a99ad6d.tar.gz |
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 (limited to 'mail/rspamd/patches')
-rw-r--r-- | mail/rspamd/patches/patch-config.h.in | 21 | ||||
-rw-r--r-- | mail/rspamd/patches/patch-src_lua_lua__util.c | 63 |
2 files changed, 0 insertions, 84 deletions
diff --git a/mail/rspamd/patches/patch-config.h.in b/mail/rspamd/patches/patch-config.h.in deleted file mode 100644 index 11abc956b77..00000000000 --- a/mail/rspamd/patches/patch-config.h.in +++ /dev/null @@ -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 --git a/mail/rspamd/patches/patch-src_lua_lua__util.c b/mail/rspamd/patches/patch-src_lua_lua__util.c deleted file mode 100644 index c47b19cc437..00000000000 --- a/mail/rspamd/patches/patch-src_lua_lua__util.c +++ /dev/null @@ -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; |