3
0
Fork 0
forked from mirrors/nixpkgs

spamassassin: enable more plugins and provide gpg for sa-update

This commit is contained in:
Peter Simons 2012-09-27 15:29:01 +02:00
parent 74c0850efd
commit dfaab992c2
2 changed files with 13 additions and 13 deletions

View file

@ -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
'';

View file

@ -5432,7 +5432,7 @@ let
spamassassin = callPackage ../servers/mail/spamassassin {
inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile
HTTPDate MailDKIM;
HTTPDate MailDKIM LWP IOSocketSSL IOSocketInet6;
};
samba = callPackage ../servers/samba { };