Date: 25 Sep 2005 13:16:07 -0000 From: Kevin Golding <kevin@caomhin.demon.co.uk> To: FreeBSD-gnats-submit@freebsd.org Cc: perl@freebsd.org Subject: Missing dependency in p5-Crypt-OpenSSL-RSA Message-ID: <20050925131607.59645.qmail@hive.beehost.net>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Kevin Golding >Organization: >Confidential: no >Synopsis: Missing dependency in p5-Crypt-OpenSSL-RSA >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 5.3-RELEASE-p17 i386 >Environment: System: FreeBSD hive.caomhin.org 5.3-RELEASE-p17 FreeBSD 5.3-RELEASE-p17 #1: Thu Jun 30 17:35:51 BST 2005 kgolding@hive.caomhin.org:/usr/obj/usr/src/sys/HIVE i386 >Description: 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 >Fix: --- openssl-rsa-bignum.patch begins here --- --- Makefile.orig Wed Sep 21 19:41:55 2005 +++ Makefile Sun Sep 25 13:42:17 2005 @@ -7,6 +7,7 @@ PORTNAME= Crypt-OpenSSL-RSA PORTVERSION= 0.22 +PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ../../authors/id/C/CD/CDRAKE/ @@ -15,7 +16,8 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module to RSA encode and decode strings using OpenSSL -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random \ + ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Bignum.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Bignum RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes --- openssl-rsa-bignum.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050925131607.59645.qmail>