Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2017 12:34:54 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-ports@freebsd.org>
Subject:   Re: spamassassin does not list all required packages (3.4.1_9)
Message-ID:  <aacb2b7bcc34599ad79cb73cb321a4c8@ultimatedns.net>
In-Reply-To: <alpine.BSF.2.20.1702251123220.91471@tissa.komkon.org>
References:  <alpine.BSF.2.20.1702251123220.91471@tissa.komkon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Feb 2017 11:50:50 -0500 (EST) "Igor R." <freebsd@str.komkon.org>
wrote

> Hello!
> 
> As far as I can tell, spamassassin-3.4.1_9 does not list all required p5 
> packages, which results in 3 error messages in /var/log/maillog upon 
> starting the package:
> 
> Feb 25 11:16:08 <mail.err> tissa spamd[69929]: Can't locate URI/_idna.pm in
> @INC (you may need to install the URI::_idna module) (@INC contains:
> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.24
> /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24) at
> /usr/local/lib/perl5/site_perl/IO/Socket/SSL/PublicSuffix.pm line 124.
> Feb 25 11:16:08 <mail.err> tissa spamd[69929]: Can't locate Net/IDN/Encode.pm
> in  @INC (you may need to install the Net::IDN::Encode module) (@INC
> contains: /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/5.24/mach
> /usr/local/lib/perl5/5.24) at
> /usr/local/lib/perl5/site_perl/IO/Socket/SSL/PublicSuffix.pm line 130.
> Feb 25 11:16:08 <mail.err> tissa spamd[69929]: Can't locate Net/LibIDN.pm in
> @INC (you may need to install the Net::LibIDN module) (@INC contains:
> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.24
> /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24) at
> /usr/local/lib/perl5/site_perl/IO/Socket/SSL/PublicSuffix.pm line 134.
> 
> With that, spamd starts and seemingly works (maybe not fully?).
> 
> Installing the three packages by hand got rid of the error messages.
> p5-Net-IDN-Encode
> p5-URI
> p5-Net-LibIDN
> 
> The required packages as listed at 
> https://www.freebsd.org/cgi/ports.cgi?query=spamassassin&stype=all&sektion=al
> l do not include these three:
> 
> spamassassin-3.4.1_9
>      Highly efficient mail filter for identifying spam
>      Long description : Changes
>      Maintained by: ports@FreeBSD.org
>      Also listed in: perl5
>      Requires: ca_root_nss-3.29.1, curl-7.53.1, gettext-runtime-0.19.8.1_1, 
> gnupg1-1.4.21_3, indexinfo-0.2.6, libnghttp2-1.19.0, 
> p5-Digest-HMAC-1.03_1, p5-Encode-Detect-1.01_1, p5-HTML-Parser-3.72, 
> p5-HTML-Tagset-3.20_1, p5-HTTP-Date-6.02_1, p5-IO-Socket-IP-0.38, 
> p5-IO-Socket-SSL-2.044, p5-Mozilla-CA-20160104, p5-Net-DNS-1.08,1, 
> p5-Net-SSLeay-1.80, p5-NetAddr-IP-4.078, p5-Socket-2.024, perl5-5.24.1, 
> re2c-0.14.3, readline-6.3.8
> 
> I am not sure if these 3 packages are needed, but either they need to be 
> addeed as required or (if they are not needed, which I doubt) the package 
> needs to be patched to avoid the errors.
> 
> Best regards,
> 
> Igor

This seems worthy of a pr(1).
Could you create one for it, please (https://bugs.freebsd.org/bugzilla/)?

--Chris





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aacb2b7bcc34599ad79cb73cb321a4c8>