[PATCH] gnu: rspamd: Update to 3.2

DoneSubmitted by ykonai.
Details
2 participants
  • Ludovic Courtès
  • ykonai
Owner
unassigned
Severity
normal
Y
Y
ykonai wrote on 23 May 01:43 +0200
(address . guix-patches@gnu.org)
20220522234301.14697-1-mail@ykonai.net
* gnu/packages/mail.scm (rspamd): Update to 3.2

I also added a new build option, that changes the LOCAL_CONFDIR variable to
/etc/rspamd. This allows for rspamd configuration via the /etc/rspamd/local.d
and override.d directories, which by default were located in the PREFIX which
is in /gnu/store.
---
gnu/packages/mail.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (41 lines)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index c4ccc53e84..1343042034 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4363,7 +4363,7 @@ (define-public python-imaplib2
 (define-public rspamd
   (package
     (name "rspamd")
-    (version "2.7")
+    (version "3.2")
     (source
      (origin
        (method git-fetch)
@@ -4371,11 +4371,12 @@ (define-public rspamd
              (url "https://github.com/rspamd/rspamd")
              (commit version)))
        (sha256
-        (base32 "0fw6nbfc3xqapzq5nydakwgpw6cz6vb3qby2aqlr06lzf87d3hic"))
+        (base32 "122d5m1nfxxz93bhsk8lm4dazvdknzphb0a1188m7bsa4iynbfv2"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
-     '(#:configure-flags '("-DENABLE_LUAJIT=ON")))
+     '(#:configure-flags '("-DENABLE_LUAJIT=ON"
+                           "-DLOCAL_CONFDIR=/etc/rspamd")))
     (inputs
      (list openssl
            glib
@@ -4384,7 +4385,7 @@ (define-public rspamd
            sqlite
            file
            icu4c
-           pcre
+           pcre2
            zlib
            perl
            libsodium))

base-commit: 4ba4cb1d49d70a00f7236f60bd92e5eccef573dd
-- 
2.36.1
L
L
Ludovic Courtès wrote on 30 May 16:24 +0200
(name . ykonai)(address . mail@ykonai.net)(address . 55589-done@debbugs.gnu.org)
87o7zf3xpl.fsf@gnu.org
Hi,

ykonai <mail@ykonai.net> skribis:

Toggle quote (7 lines)
> * gnu/packages/mail.scm (rspamd): Update to 3.2
>
> I also added a new build option, that changes the LOCAL_CONFDIR variable to
> /etc/rspamd. This allows for rspamd configuration via the /etc/rspamd/local.d
> and override.d directories, which by default were located in the PREFIX which
> is in /gnu/store.

Applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 55589@debbugs.gnu.org