diff options
author | wiedi <wiedi@pkgsrc.org> | 2015-01-23 21:47:44 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2015-01-23 21:47:44 +0000 |
commit | 8b36f34a89c2ccf5f9f002c90aab3a439055c419 (patch) | |
tree | 0ce3aa9c81c8ed1c78aaa5f2f4a619cfbef364c7 /mail | |
parent | c787cd64b6f2a685a3b194a400fac4031643d3cd (diff) | |
download | pkgsrc-8b36f34a89c2ccf5f9f002c90aab3a439055c419.tar.gz |
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 (limited to 'mail')
-rw-r--r-- | mail/rspamd/Makefile | 4 | ||||
-rw-r--r-- | mail/rspamd/distinfo | 10 | ||||
-rw-r--r-- | mail/rspamd/patches/patch-src_client_rspamc.c | 32 | ||||
-rw-r--r-- | mail/rspamd/patches/patch-src_lua_lua__task.c | 15 |
4 files changed, 6 insertions, 55 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile index e05bcb58763..34802f1343c 100644 --- a/mail/rspamd/Makefile +++ b/mail/rspamd/Makefile @@ -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 --git a/mail/rspamd/distinfo b/mail/rspamd/distinfo index 04ae1c54256..ab583c935c1 100644 --- a/mail/rspamd/distinfo +++ b/mail/rspamd/distinfo @@ -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 --git a/mail/rspamd/patches/patch-src_client_rspamc.c b/mail/rspamd/patches/patch-src_client_rspamc.c deleted file mode 100644 index 6515a555b3f..00000000000 --- a/mail/rspamd/patches/patch-src_client_rspamc.c +++ /dev/null @@ -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 --git a/mail/rspamd/patches/patch-src_lua_lua__task.c b/mail/rspamd/patches/patch-src_lua_lua__task.c deleted file mode 100644 index a2ab23644eb..00000000000 --- a/mail/rspamd/patches/patch-src_lua_lua__task.c +++ /dev/null @@ -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); - } |