On 10/12/12 08:29, Alexander Bluhm wrote: > Hi, > > I have updated security/p5-Crypt-SSLeay to 0.64. This makes the > perl module work again as SSLv2 has become optional. With 0.58 I > got this error: > /usr/bin/perl:/usr/pobj/p5-Crypt-SSLeay-0.58/Crypt-SSLeay-0.58/blib/arch/auto/Crypt/SSLeay/SSLeay.so: > undefined symbol 'SSLv2_client_method' > > ok? > > bluhm > > Index: security/p5-Crypt-SSLeay/Makefile > =================================================================== > RCS file: /data/mirror/openbsd/cvs/ports/security/p5-Crypt-SSLeay/Makefile,v > retrieving revision 1.31 > diff -u -p -r1.31 Makefile > --- security/p5-Crypt-SSLeay/Makefile 23 Aug 2012 15:52:47 -0000 1.31 > +++ security/p5-Crypt-SSLeay/Makefile 12 Oct 2012 07:21:25 -0000 > @@ -5,17 +5,21 @@ SHARED_ONLY= Yes > COMMENT= library to provide LWP https support via OpenSSL > > MODULES= cpan > -DISTNAME= Crypt-SSLeay-0.58 > -REVISION= 0 > +DISTNAME= Crypt-SSLeay-0.64 > CATEGORIES= security > > -# Perl > +MAINTAINER = Alexander Bluhm <bl...@openbsd.org> > + > +# Artistic 2.0 > PERMIT_PACKAGE_CDROM= Yes > PERMIT_PACKAGE_FTP= Yes > PERMIT_DISTFILES_CDROM= Yes > PERMIT_DISTFILES_FTP= Yes > > -WANTLIB += c crypto ssl > +WANTLIB += c crypto ssl z > + > +REGRESS_DEPENDS = devel/p5-Try-Tiny \ > + www/p5-libwww > > CONFIGURE_ARGS+=--default --lib=/usr > > Index: security/p5-Crypt-SSLeay/distinfo > =================================================================== > RCS file: /data/mirror/openbsd/cvs/ports/security/p5-Crypt-SSLeay/distinfo,v > retrieving revision 1.10 > diff -u -p -r1.10 distinfo > --- security/p5-Crypt-SSLeay/distinfo 5 Apr 2011 14:27:46 -0000 1.10 > +++ security/p5-Crypt-SSLeay/distinfo 12 Oct 2012 00:52:10 -0000 > @@ -1,5 +1,2 @@ > -MD5 (Crypt-SSLeay-0.58.tar.gz) = +/PRLlhGLO4A6mMjnAsTxw== > -RMD160 (Crypt-SSLeay-0.58.tar.gz) = b1/2qTBQpPvxUfwyv9fVEUT37gg= > -SHA1 (Crypt-SSLeay-0.58.tar.gz) = YvMd5yoczZYI1wrJZ7qIi9SAVMo= > -SHA256 (Crypt-SSLeay-0.58.tar.gz) = > HnFMW8sovCVHYZqbEeWycKPDQRP4Xwkc1yVWrpgF4C4= > -SIZE (Crypt-SSLeay-0.58.tar.gz) = 123845 > +SHA256 (Crypt-SSLeay-0.64.tar.gz) = > 6uYc96pk15OFt2QBDY130JR34DTFL8Pf5o0KE754IXw= > +SIZE (Crypt-SSLeay-0.64.tar.gz) = 121431 > Index: security/p5-Crypt-SSLeay/pkg/PLIST > =================================================================== > RCS file: /data/mirror/openbsd/cvs/ports/security/p5-Crypt-SSLeay/pkg/PLIST,v > retrieving revision 1.10 > diff -u -p -r1.10 PLIST > --- security/p5-Crypt-SSLeay/pkg/PLIST 5 Apr 2011 14:27:46 -0000 > 1.10 > +++ security/p5-Crypt-SSLeay/pkg/PLIST 12 Oct 2012 01:20:27 -0000 > @@ -1,5 +1,4 @@ > @comment $OpenBSD: PLIST,v 1.10 2011/04/05 14:27:46 jasper Exp $ > -${P5ARCH}/ > ${P5ARCH}/Crypt/ > ${P5ARCH}/Crypt/SSLeay/ > ${P5ARCH}/Crypt/SSLeay.pm > @@ -10,7 +9,6 @@ ${P5ARCH}/Crypt/SSLeay/MainContext.pm > ${P5ARCH}/Crypt/SSLeay/X509.pm > ${P5ARCH}/Net/ > ${P5ARCH}/Net/SSL.pm > -${P5ARCH}/auto/ > ${P5ARCH}/auto/Crypt/ > ${P5ARCH}/auto/Crypt/SSLeay/ > ${P5ARCH}/auto/Crypt/SSLeay/SSLeay.bs > > . > I had found the same problem, and have an update for this already, however this alone is not enough as I found. There is a need replace p5-libwww by a newer version, which is split into parts after version 6.0 requiring new p5-HTTP-xxxx, p5-Net-HTTP ports, p5-LWP-Protocol-https, p5-Mozilla-CA. The split has impacts on a number of other perl ports which depend on p5-libwww.
>From Makefile.PL Crypt::SSLeay (or see dependencies listed here http://deps.cpantesters.org/?module=Crypt%3A%3ASSLeay;perl=latest) PREREQ_PM => { 'LWP::Protocol::https' => '6.02', 'MIME::Base64' => 0, # for Net::SSL Note the new requirement... Then for LWP::Protocols::https v6.03 PREREQ_PM => { 'LWP::UserAgent' => '6.04', 'Net::HTTPS' => 6, 'IO::Socket::SSL' => "1.54", 'Mozilla::CA' => "20110101", }, LWP::UserAgent comes from p5-libwww and requires v6.04 or later. Net::HTTPS v6 is part of the split out Net-HTTP v6 (latest is v6.03) from p5-libwww. The whole set of updates is not ready, and requires checking through a large number of ports.