From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id rjzhN085jV8xWQAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 06:59:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GCVTM085jV+IQQAA1q6Kng (envelope-from ) for ; Mon, 19 Oct 2020 06:59:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1B0CA9402B0 for ; Mon, 19 Oct 2020 06:59:27 +0000 (UTC) Received: from localhost ([::1]:43746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUP8e-0003xZ-Vx for larch@yhetil.org; Mon, 19 Oct 2020 02:59:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUP8I-0003x7-3y for guix-patches@gnu.org; Mon, 19 Oct 2020 02:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUP8H-0005hm-QR for guix-patches@gnu.org; Mon, 19 Oct 2020 02:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUP8H-0000zV-Oc for guix-patches@gnu.org; Mon, 19 Oct 2020 02:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43974] [PATCH v2] gnu: Add rspamd. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Oct 2020 06:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43974@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 43974-submit@debbugs.gnu.org id=B43974.16030907283785 (code B ref 43974); Mon, 19 Oct 2020 06:59:01 +0000 Received: (at 43974) by debbugs.gnu.org; 19 Oct 2020 06:58:48 +0000 Received: from localhost ([127.0.0.1]:39732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUP7z-0000yt-HN for submit@debbugs.gnu.org; Mon, 19 Oct 2020 02:58:48 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUP7w-0000ye-IM for 43974@debbugs.gnu.org; Mon, 19 Oct 2020 02:58:42 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 14EE42400FE for <43974@debbugs.gnu.org>; Mon, 19 Oct 2020 08:58:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1603090714; bh=WM/N9O3S76JlSNSBby50fFXVwcLr58TF6mZj0WlSkyo=; h=From:To:Cc:Subject:Date:From; b=eM96Gnz3g/YLonpkg4h8+WFcFdqYYaNQGm5jhhg4dkUbeUEhtIgvEryUFwlYjtltZ jga69T8GJ8lt57OI476Dk4hSZv2ks4D+4GA0athF2NZjHzjfEXedBBsEem9qPtY2jv AgTfeqEsSNguroimnFGsMR+pZiLOipgKee2jOIV4Vh9E4Zt2Wve2yBZ4+DXLX4WtpT kDlT99ie3lMuKTxv+86h5W0S9hq2mgo8yT3pXX+1aXpdzAXVGo5qi4vAvivmR7n2O8 iHgTN13RpokNxydJVzqcO6DqreXFal/4xOlf5OteMAN6CC4efcjosdVS0Pq3fcCZ8m QGClhuLSUMSAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CF6zY37Cqz9ryT; Mon, 19 Oct 2020 08:58:33 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Mon, 19 Oct 2020 12:58:08 +0300 Message-Id: <20201019095808.8401-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.28.0 In-Reply-To: <87zh4jjixy.fsf@gnu.org> References: <87zh4jjixy.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.ro header.s=2017 header.b=eM96Gnz3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.ro (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: m+X1QoE0tRmw * 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 ;;; Copyright © 2020 Alexey Abramov ;;; Copyright © 2020 Tim Gesthuizen +;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; ;;; 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