Skip Menu |
 

This queue is for tickets about the Crypt-SSLeay CPAN distribution.

Report information
The Basics
Id: 88786
Status: resolved
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: nanis [...] runu.moc.invalid
Requestors: yaberger [...] ca.ibm.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.72



Subject: Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location
Date: Wed, 18 Sep 2013 12:35:25 -0400
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: yaberger [...] ca.ibm.com
Download (untitled) / with headers
text/plain 1.7k
Hi, I had some issues while trying to compile Crypt-SSLeay 0.64 on AIX 6.1 TL7 SP7 with IBM XL C/C++ 10.1, Perl 5.18.1, OpenSSL 1.0.1e OpenSSL is installed under /usr/local/openssl, so their lib are under /usr/local/openssl/lib and their includes are under /usr/local/openssl/include I first tried to install it with cpanp but it was not able to find where the lib/include where. So I decided to download the tar.gz and manually make it works. I've been able to compile it with this procedure but the make test was failing /usr/local/perl/bin/perl Makefile.PL make LIBS=-L/usr/local/openssl/lib INC=-I/usr/local/openssl/include make test I've cleared everything and after reading the following bug report: https://rt.cpan.org/Public/Bug/Display.html?id=78848 diff -c Crypt-SSLeay-0.64/Makefile.PL Crypt-SSLeay-0.64.yaberger/Makefile.PL *** Crypt-SSLeay-0.64/Makefile.PL Sat Aug 4 10:11:32 2012 --- Crypt-SSLeay-0.64.yaberger/Makefile.PL Wed Sep 18 11:22:11 2013 *************** *** 38,44 **** VERSION_FROM => 'SSLeay.pm', ! LIBS => [q{-lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], ($opt_static ? (LINK_TYPE => 'static') : ()), --- 38,46 ---- VERSION_FROM => 'SSLeay.pm', ! LIBS => [q{-L/usr/local/openssl/lib -lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], ! ! INC => q{-I/usr/local/openssl/include}, ($opt_static ? (LINK_TYPE => 'static') : ()), And been able to simply follow this procedure /usr/local/perl/bin/perl Makefile.PL make make test make install wouldn't it be possible to pass arguments to "perl Makefile.PL" to set these values instead of manually modifying the Makefile.PL? Best regards, Yannick Bergeron 450 534-7711 yaberger@ca.ibm.com Advisory IT Specialist
Download (untitled) / with headers
text/plain 2.1k
Hello: Thank you for your report. I recently uploaded 0.65_08 to CPAN and it should now handle custom locations better. Once this goes through CPAN testers, I am going to update the documentation and upload 0.66. Best, -- Sinan On Wed Sep 18 12:36:52 2013, yaberger@ca.ibm.com wrote: Show quoted text
> Hi, > > I had some issues while trying to compile Crypt-SSLeay 0.64 on AIX 6.1 TL7 > SP7 with IBM XL C/C++ 10.1, Perl 5.18.1, OpenSSL 1.0.1e > OpenSSL is installed under /usr/local/openssl, so their lib are under > /usr/local/openssl/lib and their includes are under > /usr/local/openssl/include > I first tried to install it with cpanp but it was not able to find where > the lib/include where. > So I decided to download the tar.gz and manually make it works. > > I've been able to compile it with this procedure but the make test was > failing > /usr/local/perl/bin/perl Makefile.PL > make LIBS=-L/usr/local/openssl/lib INC=-I/usr/local/openssl/include > make test > > I've cleared everything and after reading the following bug report: > https://rt.cpan.org/Public/Bug/Display.html?id=78848 > > diff -c Crypt-SSLeay-0.64/Makefile.PL > Crypt-SSLeay-0.64.yaberger/Makefile.PL > *** Crypt-SSLeay-0.64/Makefile.PL Sat Aug 4 10:11:32 2012 > --- Crypt-SSLeay-0.64.yaberger/Makefile.PL Wed Sep 18 11:22:11 2013 > *************** > *** 38,44 **** > > VERSION_FROM => 'SSLeay.pm', > > ! LIBS => [q{-lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > --- 38,46 ---- > > VERSION_FROM => 'SSLeay.pm', > > ! LIBS => [q{-L/usr/local/openssl/lib -lz -lssl -lcrypto -lssl32 > -lssleay32 -leay32}], > ! > ! INC => q{-I/usr/local/openssl/include}, > > ($opt_static ? (LINK_TYPE => 'static') : ()), > And been able to simply follow this procedure > /usr/local/perl/bin/perl Makefile.PL > make > make test > make install > > wouldn't it be possible to pass arguments to "perl Makefile.PL" to set > these values instead of manually modifying the Makefile.PL? > > > Best regards, > > Yannick Bergeron > 450 534-7711 > yaberger@ca.ibm.com > Advisory IT Specialist
Subject: Re: [rt.cpan.org #88786] Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location
Date: Thu, 10 Apr 2014 10:58:03 -0400
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: yaberger [...] ca.ibm.com
Download (untitled) / with headers
text/plain 2.8k
Hi, Thank you for taking action on this. This is a very good timing as we were about to recompile Perl and its modules and will be able to test this version at the same time. I would also like to verify with you if you consider that Crypt-SSLeay compiled with OpenSSL 1.0.1 to 1.0.1f would be vulnerable to the heartbleed (CVE-2014-0160) vulnerability announced 3 days ago. Best regards, Yannick Bergeron Advisory IT Specialist From: "A. Sinan Unur via RT" <bug-Crypt-SSLeay@rt.cpan.org> To: Yannick Y Bergeron/Bromont/IBM@IBMCA Date: 04/10/2014 09:56 AM Subject: [rt.cpan.org #88786] Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location <URL: https://rt.cpan.org/Ticket/Display.html?id=88786 > Hello: Thank you for your report. I recently uploaded 0.65_08 to CPAN and it should now handle custom locations better. Once this goes through CPAN testers, I am going to update the documentation and upload 0.66. Best, -- Sinan On Wed Sep 18 12:36:52 2013, yaberger@ca.ibm.com wrote: Show quoted text
> Hi, > > I had some issues while trying to compile Crypt-SSLeay 0.64 on AIX 6.1
TL7 Show quoted text
> SP7 with IBM XL C/C++ 10.1, Perl 5.18.1, OpenSSL 1.0.1e > OpenSSL is installed under /usr/local/openssl, so their lib are under > /usr/local/openssl/lib and their includes are under > /usr/local/openssl/include > I first tried to install it with cpanp but it was not able to find where
Show quoted text
> the lib/include where. > So I decided to download the tar.gz and manually make it works. > > I've been able to compile it with this procedure but the make test was > failing > /usr/local/perl/bin/perl Makefile.PL > make LIBS=-L/usr/local/openssl/lib INC=-I/usr/local/openssl/include > make test > > I've cleared everything and after reading the following bug report: > https://rt.cpan.org/Public/Bug/Display.html?id=78848 > > diff -c Crypt-SSLeay-0.64/Makefile.PL > Crypt-SSLeay-0.64.yaberger/Makefile.PL > *** Crypt-SSLeay-0.64/Makefile.PL Sat Aug 4 10:11:32 2012 > --- Crypt-SSLeay-0.64.yaberger/Makefile.PL Wed Sep 18 11:22:11 2013 > *************** > *** 38,44 **** > > VERSION_FROM => 'SSLeay.pm', > > ! LIBS => [q{-lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > --- 38,46 ---- > > VERSION_FROM => 'SSLeay.pm', > > ! LIBS => [q{-L/usr/local/openssl/lib -lz -lssl -lcrypto -lssl32 > -lssleay32 -leay32}], > ! > ! INC => q{-I/usr/local/openssl/include}, > > ($opt_static ? (LINK_TYPE => 'static') : ()), > And been able to simply follow this procedure > /usr/local/perl/bin/perl Makefile.PL > make > make test > make install > > wouldn't it be possible to pass arguments to "perl Makefile.PL" to set > these values instead of manually modifying the Makefile.PL? > > > Best regards, > > Yannick Bergeron > 450 534-7711 > yaberger@ca.ibm.com > Advisory IT Specialist
Subject: Re: [rt.cpan.org #88786] Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location
Date: Fri, 11 Apr 2014 15:10:19 -0400
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: yaberger [...] ca.ibm.com
Download (untitled) / with headers
text/plain 2.6k
Hi, 0.65_08 has a new dependency on Devel::CheckLib is it possible to remove/replace it by one that is already part of Perl core? Best regards, Yannick Bergeron Advisory IT Specialist From: "A. Sinan Unur via RT" <bug-Crypt-SSLeay@rt.cpan.org> To: Yannick Y Bergeron/Bromont/IBM@IBMCA Date: 04/10/2014 09:56 AM Subject: [rt.cpan.org #88786] Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location <URL: https://rt.cpan.org/Ticket/Display.html?id=88786 > Hello: Thank you for your report. I recently uploaded 0.65_08 to CPAN and it should now handle custom locations better. Once this goes through CPAN testers, I am going to update the documentation and upload 0.66. Best, -- Sinan On Wed Sep 18 12:36:52 2013, yaberger@ca.ibm.com wrote: Show quoted text
> Hi, > > I had some issues while trying to compile Crypt-SSLeay 0.64 on AIX 6.1
TL7 Show quoted text
> SP7 with IBM XL C/C++ 10.1, Perl 5.18.1, OpenSSL 1.0.1e > OpenSSL is installed under /usr/local/openssl, so their lib are under > /usr/local/openssl/lib and their includes are under > /usr/local/openssl/include > I first tried to install it with cpanp but it was not able to find where
Show quoted text
> the lib/include where. > So I decided to download the tar.gz and manually make it works. > > I've been able to compile it with this procedure but the make test was > failing > /usr/local/perl/bin/perl Makefile.PL > make LIBS=-L/usr/local/openssl/lib INC=-I/usr/local/openssl/include > make test > > I've cleared everything and after reading the following bug report: > https://rt.cpan.org/Public/Bug/Display.html?id=78848 > > diff -c Crypt-SSLeay-0.64/Makefile.PL > Crypt-SSLeay-0.64.yaberger/Makefile.PL > *** Crypt-SSLeay-0.64/Makefile.PL Sat Aug 4 10:11:32 2012 > --- Crypt-SSLeay-0.64.yaberger/Makefile.PL Wed Sep 18 11:22:11 2013 > *************** > *** 38,44 **** > > VERSION_FROM => 'SSLeay.pm', > > ! LIBS => [q{-lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > --- 38,46 ---- > > VERSION_FROM => 'SSLeay.pm', > > ! LIBS => [q{-L/usr/local/openssl/lib -lz -lssl -lcrypto -lssl32 > -lssleay32 -leay32}], > ! > ! INC => q{-I/usr/local/openssl/include}, > > ($opt_static ? (LINK_TYPE => 'static') : ()), > And been able to simply follow this procedure > /usr/local/perl/bin/perl Makefile.PL > make > make test > make install > > wouldn't it be possible to pass arguments to "perl Makefile.PL" to set > these values instead of manually modifying the Makefile.PL? > > > Best regards, > > Yannick Bergeron > 450 534-7711 > yaberger@ca.ibm.com > Advisory IT Specialist
Download (untitled) / with headers
text/plain 3.3k
Well, it's only Makefile.PL that needs it, to trim down the list of libraries passed to WriteMakefile. So, I'll think about that. In the mean time, are you certain you need Crypt::SSLeay? I would appreciate it if you can tell me which version of LWP you are using. If you are using LWP > 6.01, then you might actually be using IO::Socket::SSL because that's what LWP uses nowadays unless you specifically override it. Thank you, -- Sinan On Fri Apr 11 15:10:34 2014, yaberger@ca.ibm.com wrote: Show quoted text
> Hi, > > 0.65_08 has a new dependency on Devel::CheckLib > is it possible to remove/replace it by one that is already part of Perl > core? > > > Best regards, > > Yannick Bergeron > Advisory IT Specialist > > > > From: "A. Sinan Unur via RT" <bug-Crypt-SSLeay@rt.cpan.org> > To: Yannick Y Bergeron/Bromont/IBM@IBMCA > Date: 04/10/2014 09:56 AM > Subject: [rt.cpan.org #88786] Issues while trying to compile > Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=88786 > > > Hello: > > Thank you for your report. I recently uploaded 0.65_08 to CPAN and it > should now handle custom locations better. > > Once this goes through CPAN testers, I am going to update the > documentation and upload 0.66. > > Best, > > -- Sinan > > On Wed Sep 18 12:36:52 2013, yaberger@ca.ibm.com wrote:
> > Hi, > > > > I had some issues while trying to compile Crypt-SSLeay 0.64 on AIX 6.1
> TL7
> > SP7 with IBM XL C/C++ 10.1, Perl 5.18.1, OpenSSL 1.0.1e > > OpenSSL is installed under /usr/local/openssl, so their lib are under > > /usr/local/openssl/lib and their includes are under > > /usr/local/openssl/include > > I first tried to install it with cpanp but it was not able to find where
>
> > the lib/include where. > > So I decided to download the tar.gz and manually make it works. > > > > I've been able to compile it with this procedure but the make test was > > failing > > /usr/local/perl/bin/perl Makefile.PL > > make LIBS=-L/usr/local/openssl/lib INC=-I/usr/local/openssl/include > > make test > > > > I've cleared everything and after reading the following bug report: > > https://rt.cpan.org/Public/Bug/Display.html?id=78848 > > > > diff -c Crypt-SSLeay-0.64/Makefile.PL > > Crypt-SSLeay-0.64.yaberger/Makefile.PL > > *** Crypt-SSLeay-0.64/Makefile.PL Sat Aug 4 10:11:32 2012 > > --- Crypt-SSLeay-0.64.yaberger/Makefile.PL Wed Sep 18 11:22:11 2013 > > *************** > > *** 38,44 **** > > > > VERSION_FROM => 'SSLeay.pm', > > > > ! LIBS => [q{-lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], > > > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > > > --- 38,46 ---- > > > > VERSION_FROM => 'SSLeay.pm', > > > > ! LIBS => [q{-L/usr/local/openssl/lib -lz -lssl -lcrypto -lssl32 > > -lssleay32 -leay32}], > > ! > > ! INC => q{-I/usr/local/openssl/include}, > > > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > And been able to simply follow this procedure > > /usr/local/perl/bin/perl Makefile.PL > > make > > make test > > make install > > > > wouldn't it be possible to pass arguments to "perl Makefile.PL" to set > > these values instead of manually modifying the Makefile.PL? > > > > > > Best regards, > > > > Yannick Bergeron > > 450 534-7711 > > yaberger@ca.ibm.com > > Advisory IT Specialist
> > >
Subject: Re: [rt.cpan.org #88786] Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location
Date: Wed, 16 Apr 2014 13:55:30 -0400
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: yaberger [...] ca.ibm.com
Download (untitled) / with headers
text/plain 7.4k
Am I certain I need Crypt::SSLeay? That is a good question. This come from an old procedure that it was require for one or many module. However, I haven't validated if it's still the case. LWP is at 6.05 I'll investigate more on what I've found below root@aix71tst ==> find /usr/local/perl/ -name "*.pm" -exec grep Crypt::SSL {} \; -print # Crypt::SSLeay (Net::SSL) by Gisle Aas. /usr/local/perl/lib/site_perl/5.18.2/IO/Socket/SSL.pm L<IO::Socket::SSL>, L<Crypt::SSLeay>, L<Mozilla::CA> /usr/local/perl/lib/site_perl/5.18.2/LWP/Protocol/https.pm # The processing of HTTPS_CA_* below is for compatibility with Crypt::SSLeay /usr/local/perl/lib/site_perl/5.18.2/LWP/UserAgent.pm use Crypt::SSLeay; /usr/local/perl/lib/site_perl/5.18.2/REST/Client.pm package Crypt::SSLeay::CTX; require Crypt::SSLeay; /usr/local/perl/lib/site_perl/5.18.2/aix/Crypt/SSLeay/CTX.pm package Crypt::SSLeay::Conn; require Crypt::SSLeay; /usr/local/perl/lib/site_perl/5.18.2/aix/Crypt/SSLeay/Conn.pm package Crypt::SSLeay::Err; require Crypt::SSLeay; /usr/local/perl/lib/site_perl/5.18.2/aix/Crypt/SSLeay/Err.pm package Crypt::SSLeay::MainContext; # maintains a single instance of the Crypt::SSLeay::CTX class require Crypt::SSLeay::CTX; my $ctx = Crypt::SSLeay::CTX->new($ssl_version); /usr/local/perl/lib/site_perl/5.18.2/aix/Crypt/SSLeay/MainContext.pm package Crypt::SSLeay::X509; /usr/local/perl/lib/site_perl/5.18.2/aix/Crypt/SSLeay/X509.pm package Crypt::SSLeay; XSLoader::load('Crypt::SSLeay', $VERSION); bootstrap Crypt::SSLeay $VERSION; use Crypt::SSLeay::X509; sub Crypt::SSLeay::CTX::DESTROY { shift->free; } sub Crypt::SSLeay::Conn::DESTROY { shift->free; } sub Crypt::SSLeay::X509::DESTROY { shift->free; } Crypt::SSLeay - OpenSSL support for LWP The C<Crypt::SSLeay> package provides C<Net::SSL>, which is loaded Crypt::SSLeay::CTX Crypt::SSLeay::Conn Crypt::SSLeay::X509 Work on Crypt::SSLeay has been continued only to provide https C<Crypt::SSLeay> and C<Net::SSL> behave. trying to build C<Crypt::SSLeay>. issue the following commands to build C<Crypt::SSLeay>: library package. The key is that C<Crypt::SSLeay> makes calls to the OpenSSL =head2 Crypt::SSLeay The latest Crypt::SSLeay can be found at your nearest CPAN, as well as Once you have downloaded it, C<Crypt::SSLeay> installs easily using the dmake which can be used to build both OpenSSL and C<Crypt::SSLeay>. If you C<Crypt::SSLeay> builds correctly with Strawberry Perl and ActiveState Perl This prevents C<Crypt::SSLeay> from being distributed as a PPM package from C<Crypt::SSLeay> from an alternative repository (see L<PPM::Repositories>). L<LWP::UserAgent> and L<Crypt::SSLeay> have their own versions of and is likely to be incompatible with C<Crypt::SSLeay> proxy support. F<mod_proxy>. The C<CONNECT> method is used by C<Crypt::SSLeay>'s =head2 Crypt::SSLeay proxy support For native C<Crypt::SSLeay> proxy support of https requests, that method will likely override or break the C<Crypt::SSLeay> For an example of LWP scripting with C<Crypt::SSLeay> native proxy C<Crypt::SSLeay> distribution. C<Crypt::SSLeay> tries very hard to connect to I<any> SSL web server has been the bane of many a Crypt::SSLeay user. For use of C<Crypt::SSLeay> & C<Net::SSL> with Perl's L<LWP>, please /usr/local/perl/lib/site_perl/5.18.2/aix/Crypt/SSLeay.pm require Crypt::SSLeay; require Crypt::SSLeay::MainContext; Crypt::SSLeay::MainContext::main_ctx(@_); ## Crypt::SSLeay must also aware the SSL Proxy before calling my $ssl = Crypt::SSLeay::Conn->new(*$self->{ssl_ctx}, $debug, $self); # Delegate these calls to the Crypt::SSLeay::Conn object while(my $err=Crypt::SSLeay::Err::get_error_string()) { Gets the peer certificate from the underlying C<Crypt::SSLeay::Conn> of Crypt::SSLeay), the user agent string is no longer sent to the /usr/local/perl/lib/site_perl/5.18.2/aix/Net/SSL.pm Yannick Bergeron Advisory IT Specialist From: "A. Sinan Unur via RT" <bug-Crypt-SSLeay@rt.cpan.org> To: Yannick Y Bergeron/Bromont/IBM@IBMCA Date: 04/13/2014 09:29 PM Subject: [rt.cpan.org #88786] Issues while trying to compile Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location <URL: https://rt.cpan.org/Ticket/Display.html?id=88786 > Well, it's only Makefile.PL that needs it, to trim down the list of libraries passed to WriteMakefile. So, I'll think about that. In the mean time, are you certain you need Crypt::SSLeay? I would appreciate it if you can tell me which version of LWP you are using. If you are using LWP > 6.01, then you might actually be using IO::Socket::SSL because that's what LWP uses nowadays unless you specifically override it. Thank you, -- Sinan On Fri Apr 11 15:10:34 2014, yaberger@ca.ibm.com wrote: Show quoted text
> Hi, > > 0.65_08 has a new dependency on Devel::CheckLib > is it possible to remove/replace it by one that is already part of Perl > core? > > > Best regards, > > Yannick Bergeron > Advisory IT Specialist > > > > From: "A. Sinan Unur via RT" <bug-Crypt-SSLeay@rt.cpan.org> > To: Yannick Y Bergeron/Bromont/IBM@IBMCA > Date: 04/10/2014 09:56 AM > Subject: [rt.cpan.org #88786] Issues while trying to compile > Crypt-SSLeay-0.64 on AIX 6.1 with custom openssl location > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=88786 > > > Hello: > > Thank you for your report. I recently uploaded 0.65_08 to CPAN and it > should now handle custom locations better. > > Once this goes through CPAN testers, I am going to update the > documentation and upload 0.66. > > Best, > > -- Sinan > > On Wed Sep 18 12:36:52 2013, yaberger@ca.ibm.com wrote:
> > Hi, > > > > I had some issues while trying to compile Crypt-SSLeay 0.64 on AIX 6.1
Show quoted text
> TL7
> > SP7 with IBM XL C/C++ 10.1, Perl 5.18.1, OpenSSL 1.0.1e > > OpenSSL is installed under /usr/local/openssl, so their lib are under > > /usr/local/openssl/lib and their includes are under > > /usr/local/openssl/include > > I first tried to install it with cpanp but it was not able to find
where Show quoted text
>
> > the lib/include where. > > So I decided to download the tar.gz and manually make it works. > > > > I've been able to compile it with this procedure but the make test was
Show quoted text
> > failing > > /usr/local/perl/bin/perl Makefile.PL > > make LIBS=-L/usr/local/openssl/lib INC=-I/usr/local/openssl/include > > make test > > > > I've cleared everything and after reading the following bug report: > > https://rt.cpan.org/Public/Bug/Display.html?id=78848 > > > > diff -c Crypt-SSLeay-0.64/Makefile.PL > > Crypt-SSLeay-0.64.yaberger/Makefile.PL > > *** Crypt-SSLeay-0.64/Makefile.PL Sat Aug 4 10:11:32 2012 > > --- Crypt-SSLeay-0.64.yaberger/Makefile.PL Wed Sep 18 11:22:11
2013 Show quoted text
> > *************** > > *** 38,44 **** > > > > VERSION_FROM => 'SSLeay.pm', > > > > ! LIBS => [q{-lz -lssl -lcrypto -lssl32 -lssleay32 -leay32}], > > > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > > > --- 38,46 ---- > > > > VERSION_FROM => 'SSLeay.pm', > > > > ! LIBS => [q{-L/usr/local/openssl/lib -lz -lssl -lcrypto -lssl32 > > -lssleay32 -leay32}], > > ! > > ! INC => q{-I/usr/local/openssl/include}, > > > > ($opt_static ? (LINK_TYPE => 'static') : ()), > > And been able to simply follow this procedure > > /usr/local/perl/bin/perl Makefile.PL > > make > > make test > > make install > > > > wouldn't it be possible to pass arguments to "perl Makefile.PL" to set
Show quoted text
> > these values instead of manually modifying the Makefile.PL? > > > > > > Best regards, > > > > Yannick Bergeron > > 450 534-7711 > > yaberger@ca.ibm.com > > Advisory IT Specialist
> > >

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 1.2k
On Wed Apr 16 13:55:49 2014, yaberger@ca.ibm.com wrote: Show quoted text
> Am I certain I need Crypt::SSLeay? That is a good question. This come from > an old procedure that it was require for one or many module. > However, I haven't validated if it's still the case. > > LWP is at 6.05 > I'll investigate more on what I've found below
Here is a summary: - Crypt::SSLeay depends on LWP::Protocol::https - LWP::Protocol::https pulls IO::Socket::SSL - By default, LWP::Protocol::https (therefore LWP::UserAgent) uses IO::Socket:SSL *unless* specifically overridden (see <http://blog.nu42.com/2014/04/does-your-code-really-depend-on.html>). So, looking at a list of files that came with modules installed is not going to answer the question. You need to look your code and see if you specifically override (in one of the ways described in my blog post) the default choice made by LWP::Protocol::https. If that's not the case, then your real dependency is only on LWP::Protocol::https -- not really on Crypt::SSLeay per se. I strongly suspect that your code is actually not relying on Crypt::SSLeay for HTTPS unless you also specifically disable hostname verification which IO::Socket::SSL supports, but Crypt::SSLeay does not. Hope this helps. -- Sinan


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.