Skip Menu |

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

Report information
The Basics
Id: 97187
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: alexander.bluhm [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.64
Fixed in: 1.65



Subject: LibreSSL support

Message body is not shown because it is too large.

Subject: Net-SSLeay-LibreSSL.diff

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #97187] LibreSSL support
Date: Mon, 14 Jul 2014 07:50:55 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hello Alexander, Thanks for your patch. It is now in SVN 418. I would be grateful if you will confirm that revision works OK for you. Maybe time for a new release? Cheers. On Sunday, July 13, 2014 09:06:35 AM you wrote: Show quoted text
> Sun Jul 13 09:06:33 2014: Request 97187 was acted upon. > Transaction: Ticket created by bluhm > Queue: Net-SSLeay > Subject: LibreSSL support > Broken in: 1.64 > Severity: (no value) > Owner: Nobody > Requestors: alexander.bluhm@gmx.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97187 > > > > These patches are necessary to compile and test Net::SSLeay > successfully with LibreSSL on OpenBSD. Please consider to add > support for LibreSSL in Net::SSLeay so that we have an alternative > to OpenSSL. > > I am the maintainer of the p5-Net-SSLeay port in OpenBSD. We have > applied those patches localy. >
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474
From: alexander.bluhm [...] gmx.net
On Sun Jul 13 17:51:11 2014, mikem@airspayce.com wrote: Show quoted text
> It is now in SVN 418. I would be grateful if you will confirm that revision > works OK for you.
The version check is too strict. I think you have missed the chunk with inc/Module/Install/PRIVATE/Net/SSLeay.pm. I still get this error: $ perl Makefile.PL include /crypt/home/bluhm/src/Net-SSLeay/net-ssleay/trunk/inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/PRIVATE/Net/SSLeay.pm include inc/Module/Install/External.pm include inc/Module/Install/Can.pm *** OpenSSL version test failed (`LibreSSL 2.0' has been returned) Either you have bogus OpenSSL or a new version has changed the version number format. Please inform the authors! There are still some leftovers from RAND_egd in lib/Net/SSLeay.pod. --- inc/Module/Install/PRIVATE/Net/SSLeay.pm.orig Tue Apr 1 08:08:37 2014 +++ inc/Module/Install/PRIVATE/Net/SSLeay.pm Sat Jul 12 15:08:02 2014 @@ -229,7 +229,11 @@ sub check_openssl_version { chomp $output; close $pipe; - unless ( ($major, $minor, $letter) = $output =~ /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/ ) { + if ( ($major, $minor, $letter) = $output =~ /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/ ) { + print "*** Found OpenSSL-${major}.${minor}${letter} installed in $prefix\n"; + } elsif ( ($major, $minor) = $output =~ /^LibreSSL\s+(\d+\.\d+)/ ) { + print "*** Found LibreSSL-${major}.${minor} installed in $prefix\n"; + } else { die <<EOM *** OpenSSL version test failed (`$output' has been returned) @@ -238,8 +242,6 @@ sub check_openssl_version { EOM } } - - print "*** Found OpenSSL-${major}.${minor}${letter} installed in $prefix\n"; if ($major < 0.9 || ($major == 0.9 && $minor < 3)) { print <<EOM;
Subject: Re: [rt.cpan.org #97187] LibreSSL support
Date: Mon, 14 Jul 2014 12:49:03 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hi Alexander, On Sunday, July 13, 2014 08:45:59 PM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97187 > > > On Sun Jul 13 17:51:11 2014, mikem@airspayce.com wrote:
> > It is now in SVN 418. I would be grateful if you will confirm that > > revision > > works OK for you.
> > The version check is too strict. I think you have missed the chunk > with inc/Module/Install/PRIVATE/Net/SSLeay.pm. I still get this > error: > > $ perl Makefile.PL > include > /crypt/home/bluhm/src/Net-SSLeay/net-ssleay/trunk/inc/Module/Install.pm > include inc/Module/Install/Metadata.pm > include inc/Module/Install/Base.pm > include inc/Module/Install/Makefile.pm > include inc/Module/Install/PRIVATE/Net/SSLeay.pm > include inc/Module/Install/External.pm > include inc/Module/Install/Can.pm > *** OpenSSL version test failed > (`LibreSSL 2.0' has been returned) > Either you have bogus OpenSSL or a new version has changed the version > number format. Please inform the authors! > > There are still some leftovers from RAND_egd in lib/Net/SSLeay.pod.
Fixed in SVN 419 Show quoted text
> > --- inc/Module/Install/PRIVATE/Net/SSLeay.pm.orig Tue Apr 1 08:08:37 2014 > +++ inc/Module/Install/PRIVATE/Net/SSLeay.pm Sat Jul 12 15:08:02 2014 > @@ -229,7 +229,11 @@ sub check_openssl_version { > chomp $output; > close $pipe; > > - unless ( ($major, $minor, $letter) = $output =~ > /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/ ) { + if ( ($major, $minor,
$letter) Show quoted text
> = $output =~ /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/ ) { + print "*** > Found OpenSSL-${major}.${minor}${letter} installed in $prefix\n"; + }
elsif Show quoted text
> ( ($major, $minor) = $output =~ /^LibreSSL\s+(\d+\.\d+)/ ) { + print > "*** Found LibreSSL-${major}.${minor} installed in $prefix\n"; + } else { > die <<EOM > *** OpenSSL version test failed > (`$output' has been returned) > @@ -238,8 +242,6 @@ sub check_openssl_version { > EOM > } > } > - > - print "*** Found OpenSSL-${major}.${minor}${letter} installed in > $prefix\n"; > > if ($major < 0.9 || ($major == 0.9 && $minor < 3)) { > print <<EOM;
Hmmm, I think SVN has the correct versoin as modified by your patch. Is there a permissions problem with that file preventing you getting or updating it? Cheers. -- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474
On Sun Jul 13 22:49:16 2014, mikem@airspayce.com wrote: Show quoted text
> Hi Alexander, > > On Sunday, July 13, 2014 08:45:59 PM you wrote:
> > Queue: Net-SSLeay > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97187 > > > > > On Sun Jul 13 17:51:11 2014, mikem@airspayce.com wrote:
> > > It is now in SVN 418. I would be grateful if you will confirm that > > > revision > > > works OK for you.
> > > > The version check is too strict. I think you have missed the chunk > > with inc/Module/Install/PRIVATE/Net/SSLeay.pm. I still get this > > error: > > > > $ perl Makefile.PL > > include > > /crypt/home/bluhm/src/Net-SSLeay/net- > > ssleay/trunk/inc/Module/Install.pm > > include inc/Module/Install/Metadata.pm > > include inc/Module/Install/Base.pm > > include inc/Module/Install/Makefile.pm > > include inc/Module/Install/PRIVATE/Net/SSLeay.pm > > include inc/Module/Install/External.pm > > include inc/Module/Install/Can.pm > > *** OpenSSL version test failed > > (`LibreSSL 2.0' has been returned) > > Either you have bogus OpenSSL or a new version has changed the > > version > > number format. Please inform the authors! > > > > There are still some leftovers from RAND_egd in lib/Net/SSLeay.pod.
> > Fixed in SVN 419 >
> > > > --- inc/Module/Install/PRIVATE/Net/SSLeay.pm.orig Tue Apr 1 > > 08:08:37 2014 > > +++ inc/Module/Install/PRIVATE/Net/SSLeay.pm Sat Jul 12 15:08:02 > > 2014 > > @@ -229,7 +229,11 @@ sub check_openssl_version { > > chomp $output; > > close $pipe; > > > > - unless ( ($major, $minor, $letter) = $output =~ > > /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/ ) { + if ( ($major, $minor,
> $letter)
> > = $output =~ /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/ ) { + > > print "*** > > Found OpenSSL-${major}.${minor}${letter} installed in $prefix\n"; + > > }
> elsif
> > ( ($major, $minor) = $output =~ /^LibreSSL\s+(\d+\.\d+)/ ) { + > > print > > "*** Found LibreSSL-${major}.${minor} installed in $prefix\n"; + > > } else { > > die <<EOM > > *** OpenSSL version test failed > > (`$output' has been returned) > > @@ -238,8 +242,6 @@ sub check_openssl_version { > > EOM > > } > > } > > - > > - print "*** Found OpenSSL-${major}.${minor}${letter} installed in > > $prefix\n"; > > > > if ($major < 0.9 || ($major == 0.9 && $minor < 3)) { > > print <<EOM;
> > > Hmmm, I think SVN has the correct versoin as modified by your patch. > Is there a > permissions problem with that file preventing you getting or updating > it? > > Cheers.
The patch attached in the original message worked perfectly for me. Exherbo Linux amd64 with LibreSSL portable 2.0.1.
From: alexander.bluhm [...] gmx.net
On Sun Jul 13 22:49:16 2014, mikem@airspayce.com wrote: Show quoted text
> Hmmm, I think SVN has the correct versoin as modified by your patch. > Is there a > permissions problem with that file preventing you getting or updating > it?
I made a new SVN checkout and now it works fine. Thanks for commiting my patch. Here is my make and test output. bluhm@t430s:.../trunk$ perl Makefile.PL include /crypt/home/bluhm/src/Net-SSLeay/net-ssleay/trunk/inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/PRIVATE/Net/SSLeay.pm include inc/Module/Install/External.pm include inc/Module/Install/Can.pm *** Found LibreSSL-2.0. installed in /usr *** That's newer than what this module was tested with You should consider checking if there is a newer release of this module available. Everything will probably work OK, though. *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] y include inc/Module/Install/WriteAll.pm include inc/Module/Install/Win32.pm include inc/Module/Install/Fetch.pm Checking if your kit is complete... Warning: the following files are missing in your kit: Debian_CPANTS.txt META.yml Please inform the author. Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json Writing META.yml bluhm@t430s:.../trunk$ make cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ /usr/bin/perl "-Iinc" /usr/libdata/perl5/ExtUtils/xsubpp -typemap /usr/libdata/perl5/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -I/usr/include -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector -I/usr/local/include -O2 -DVERSION=\"1.64\" -DXS_VERSION=\"1.64\" -DPIC -fPIC "-I/usr/libdata/perl5/amd64-openbsd/5.18.2/CORE" SSLeay.c Running Mkbootstrap for Net::SSLeay () chmod 644 SSLeay.bs rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/usr/lib" cc -shared -fPIC -fstack-protector SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so -L/usr -L/usr/lib -lssl -lcrypto -lz chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs Manifying blib/man3/Net::SSLeay::Handle.3p Manifying blib/man3/Net::SSLeay.3p bluhm@t430s:.../trunk$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*/*.t t/*/*/*.t t/external/08_external.t ............... ok t/external/15_altnames.t ............... ok t/external/20_cert_chain.t ............. ok t/external/ocsp.t ...................... # tcp connect to www.live.com:443 ok # got stapled OCSP response # SSL_connect ok t/external/ocsp.t ...................... 1/3 # tcp connect to www.google.com:443 ok # got no stapled OCSP response # SSL_connect ok # tcp connect to revoked.grc.com:443 ok # got stapled OCSP response # SSL_connect ok # fingerprint matches # status=1 as expected: nextUpd=Mon Jul 14 17:07:13 2014 # status=1 as expected: nextUpd=Thu Jul 17 10:31:42 2014 # status=0 as expected: nextUpd=Thu Jan 15 06:00:00 2015 t/external/ocsp.t ...................... ok t/handle/external/10_destroy.t ......... ok t/handle/external/50_external.t ........ ok t/handle/local/05_use.t ................ ok t/local/01_pod.t ....................... ok t/local/02_pod_coverage.t .............. skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1 t/local/03_use.t ....................... ok t/local/04_basic.t ..................... 1/6 # Version info: # Testing Net::SSLeay 1.64, Perl 5.018002, /usr/bin/perl # OpenSSL version: 'LibreSSL 2.0' # OpenSSL platform: 'platform: information not available' t/local/04_basic.t ..................... ok t/local/05_passwd_cb.t ................. ok t/local/06_tcpecho.t ................... ok t/local/07_sslecho.t ................... ok t/local/08_pipe.t ...................... ok t/local/15_bio.t ....................... ok t/local/20_autoload.t .................. ok t/local/21_constants.t ................. ok t/local/30_error.t ..................... ok t/local/31_rsa_generate_key.t .......... ok t/local/32_x509_get_cert_info.t ........ ok t/local/33_x509_create_cert.t .......... ok t/local/34_x509_crl.t .................. ok t/local/35_ephemeral.t ................. ok t/local/36_verify.t .................... ok t/local/37_asn1_time.t ................. ok t/local/38_priv-key.t .................. ok t/local/39_pkcs12.t .................... ok t/local/40_npn_support.t ............... ok t/local/41_alpn_support.t .............. skipped: libressl not supported t/local/42_info_callback.t ............. ok t/local/50_digest.t .................... ok t/local/61_threads-cb-crash.t .......... skipped: your perl is not compiled with ithreads or is pre-5.8 t/local/62_threads-ctx_new-deadlock.t .. skipped: your perl is not compiled with ithreads or is pre-5.8 t/local/kwalitee.t ..................... skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1 All tests successful. Files=35, Tests=2753, 15 wallclock secs ( 0.33 usr 0.13 sys + 2.44 cusr 0.55 csys = 3.45 CPU) Result: PASS bluhm@t430s:.../trunk$ svn info Path: . Working Copy Root Path: /crypt/home/bluhm/src/Net-SSLeay/net-ssleay URL: svn://svn.debian.org/svn/net-ssleay/trunk Relative URL: ^/trunk Repository Root: svn://svn.debian.org/svn/net-ssleay Repository UUID: 008bcf62-b706-0410-a62e-d321f1c85ab9 Revision: 421 Node Kind: directory Schedule: normal Last Changed Author: mikem-guest Last Changed Rev: 421 Last Changed Date: 2014-07-14 09:15:58 +0200 (Mon, 14 Jul 2014)
Subject: Re: [rt.cpan.org #97187] LibreSSL support
Date: Mon, 14 Jul 2014 20:09:44 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks. New release soon. On Monday, July 14, 2014 04:37:22 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97187 > > > On Sun Jul 13 22:49:16 2014, mikem@airspayce.com wrote:
> > Hmmm, I think SVN has the correct versoin as modified by your patch. > > Is there a > > permissions problem with that file preventing you getting or updating > > it?
> > I made a new SVN checkout and now it works fine. Thanks for commiting > my patch. Here is my make and test output. > > bluhm@t430s:.../trunk$ perl Makefile.PL > include > /crypt/home/bluhm/src/Net-SSLeay/net-ssleay/trunk/inc/Module/Install.pm > include inc/Module/Install/Metadata.pm > include inc/Module/Install/Base.pm > include inc/Module/Install/Makefile.pm > include inc/Module/Install/PRIVATE/Net/SSLeay.pm > include inc/Module/Install/External.pm > include inc/Module/Install/Can.pm > *** Found LibreSSL-2.0. installed in /usr > *** That's newer than what this module was tested with > You should consider checking if there is a newer release of this module > available. Everything will probably work OK, though. > *** Be sure to use the same compiler and options to compile your OpenSSL, > perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do > you want to run external tests? > These tests *will* *fail* if you do not have network connectivity. [n] y > include inc/Module/Install/WriteAll.pm > include inc/Module/Install/Win32.pm > include inc/Module/Install/Fetch.pm > Checking if your kit is complete... > Warning: the following files are missing in your kit: > Debian_CPANTS.txt > META.yml > Please inform the author. > Writing Makefile for Net::SSLeay > Writing MYMETA.yml and MYMETA.json > Writing META.yml > bluhm@t430s:.../trunk$ make > cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod > cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm > cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > characters: directory blib/lib/auto/Net/SSLeay: > do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https > do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx > get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, > get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to > get_http head_https.al, head_https3.al, head_https4.al, head_http.al, > head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al > truncate to head_htt post_https.al, post_https3.al, post_https4.al, > post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, > post_httpx4.al truncate to post_htt put_https.al, put_https3.al, > put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, > put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, > ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, > ssl_write_CRLF.al truncate to ssl_writ > tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read > tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ > /usr/bin/perl "-Iinc" /usr/libdata/perl5/ExtUtils/xsubpp -typemap > /usr/libdata/perl5/ExtUtils/typemap -typemap typemap SSLeay.xs > > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -I/usr/include > -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing > -fno-delete-null-pointer-checks -pipe -fstack-protector > -I/usr/local/include -O2 -DVERSION=\"1.64\" -DXS_VERSION=\"1.64\" -DPIC > -fPIC "-I/usr/libdata/perl5/amd64-openbsd/5.18.2/CORE" SSLeay.c Running > Mkbootstrap for Net::SSLeay () > chmod 644 SSLeay.bs > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > LD_RUN_PATH="/usr/lib" cc -shared -fPIC -fstack-protector SSLeay.o -o > blib/arch/auto/Net/SSLeay/SSLeay.so -L/usr -L/usr/lib -lssl -lcrypto > -lz chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so > cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs > chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs > Manifying blib/man3/Net::SSLeay::Handle.3p > Manifying blib/man3/Net::SSLeay.3p > bluhm@t430s:.../trunk$ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*/*.t t/*/*/*.t > t/external/08_external.t ............... ok > t/external/15_altnames.t ............... ok > t/external/20_cert_chain.t ............. ok > t/external/ocsp.t ...................... # tcp connect to www.live.com:443 > ok # got stapled OCSP response > # SSL_connect ok > t/external/ocsp.t ...................... 1/3 # tcp connect to > www.google.com:443 ok # got no stapled OCSP response > # SSL_connect ok > # tcp connect to revoked.grc.com:443 ok > # got stapled OCSP response > # SSL_connect ok > # fingerprint matches > # status=1 as expected: nextUpd=Mon Jul 14 17:07:13 2014 > # status=1 as expected: nextUpd=Thu Jul 17 10:31:42 2014 > # status=0 as expected: nextUpd=Thu Jan 15 06:00:00 2015 > t/external/ocsp.t ...................... ok > t/handle/external/10_destroy.t ......... ok > t/handle/external/50_external.t ........ ok > t/handle/local/05_use.t ................ ok > t/local/01_pod.t ....................... ok > t/local/02_pod_coverage.t .............. skipped: these tests are for only > for release candidate testing. Enable with RELEASE_TESTING=1 > t/local/03_use.t ....................... ok > t/local/04_basic.t ..................... 1/6 # Version info: > # Testing Net::SSLeay 1.64, Perl 5.018002, /usr/bin/perl > # OpenSSL version: 'LibreSSL 2.0' > # OpenSSL platform: 'platform: information not available' > t/local/04_basic.t ..................... ok > t/local/05_passwd_cb.t ................. ok > t/local/06_tcpecho.t ................... ok > t/local/07_sslecho.t ................... ok > t/local/08_pipe.t ...................... ok > t/local/15_bio.t ....................... ok > t/local/20_autoload.t .................. ok > t/local/21_constants.t ................. ok > t/local/30_error.t ..................... ok > t/local/31_rsa_generate_key.t .......... ok > t/local/32_x509_get_cert_info.t ........ ok > t/local/33_x509_create_cert.t .......... ok > t/local/34_x509_crl.t .................. ok > t/local/35_ephemeral.t ................. ok > t/local/36_verify.t .................... ok > t/local/37_asn1_time.t ................. ok > t/local/38_priv-key.t .................. ok > t/local/39_pkcs12.t .................... ok > t/local/40_npn_support.t ............... ok > t/local/41_alpn_support.t .............. skipped: libressl not supported > t/local/42_info_callback.t ............. ok > t/local/50_digest.t .................... ok > t/local/61_threads-cb-crash.t .......... skipped: your perl is not compiled > with ithreads or is pre-5.8 t/local/62_threads-ctx_new-deadlock.t .. > skipped: your perl is not compiled with ithreads or is pre-5.8 > t/local/kwalitee.t ..................... skipped: these tests are for only > for release candidate testing. Enable with RELEASE_TESTING=1 All tests > successful. > Files=35, Tests=2753, 15 wallclock secs ( 0.33 usr 0.13 sys + 2.44 cusr > 0.55 csys = 3.45 CPU) Result: PASS > bluhm@t430s:.../trunk$ svn info > Path: . > Working Copy Root Path: /crypt/home/bluhm/src/Net-SSLeay/net-ssleay > URL: svn://svn.debian.org/svn/net-ssleay/trunk > Relative URL: ^/trunk > Repository Root: svn://svn.debian.org/svn/net-ssleay > Repository UUID: 008bcf62-b706-0410-a62e-d321f1c85ab9 > Revision: 421 > Node Kind: directory > Schedule: normal > Last Changed Author: mikem-guest > Last Changed Rev: 421 > Last Changed Date: 2014-07-14 09:15:58 +0200 (Mon, 14 Jul 2014)
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474
Subject: Re: [rt.cpan.org #97187] LibreSSL support
Date: Mon, 14 Jul 2014 20:33:18 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Version 1.65 has been pushed to CPAN. Cheers. On Monday, July 14, 2014 08:09:44 PM you wrote: Show quoted text
> Thanks. > > New release soon. > > On Monday, July 14, 2014 04:37:22 AM you wrote:
> > Queue: Net-SSLeay > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97187 > > > > > On Sun Jul 13 22:49:16 2014, mikem@airspayce.com wrote:
> > > Hmmm, I think SVN has the correct versoin as modified by your patch. > > > Is there a > > > permissions problem with that file preventing you getting or updating > > > it?
> > > > I made a new SVN checkout and now it works fine. Thanks for commiting > > my patch. Here is my make and test output. > > > > bluhm@t430s:.../trunk$ perl Makefile.PL > > include > > /crypt/home/bluhm/src/Net-SSLeay/net-ssleay/trunk/inc/Module/Install.pm > > include inc/Module/Install/Metadata.pm > > include inc/Module/Install/Base.pm > > include inc/Module/Install/Makefile.pm > > include inc/Module/Install/PRIVATE/Net/SSLeay.pm > > include inc/Module/Install/External.pm > > include inc/Module/Install/Can.pm > > *** Found LibreSSL-2.0. installed in /usr > > *** That's newer than what this module was tested with > > > > You should consider checking if there is a newer release of this > > module > > available. Everything will probably work OK, though. > > > > *** Be sure to use the same compiler and options to compile your OpenSSL, > > perl, and Net::SSLeay. Mixing and matching compilers is not supported. Do > > you want to run external tests? > > These tests *will* *fail* if you do not have network connectivity. [n] y > > include inc/Module/Install/WriteAll.pm > > include inc/Module/Install/Win32.pm > > include inc/Module/Install/Fetch.pm > > Checking if your kit is complete... > > > > Warning: the following files are missing in your kit: > > Debian_CPANTS.txt > > META.yml > > > > Please inform the author. > > Writing Makefile for Net::SSLeay > > Writing MYMETA.yml and MYMETA.json > > Writing META.yml > > bluhm@t430s:.../trunk$ make > > cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod > > cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm > > cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm > > AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) > > blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 > > > > characters: directory blib/lib/auto/Net/SSLeay: > > do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to > > do_https > > > > do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx > > > > get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, > > > > get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to > > get_http head_https.al, head_https3.al, head_https4.al, head_http.al, > > head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, > > head_httpx4.al > > truncate to head_htt post_https.al, post_https3.al, post_https4.al, > > post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, > > post_httpx4.al truncate to post_htt put_https.al, put_https3.al, > > put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, > > put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, > > ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, > > ssl_write_CRLF.al truncate to ssl_writ > > > > tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to > > tcp_read > > tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ > > > > /usr/bin/perl "-Iinc" /usr/libdata/perl5/ExtUtils/xsubpp -typemap > > /usr/libdata/perl5/ExtUtils/typemap -typemap typemap SSLeay.xs > > > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -I/usr/include > > -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing > > -fno-delete-null-pointer-checks -pipe -fstack-protector > > -I/usr/local/include -O2 -DVERSION=\"1.64\" -DXS_VERSION=\"1.64\" > > -DPIC > > -fPIC "-I/usr/libdata/perl5/amd64-openbsd/5.18.2/CORE" SSLeay.c Running > > Mkbootstrap for Net::SSLeay () > > chmod 644 SSLeay.bs > > rm -f blib/arch/auto/Net/SSLeay/SSLeay.so > > LD_RUN_PATH="/usr/lib" cc -shared -fPIC -fstack-protector SSLeay.o -o > > blib/arch/auto/Net/SSLeay/SSLeay.so -L/usr -L/usr/lib -lssl -lcrypto > > -lz chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so > > cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs > > chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs > > Manifying blib/man3/Net::SSLeay::Handle.3p > > Manifying blib/man3/Net::SSLeay.3p > > bluhm@t430s:.../trunk$ make test > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*/*.t t/*/*/*.t > > t/external/08_external.t ............... ok > > t/external/15_altnames.t ............... ok > > t/external/20_cert_chain.t ............. ok > > t/external/ocsp.t ...................... # tcp connect to www.live.com:443 > > ok # got stapled OCSP response > > # SSL_connect ok > > t/external/ocsp.t ...................... 1/3 # tcp connect to > > www.google.com:443 ok # got no stapled OCSP response > > # SSL_connect ok > > # tcp connect to revoked.grc.com:443 ok > > # got stapled OCSP response > > # SSL_connect ok > > # fingerprint matches > > # status=1 as expected: nextUpd=Mon Jul 14 17:07:13 2014 > > # status=1 as expected: nextUpd=Thu Jul 17 10:31:42 2014 > > # status=0 as expected: nextUpd=Thu Jan 15 06:00:00 2015 > > t/external/ocsp.t ...................... ok > > t/handle/external/10_destroy.t ......... ok > > t/handle/external/50_external.t ........ ok > > t/handle/local/05_use.t ................ ok > > t/local/01_pod.t ....................... ok > > t/local/02_pod_coverage.t .............. skipped: these tests are for only > > for release candidate testing. Enable with RELEASE_TESTING=1 > > t/local/03_use.t ....................... ok > > t/local/04_basic.t ..................... 1/6 # Version info: > > # Testing Net::SSLeay 1.64, Perl 5.018002, /usr/bin/perl > > # OpenSSL version: 'LibreSSL 2.0' > > # OpenSSL platform: 'platform: information not available' > > t/local/04_basic.t ..................... ok > > t/local/05_passwd_cb.t ................. ok > > t/local/06_tcpecho.t ................... ok > > t/local/07_sslecho.t ................... ok > > t/local/08_pipe.t ...................... ok > > t/local/15_bio.t ....................... ok > > t/local/20_autoload.t .................. ok > > t/local/21_constants.t ................. ok > > t/local/30_error.t ..................... ok > > t/local/31_rsa_generate_key.t .......... ok > > t/local/32_x509_get_cert_info.t ........ ok > > t/local/33_x509_create_cert.t .......... ok > > t/local/34_x509_crl.t .................. ok > > t/local/35_ephemeral.t ................. ok > > t/local/36_verify.t .................... ok > > t/local/37_asn1_time.t ................. ok > > t/local/38_priv-key.t .................. ok > > t/local/39_pkcs12.t .................... ok > > t/local/40_npn_support.t ............... ok > > t/local/41_alpn_support.t .............. skipped: libressl not supported > > t/local/42_info_callback.t ............. ok > > t/local/50_digest.t .................... ok > > t/local/61_threads-cb-crash.t .......... skipped: your perl is not > > compiled > > with ithreads or is pre-5.8 t/local/62_threads-ctx_new-deadlock.t .. > > skipped: your perl is not compiled with ithreads or is pre-5.8 > > t/local/kwalitee.t ..................... skipped: these tests are for only > > for release candidate testing. Enable with RELEASE_TESTING=1 All tests > > successful. > > Files=35, Tests=2753, 15 wallclock secs ( 0.33 usr 0.13 sys + 2.44 cusr > > 0.55 csys = 3.45 CPU) Result: PASS > > bluhm@t430s:.../trunk$ svn info > > Path: . > > Working Copy Root Path: /crypt/home/bluhm/src/Net-SSLeay/net-ssleay > > URL: svn://svn.debian.org/svn/net-ssleay/trunk > > Relative URL: ^/trunk > > Repository Root: svn://svn.debian.org/svn/net-ssleay > > Repository UUID: 008bcf62-b706-0410-a62e-d321f1c85ab9 > > Revision: 421 > > Node Kind: directory > > Schedule: normal > > Last Changed Author: mikem-guest > > Last Changed Rev: 421 > > Last Changed Date: 2014-07-14 09:15:58 +0200 (Mon, 14 Jul 2014)
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474
From: alexander.bluhm [...] gmx.net
On Mon Jul 14 06:33:38 2014, mikem@airspayce.com wrote: Show quoted text
> Version 1.65 has been pushed to CPAN.
I have updated the OpenBSD port with that version. Works fine.
Subject: Re: [rt.cpan.org #97187] LibreSSL support
Date: Tue, 15 Jul 2014 05:59:51 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks. Cheers. On Monday, July 14, 2014 07:29:20 AM Alexander Bluhm via RT wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97187 > > > On Mon Jul 14 06:33:38 2014, mikem@airspayce.com wrote:
> > Version 1.65 has been pushed to CPAN.
> > I have updated the OpenBSD port with that version. Works fine.
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474