In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/bc14e8e2385f8808a3aa1209cee1b41955be52b4?hp=819b03e232729e68d4efd8ad2802b7910f60884e>
- Log ----------------------------------------------------------------- commit bc14e8e2385f8808a3aa1209cee1b41955be52b4 Author: Chris 'BinGOs' Williams <[email protected]> Date: Tue Jan 27 13:12:42 2015 +0000 Update HTTP-Tiny to CPAN version 0.054 [DELTA] 0.054 2015-01-27 07:18:19-05:00 America/New_York [ADDED] - Added more fallback paths to find CA files (thanks golang) [DOCUMENTED] - Fixed a typo ----------------------------------------------------------------------- Summary of changes: Porting/Maintainers.pl | 2 +- cpan/HTTP-Tiny/lib/HTTP/Tiny.pm | 29 +++++++++++++++++++---------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 4ffebd5..0824f99 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -583,7 +583,7 @@ use File::Glob qw(:case); }, 'HTTP::Tiny' => { - 'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.053.tar.gz', + 'DISTRIBUTION' => 'DAGOLDEN/HTTP-Tiny-0.054.tar.gz', 'FILES' => q[cpan/HTTP-Tiny], 'EXCLUDED' => [ 't/00-report-prereqs.t', diff --git a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm index 1276acc..878cce8 100644 --- a/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm +++ b/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm @@ -4,7 +4,7 @@ use strict; use warnings; # ABSTRACT: A small, simple, correct HTTP/1.1 client -our $VERSION = '0.053'; +our $VERSION = '0.054'; use Carp (); @@ -1228,7 +1228,7 @@ sub write_content_body { } $len == $content_length - or die(qq/Content-Length missmatch (got: $len expected: $content_length)\n/); + or die(qq/Content-Length mismatch (got: $len expected: $content_length)\n/); return $len; } @@ -1395,11 +1395,16 @@ sub _find_CA_file { return Mozilla::CA::SSL_ca_file() if eval { require Mozilla::CA }; - foreach my $ca_bundle (qw{ - /etc/ssl/certs/ca-certificates.crt - /etc/pki/tls/certs/ca-bundle.crt - /etc/ssl/ca-bundle.pem - } + # cert list copied from golang src/crypto/x509/root_unix.go + foreach my $ca_bundle ( + "/etc/ssl/certs/ca-certificates.crt", # Debian/Ubuntu/Gentoo etc. + "/etc/pki/tls/certs/ca-bundle.crt", # Fedora/RHEL + "/etc/ssl/ca-bundle.pem", # OpenSUSE + "/etc/openssl/certs/ca-certificates.crt", # NetBSD + "/etc/ssl/cert.pem", # OpenBSD + "/usr/local/share/certs/ca-root-nss.crt", # FreeBSD/DragonFly + "/etc/pki/tls/cacert.pem", # OpenELEC + "/etc/certs/ca-certificates.crt", # Solaris 11.2+ ) { return $ca_bundle if -e $ca_bundle; } @@ -1458,7 +1463,7 @@ HTTP::Tiny - A small, simple, correct HTTP/1.1 client =head1 VERSION -version 0.053 +version 0.054 =head1 SYNOPSIS @@ -2028,7 +2033,7 @@ David Golden <[email protected]> =head1 CONTRIBUTORS -=for stopwords Alan Gardner Alessandro Ghedini Brad Gilbert Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry David Mitchell Dean Pearce Edward Zborowski James Raspass Jess Robinson Lukas ... [141 chars truncated] +=for stopwords Alan Gardner Alessandro Ghedini Brad Gilbert Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry David Mitchell Dean Pearce Edward Zborowski James Raspass Jess Robinson Lukas ... [153 chars truncated] =over 4 @@ -2102,6 +2107,10 @@ Mike Doherty <[email protected]> =item * +Olaf Alders <[email protected]> + +=item * + Petr PÃsaÅ <[email protected]> =item * @@ -2128,7 +2137,7 @@ Tony Cook <[email protected]> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2014 by Christian Hansen. +This software is copyright (c) 2015 by Christian Hansen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. -- Perl5 Master Repository
