From owner-freebsd-perl@FreeBSD.ORG Sun Sep 25 13:15:58 2005 Return-Path: X-Original-To: perl@freebsd.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA9B16A41F for ; Sun, 25 Sep 2005 13:15:58 +0000 (GMT) (envelope-from caomhin@hive.beehost.net) Received: from hive.beehost.net (hive.beehost.net [64.49.223.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C162943D4C for ; Sun, 25 Sep 2005 13:15:57 +0000 (GMT) (envelope-from caomhin@hive.beehost.net) Received: (qmail 59646 invoked by uid 1101); 25 Sep 2005 13:16:07 -0000 Date: 25 Sep 2005 13:16:07 -0000 Message-ID: <20050925131607.59645.qmail@hive.beehost.net> To: FreeBSD-gnats-submit@freebsd.org From: Kevin Golding X-send-pr-version: 3.113 X-GNATS-Notify: Cc: perl@freebsd.org Subject: Missing dependency in p5-Crypt-OpenSSL-RSA X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kevin Golding List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2005 13:15:58 -0000 >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, 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 ---