unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55589] [PATCH] gnu: rspamd: Update to 3.2
@ 2022-05-22 23:43 ykonai via Guix-patches via
  2022-05-30 14:24 ` bug#55589: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: ykonai via Guix-patches via @ 2022-05-22 23:43 UTC (permalink / raw)
  To: 55589

* 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(-)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#55589: [PATCH] gnu: rspamd: Update to 3.2
  2022-05-22 23:43 [bug#55589] [PATCH] gnu: rspamd: Update to 3.2 ykonai via Guix-patches via
@ 2022-05-30 14:24 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-05-30 14:24 UTC (permalink / raw)
  To: ykonai; +Cc: 55589-done

Hi,

ykonai <mail@ykonai.net> skribis:

> * 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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-30 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22 23:43 [bug#55589] [PATCH] gnu: rspamd: Update to 3.2 ykonai via Guix-patches via
2022-05-30 14:24 ` bug#55589: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).