Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592666 - =mail-filter/amavisd-new-2.11.0-r2: a few missing dependencies
Summary: =mail-filter/amavisd-new-2.11.0-r2: a few missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 591998
  Show dependency tree
 
Reported: 2016-09-01 14:44 UTC by Michael Orlitzky
Modified: 2016-10-01 09:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2016-09-01 14:44:08 UTC
I've kept a big list of "extra" amavis packages installed for a while and I'm trying to clean them up. I noticed that the following modules are used directly by amavisd-new but not listed as dependencies:

  * virtual/perl-File-Temp
  * dev-perl/Net-SSLeay
  * dev-perl/IO-Socket-SSL

For examples (in /usr/sbin/amavisd),

  $dname = File::Temp::tempdir($dirtemplate, DIR => $TEMPBASE);

  if (c('tls_security_level_in') || c('tls_security_level_out')) {
    push(@modules, qw(IO::Socket::SSL                                           
                      Net::SSLeay auto::Net::SSLeay::ssl_write_all              
                      auto::Net::SSLeay::ssl_read_until                         
                      auto::Net::SSLeay::dump_peer_certificate));

  IO::Socket::SSL->VERSION(1.05);  # required minimal version

The File::Temp thing has been there forever. I think Net::SSLeay was always used, too, but I wouldn't swear to it (I must've installed it for a reason?). The IO::Socket::SSL stuff may only apply to v2.11 where smtp{,d}_tls_client_options options were introduced.
Comment 1 Michael Orlitzky gentoo-dev 2016-09-01 16:36:56 UTC
Please also consider dev-perl/Image-Info, which appears to be used when the spamassassin ImageInfo plugin is enabled:

  push(@modules, qw(Image::Info Image::Info::GIF Image::Info::JPEG              
                    Image::Info::PNG Image::Info::BMP Image::Info::TIFF))       
    if $mod_names{'Mail::SpamAssassin::Plugin::ImageInfo'};

I suppose that could be USE-conditional on USE=spamassassin.
Comment 2 Eray Aslan gentoo-dev 2016-10-01 08:58:00 UTC
Fixed in mail-filter/amavisd-new-2.11.0-r3.  Thanks for the report.