aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntero Mejr <antero@mailbox.org>2023-06-04 17:42:48 +0000
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-22 13:19:17 +0100
commitcca94f021fed9ff60c97537357a0ce6b9dcd2ecb (patch)
tree3076a4c33c52ae5e3f925da441360f6dd5cd7b76
parent45f9efdbd66781519b8049f7a93b3256fdb14bdc (diff)
downloadguix-cca94f021fed9ff60c97537357a0ce6b9dcd2ecb.tar.gz
guix-cca94f021fed9ff60c97537357a0ce6b9dcd2ecb.zip
gnu: Add perl-razor2-client-agent.
* gnu/packages/perl-web.scm (perl-razor2-client-agent): New variable. Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
-rw-r--r--gnu/packages/perl-web.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/perl-web.scm b/gnu/packages/perl-web.scm
index efbf1d2e58..3449ccaf0f 100644
--- a/gnu/packages/perl-web.scm
+++ b/gnu/packages/perl-web.scm
@@ -435,3 +435,32 @@ Internationalized Domain Names according to IDNA (RFC 3490), in a way very
much inspired by Turbo Fredriksson's PHP-IDN.")
(license (list license:gpl1+ license:clarified-artistic))))
+(define-public perl-razor2-client-agent
+ ;; TODO: Package razor-agents and razor-agents-sdk
+ (package
+ (name "perl-razor2-client-agent")
+ (version "2.86")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/T/TO/TODDR/Razor2-Client-Agent-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0pw4jhxhm2naqkz0h3gjgdjnygf4019zmvp712vj8pmnxc12w1jy"))))
+ (build-system perl-build-system)
+ (propagated-inputs (list perl-digest-sha1 perl-uri))
+ (home-page "https://metacpan.org/release/Razor2-Client-Agent")
+ (synopsis "Collaborative, content-based spam filtering network agent.")
+ (description
+ "This package provides a client library for Vipul's Razor. Vipul's Razor
+is a distributed, collaborative, spam detection and filtering network.
+Through user contribution, Razor establishes a distributed and constantly
+updating catalogue of spam in propagation that is consulted by email clients
+to filter out known spam. Detection is done with statistical and randomized
+signatures that efficiently spot mutating spam content. User input is
+validated through reputation assignments based on consensus on report and
+revoke assertions which in turn is used for computing confidence values
+associated with individual signatures.")
+ (license license:perl-license)))
+