SpamAssassin: add version 3.3.2

This commit is contained in:
Peter Simons 2012-07-08 00:32:30 +02:00
parent 90d6e6890a
commit 9c5f897465
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ stdenv, fetchurl, buildPerlPackage, perl, HTMLParser, NetDNS, NetAddrIP, DBFile
, HTTPDate, MailDKIM
}:
# TODO:
#
# - Mail::SPF
# - IP::Country
# - Razor2
# - Net::Ident
# - DBI
# - LWP::UserAgent
# - Encode::Detect
buildPerlPackage rec {
name = "SpamAssassin-3.3.2";
src = fetchurl {
url = "http://apache.imsam.info/spamassassin/source/Mail-${name}.tar.bz2";
sha256 = "01d2jcpy423zfnhg123wlhzysih1hmb93nxfspiaajzh9r5rn8y7";
};
propagatedBuildInputs = [ HTMLParser NetDNS NetAddrIP DBFile
HTTPDate MailDKIM ];
makeFlags = "PERL_BIN=${perl}/bin/perl";
doCheck = false;
meta = {
homepage = "http://spamassassin.apache.org/";
description = "Open-Source Spam Filter";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}

View File

@ -5280,6 +5280,11 @@ let
redstore = callPackage ../servers/http/redstore { };
spamassassin = callPackage ../servers/mail/spamassassin {
inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile
HTTPDate MailDKIM;
};
samba = callPackage ../servers/samba { };
# A lightweight Samba, useful for non-Linux-based OSes.