This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e26607a466 gnu: rspamd: Update to 3.12.1.
e26607a466 is described below

commit e26607a466fcdbfc9a8deee60846167208d6b113
Author: Arun Isaac <[email protected]>
AuthorDate: Mon Aug 4 23:55:50 2025 +0100

    gnu: rspamd: Update to 3.12.1.
    
    * gnu/packages/mail.scm (rspamd): Update to 3.12.1.
    [arguments]: Replace check phase.
    [inputs]: Add libarchive, libbfd and libiberty.
---
 gnu/packages/mail.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d5731926a9..b7ed4bace3 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -113,6 +113,7 @@
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gawk)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages gdb)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
@@ -4830,7 +4831,7 @@ on RFC 3501 and original @code{imaplib} module.")
 (define-public rspamd
   (package
     (name "rspamd")
-    (version "3.6")
+    (version "3.12.1")
     (source
      (origin
        (method git-fetch)
@@ -4838,16 +4839,26 @@ on RFC 3501 and original @code{imaplib} module.")
              (url "https://github.com/rspamd/rspamd";)
              (commit version)))
        (sha256
-        (base32 "1ra18c3wczbdqrg9p69k04smjskjkdpxcfff9ff4yi7pmqjaxr8s"))
+        (base32 "0li75dqqy0irrvv2jddmll2adf15cywif982ijj034hldg9162bc"))
        (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
-     '(#:configure-flags '("-DENABLE_LUAJIT=ON"
-                           "-DLOCAL_CONFDIR=/etc/rspamd")))
+     (list #:configure-flags #~(list "-DENABLE_LUAJIT=ON"
+                                     "-DLOCAL_CONFDIR=/etc/rspamd")
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (invoke "make" "run-test"
+                             "-j" (number->string (parallel-job-count)))))))))
     (inputs
      (list file
            glib
            icu4c
+           libarchive
+           libbfd
+           libiberty
            libsodium
            luajit
            openssl

Reply via email to