Bug 86556 - Missing dependency in p5-Crypt-OpenSSL-RSA
Summary: Missing dependency in p5-Crypt-OpenSSL-RSA
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-25 14:20 UTC by Kevin Golding
Modified: 2005-09-25 14:33 UTC (History)
1 user (show)

See Also:


Attachments
openssl-rsa-bignum.patch (778 bytes, patch)
2005-09-25 14:20 UTC, Kevin Golding
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Golding 2005-09-25 14:20:19 UTC
After upgrading SpamAssassin the following error appeared when starting
the daemon:

spamd[83367]: Can't locate Crypt/OpenSSL/Bignum.pm in @INC (@INC
contains: lib ../lib /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib
/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN
/usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6) at
/usr/local/lib/perl5/site_perl/5.8.6/mach/Crypt/OpenSSL/RSA.pm line 29

Since this release introduced DomainKeys support I assumed that was the
cause of these messages.  This is somewhat supported by the following in
the log when processing a message:

spamd[58775]: Can't call method "verify" on an undefined value at
/usr/local/lib/perl5/site_perl/5.8.6/Mail/DomainKeys/Key/Public.pm line
178, <GEN12> line 89.

At first I assumed that p5-Mail-DomainKeys was missing the dependency,
however it simply calls some functions in p5-Crypt-OpenSSL-RSA that
require p5-Crypt-OpenSSL-Bignum.  It seems that the functions have been
around for a while but the requirement on Bignum isn't listed on CPAN
either, which means the dependency could possibly belong somewhere else
instead.

How-To-Repeat: Install SpamAssassin 3.1, enable DomainKeys, watch logs.  Else call new_key_from_parameters or get_key_parameters from a script on a machine without p5-Crypt-OpenSSL-RSA-Bignum installed
Comment 1 Anton Berezin freebsd_committer freebsd_triage 2005-09-25 14:33:24 UTC
State Changed
From-To: open->closed

Fix committed, thanks!