gnu: rspamd: Update to 3.2

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
ykonai 2022-05-23 01:43:01 +02:00 committed by Ludovic Courtès
parent b67fd51902
commit 5e5e37fbc4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4365,7 +4365,7 @@ (define-public python-imaplib2
(define-public rspamd (define-public rspamd
(package (package
(name "rspamd") (name "rspamd")
(version "2.7") (version "3.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -4373,11 +4373,12 @@ (define-public rspamd
(url "https://github.com/rspamd/rspamd") (url "https://github.com/rspamd/rspamd")
(commit version))) (commit version)))
(sha256 (sha256
(base32 "0fw6nbfc3xqapzq5nydakwgpw6cz6vb3qby2aqlr06lzf87d3hic")) (base32 "122d5m1nfxxz93bhsk8lm4dazvdknzphb0a1188m7bsa4iynbfv2"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:configure-flags '("-DENABLE_LUAJIT=ON"))) '(#:configure-flags '("-DENABLE_LUAJIT=ON"
"-DLOCAL_CONFDIR=/etc/rspamd")))
(inputs (inputs
(list openssl (list openssl
glib glib
@ -4386,7 +4387,7 @@ (define-public rspamd
sqlite sqlite
file file
icu4c icu4c
pcre pcre2
zlib zlib
perl perl
libsodium)) libsodium))