From: Alexandru-Sergiu Marton <brown121407@posteo.ro>
To: 43974@debbugs.gnu.org
Cc: Alexandru-Sergiu Marton <brown121407@posteo.ro>
Subject: [bug#43974] [PATCH v2] gnu: Add rspamd.
Date: Mon, 19 Oct 2020 12:58:08 +0300 [thread overview]
Message-ID: <20201019095808.8401-1-brown121407@posteo.ro> (raw)
In-Reply-To: <87zh4jjixy.fsf@gnu.org>
* gnu/packages/mail.scm (rspamd): New variable.
---
This second version of the patch makes the patch apply on current master and
corrects the synopsis.
gnu/packages/mail.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 5056098806..20d2fa440c 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -36,6 +36,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -76,6 +77,7 @@
#:use-module (gnu packages documentation)
#:use-module (gnu packages emacs)
#:use-module (gnu packages enchant)
+ #:use-module (gnu packages file)
#:use-module (gnu packages gdb)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
@@ -116,6 +118,7 @@
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages ragel)
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
@@ -142,6 +145,7 @@
#:use-module (guix git-download)
#:use-module (guix svn-download)
#:use-module (guix utils)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system guile)
@@ -3918,3 +3922,42 @@ DKIM and ARC sign messages and output the corresponding signature headers.")
based on asyncio.")
(license (list license:asl2.0
license:lgpl3)))) ; only for setup_helpers.py
+
+(define-public rspamd
+ (package
+ (name "rspamd")
+ (version "2.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rspamd/rspamd")
+ (commit version)))
+ (sha256
+ (base32 "0vwa7k2s2bkfb8w78z5izkd6ywjbzqysb0grls898y549hm8ii70"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags '("-DENABLE_LUAJIT=ON")))
+ (inputs
+ `(("openssl" ,openssl)
+ ("glib" ,glib)
+ ("ragel" ,ragel)
+ ("luajit" ,luajit)
+ ("sqlite" ,sqlite)
+ ("file" ,file)
+ ("icu4c" ,icu4c)
+ ("pcre" ,pcre)
+ ("zlib" ,zlib)
+ ("perl" ,perl)
+ ("libsodium" ,libsodium)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (synopsis "Spam filtering system")
+ (description "Rspamd is an advanced spam filtering system that
+allows evaluation of messages by a number of rules including regular
+expressions, statistical analysis and custom services such as URL
+black lists. Each message is analysed by Rspamd and given a spam
+score.")
+ (home-page "https://www.rspamd.com/")
+ (license license:asl2.0)))
--
2.28.0
next prev parent reply other threads:[~2020-10-19 6:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-13 10:57 [bug#43974] [PATCH] gnu: Add rspamd Alexandru-Sergiu Marton
2020-10-18 21:57 ` Marius Bakke
2020-10-19 9:58 ` Alexandru-Sergiu Marton [this message]
2020-10-21 17:19 ` bug#43974: [PATCH v2] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201019095808.8401-1-brown121407@posteo.ro \
--to=brown121407@posteo.ro \
--cc=43974@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).