diff options
author | Peter Simons <simons@cryp.to> | 2012-09-27 15:29:01 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-09-27 15:29:01 +0200 |
commit | dfaab992c26021bbe415f2410b1d3980a9e868a4 (patch) | |
tree | 6bdfc888ef15a6288e1cd7fb0178f427dab982f4 /pkgs/servers/mail/spamassassin | |
parent | 74c0850efd49681a9eac8fac5430a1ce688c95b3 (diff) |
spamassassin: enable more plugins and provide gpg for sa-update
Diffstat (limited to 'pkgs/servers/mail/spamassassin')
-rw-r--r-- | pkgs/servers/mail/spamassassin/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/servers/mail/spamassassin/default.nix b/pkgs/servers/mail/spamassassin/default.nix index 7c1c3bc5f9cb..0e623f7ac040 100644 --- a/pkgs/servers/mail/spamassassin/default.nix +++ b/pkgs/servers/mail/spamassassin/default.nix @@ -1,16 +1,16 @@ { stdenv, fetchurl, buildPerlPackage, perl, HTMLParser, NetDNS, NetAddrIP, DBFile -, HTTPDate, MailDKIM, makeWrapper +, HTTPDate, MailDKIM, LWP, IOSocketSSL, IOSocketInet6, makeWrapper, gnupg1 }: -# TODO: +# TODO: Add the Perl modules ... +# +# DBI +# Encode::Detect +# IP::Country::Fast +# Mail::SPF +# Net::Ident +# Razor2::Client::Agent # -# - Mail::SPF -# - IP::Country -# - Razor2 -# - Net::Ident -# - DBI -# - LWP::UserAgent -# - Encode::Detect buildPerlPackage rec { name = "SpamAssassin-3.3.2"; @@ -20,8 +20,8 @@ buildPerlPackage rec { sha256 = "01d2jcpy423zfnhg123wlhzysih1hmb93nxfspiaajzh9r5rn8y7"; }; - buildInputs = [ makeWrapper HTMLParser NetDNS NetAddrIP DBFile HTTPDate - MailDKIM ]; + buildInputs = [ makeWrapper HTMLParser NetDNS NetAddrIP DBFile HTTPDate MailDKIM + LWP IOSocketSSL IOSocketInet6 ]; # Enabling 'taint' mode is desirable, but that flag disables support # for the PERL5LIB environment variable. Needs further investigation. @@ -35,7 +35,7 @@ buildPerlPackage rec { mv "rules/"* $out/share/spamassassin/ for n in "$out/bin/"*; do - wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB" + wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB" --prefix PATH : "${gnupg1}/bin" done ''; |