pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/rspamd Update rspamd to 0.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d197e168e0e
branches:  trunk
changeset: 645135:4d197e168e0e
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Fri Jan 23 21:47:44 2015 +0000

description:
Update rspamd to 0.8.1
Remove patches that have been integrated upstream.

0.8.1:
        * Add sqlite and perl as dependencies for RPM/Debian packages (by @fatalbanana)
        * Remove whitelist.lua from RPM file list (by @fatalbanana)
        * Make Exim pass hostnames to rspamd (by @fatalbanana)
        * Fix building on Fedora (by @fatalbanana)
        * Add toggle for disabling installation of systemd units on Linux (by @fatalbanana)
        * Fix double format rounding that caused output corruption (reported by @fatalbanana)
        * Revert broken change for destructors ordering that led to memory corruption
        * Do not reset symbols case of settings if parsed from lua (reported by @andrejzverev)
        * Fix build on SunOS (by @wiedi)
        * Fix multiple crashes on broken DKIM DNS records
        * Fix critical issue with composites weights removing
        * Fix memory corruption in composites processing code
        * Ignore non-SPF TXT records when parsing SPF includes

diffstat:

 mail/rspamd/Makefile                          |   4 +-
 mail/rspamd/distinfo                          |  10 +++-----
 mail/rspamd/patches/patch-src_client_rspamc.c |  32 ---------------------------
 mail/rspamd/patches/patch-src_lua_lua__task.c |  15 ------------
 4 files changed, 6 insertions(+), 55 deletions(-)

diffs (82 lines):

diff -r 150ac75bde40 -r 4d197e168e0e mail/rspamd/Makefile
--- a/mail/rspamd/Makefile      Fri Jan 23 17:15:09 2015 +0000
+++ b/mail/rspamd/Makefile      Fri Jan 23 21:47:44 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2015/01/17 17:34:07 wiedi Exp $
+# $NetBSD: Makefile,v 1.10 2015/01/23 21:47:44 wiedi Exp $
 
-DISTNAME=      rspamd-0.8.0
+DISTNAME=      rspamd-0.8.1
 CATEGORIES=    mail
 MASTER_SITES=  http://www.rspamd.com/downloads/
 EXTRACT_SUFX=  .tar.xz
diff -r 150ac75bde40 -r 4d197e168e0e mail/rspamd/distinfo
--- a/mail/rspamd/distinfo      Fri Jan 23 17:15:09 2015 +0000
+++ b/mail/rspamd/distinfo      Fri Jan 23 21:47:44 2015 +0000
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.3 2015/01/17 17:34:07 wiedi Exp $
+$NetBSD: distinfo,v 1.4 2015/01/23 21:47:44 wiedi Exp $
 
-SHA1 (rspamd-0.8.0.tar.xz) = b3d704c0cf3ed92271f3f4f640f6406c7ec267b2
-RMD160 (rspamd-0.8.0.tar.xz) = 02b4889a3e5d3d89357be50a05bf4a6b15e2b738
-Size (rspamd-0.8.0.tar.xz) = 754636 bytes
-SHA1 (patch-src_client_rspamc.c) = cd4001655198b93fed898a01b5adbc206a25c604
-SHA1 (patch-src_lua_lua__task.c) = 88dfa4f7ee98aad5d91b4aac4a40324ea1339598
+SHA1 (rspamd-0.8.1.tar.xz) = 7ffe119d8ddfb05e298d740c2ad66156385170db
+RMD160 (rspamd-0.8.1.tar.xz) = 16817053945d234122a93aee39287320f8c5cf75
+Size (rspamd-0.8.1.tar.xz) = 750724 bytes
diff -r 150ac75bde40 -r 4d197e168e0e mail/rspamd/patches/patch-src_client_rspamc.c
--- a/mail/rspamd/patches/patch-src_client_rspamc.c     Fri Jan 23 17:15:09 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-src_client_rspamc.c,v 1.1 2015/01/17 17:34:07 wiedi Exp $
-the struct dirent d_type is not available on SunOS
-
---- src/client/rspamc.c.orig   2014-12-22 17:57:39.000000000 +0000
-+++ src/client/rspamc.c
-@@ -853,6 +853,9 @@ rspamc_process_dir (struct event_base *e
-       DIR *d;
-       gint cur_req = 0;
-       struct dirent *ent;
-+#if defined(__sun)
-+      struct stat sb;
-+#endif
-       FILE *in;
-       char filebuf[PATH_MAX];
- 
-@@ -860,9 +863,14 @@ rspamc_process_dir (struct event_base *e
- 
-       if (d != NULL) {
-               while ((ent = readdir (d))) {
-+                      rspamd_snprintf (filebuf, sizeof (filebuf), "%s%c%s",
-+                                      name, G_DIR_SEPARATOR, ent->d_name);
-+#if defined(__sun)
-+                      if (stat (filebuf, &sb)) continue;
-+                      if (S_ISREG (sb.st_mode)) {
-+#else
-                       if (ent->d_type == DT_REG || ent->d_type == DT_UNKNOWN) {
--                              rspamd_snprintf (filebuf, sizeof (filebuf), "%s%c%s",
--                                              name, G_DIR_SEPARATOR, ent->d_name);
-+#endif
-                               if (access (filebuf, R_OK) != -1) {
-                                       in = fopen (filebuf, "r");
-                                       if (in == NULL) {
diff -r 150ac75bde40 -r 4d197e168e0e mail/rspamd/patches/patch-src_lua_lua__task.c
--- a/mail/rspamd/patches/patch-src_lua_lua__task.c     Fri Jan 23 17:15:09 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_lua_lua__task.c,v 1.1 2015/01/17 17:34:07 wiedi Exp $
-
-tm_gmtoff is not a POSIX field
---- src/lua/lua_task.c.orig    2015-01-02 11:07:18.000000000 +0000
-+++ src/lua/lua_task.c
-@@ -1765,7 +1765,9 @@ lua_task_get_date (lua_State *L)
- 
-                               tt = tim;
-                               localtime_r (&tt, &t);
-+#if !defined(__sun)
-                               t.tm_gmtoff = 0;
-+#endif
-                               t.tm_isdst = 0;
-                               tim = mktime (&t);
-                       }



Home | Main Index | Thread Index | Old Index