diff options
-rw-r--r-- | Changes | 6 | ||||
-rw-r--r-- | MANIFEST | 2 | ||||
-rw-r--r-- | META.json | 104 | ||||
-rw-r--r-- | META.yml | 114 | ||||
-rw-r--r-- | Makefile.PL | 2 | ||||
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/patches/cert.patch | 4 | ||||
-rw-r--r-- | lib/LWP/Protocol/https.pm | 9 | ||||
-rw-r--r-- | xt/author/pod-spell.t | 7 | ||||
-rw-r--r-- | xt/release/changes_has_content.t | 2 |
10 files changed, 143 insertions, 115 deletions
@@ -1,5 +1,11 @@ Release history for LWP-Protocol-https +6.12 2024-01-22 17:51:31Z + - Enable MultiHomed for IO::Socket::SSL (GH#61) (ℕicolas ℝ.) + - Making it possible to use IPv6 in https call through https proxy + environment (in case of using CONNECT method to create a tunnel) (GH#74) + (Dmitriy Shamatrin) + 6.11 2023-07-09 15:10:30Z - Remove Authority section from dist.ini (GH#64) (Olaf Alders) - Add very basic diagnostic information via test (GH#73) (Olaf Alders) @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.031. CONTRIBUTING.md Changes Install @@ -4,7 +4,7 @@ "Gisle Aas <gisle@activestate.com>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.031, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -92,11 +92,11 @@ "provides" : { "LWP::Protocol::https" : { "file" : "lib/LWP/Protocol/https.pm", - "version" : "6.11" + "version" : "6.12" }, "LWP::Protocol::https::Socket" : { "file" : "lib/LWP/Protocol/https.pm", - "version" : "6.11" + "version" : "6.12" } }, "release_status" : "stable", @@ -113,10 +113,10 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:libwww@perl.org" }, - "version" : "6.11", + "version" : "6.12", "x_Dist_Zilla" : { "perl" : { - "version" : "5.036000" + "version" : "5.034000" }, "plugins" : [ { @@ -130,7 +130,6 @@ "README.md" ], "exclude_match" : [], - "follow_symlinks" : 0, "include_dotfiles" : 0, "prefix" : "", "prune_directory" : [], @@ -141,17 +140,17 @@ } }, "name" : "Git::GatherDir", - "version" : "2.048" + "version" : "2.049" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "PruneCruft", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "MetaConfig", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -161,7 +160,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.030" + "version" : "6.031" } ], "include_underscores" : 0 @@ -183,22 +182,22 @@ { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "MetaNoIndex", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "MetaYAML", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "MetaJSON", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Git::Check", @@ -217,18 +216,18 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.41.0", + "git_version" : "2.34.1", "repo_root" : "." } }, "name" : "Git::Check", - "version" : "2.048" + "version" : "2.049" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.41.0", + "git_version" : "2.34.1", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -246,12 +245,12 @@ { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "Manifest", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "License", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -272,7 +271,7 @@ } }, "name" : "@Git::VersionManager/pluginbundle version", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -328,7 +327,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.41.0", + "git_version" : "2.34.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -336,7 +335,7 @@ } }, "name" : "@Git::VersionManager/release snapshot", - "version" : "2.048" + "version" : "2.049" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -345,12 +344,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.11", + "tag" : "v6.12", "tag_format" : "v%V", "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.41.0", + "git_version" : "2.34.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -358,7 +357,7 @@ } }, "name" : "@Git::VersionManager/Git::Tag", - "version" : "2.048" + "version" : "2.049" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional", @@ -379,7 +378,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Git::VersionManager/NextRelease", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -401,7 +400,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.41.0", + "git_version" : "2.34.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -409,7 +408,7 @@ } }, "name" : "@Git::VersionManager/post-release commit", - "version" : "2.048" + "version" : "2.049" }, { "class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile", @@ -421,11 +420,11 @@ "config" : { "Dist::Zilla::Plugin::MakeMaker" : { "make_path" : "make", - "version" : "6.030" + "version" : "6.031" }, "Dist::Zilla::Role::TestRunner" : { "default_jobs" : "8", - "version" : "6.030" + "version" : "6.031" } }, "name" : "MakeMaker::Awesome", @@ -532,7 +531,7 @@ { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "MetaTests", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -552,7 +551,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "PodSyntaxTests", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable", @@ -598,17 +597,17 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "TestRelease", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "ConfirmRelease", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "UploadToCPAN", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -620,67 +619,67 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.41.0", + "git_version" : "2.34.1", "repo_root" : "." } }, "name" : "Git::Push", - "version" : "2.048" + "version" : "2.049" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.030" + "version" : "6.031" } ], "zilla" : { @@ -688,7 +687,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.030" + "version" : "6.031" } }, "x_contributors" : [ @@ -709,6 +708,8 @@ "David E. Wheeler <david@justatheory.com>", "David Golden <dagolden@cpan.org>", "DAVIDRW <davidrw@cpan.org>", + "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>", + "Dmitriy Shamatrin <dshamatrin@cloudbees.com>", "drieux <drieux@yahoo-inc.com>", "Father Chrysostomos <sprout@cpan.org>", "FWILES <FWILES@cpan.org>", @@ -731,6 +732,7 @@ "Mike Schilli <github@perlmeister.com>", "Mohammad S Anwar <mohammad.anwar@yahoo.com>", "murphy <murphy@genome.chop.edu>", + "Nicolas R <nicolas@atoomic.org>", "Olaf Alders <olaf@wundersolutions.com>", "Ondrej Hanak <ondrej.hanak@ubs.com>", "openstrike <git@openstrike.co.uk>", @@ -758,8 +760,8 @@ "Yury Zavarin <yury.zavarin@gmail.com>", "Zefram <zefram@fysh.org>" ], - "x_generated_by_perl" : "v5.36.0", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.36", + "x_generated_by_perl" : "v5.34.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.37", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } @@ -21,7 +21,7 @@ configure_requires: ExtUtils::MakeMaker: '0' perl: '5.008001' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.031, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -34,10 +34,10 @@ no_index: provides: LWP::Protocol::https: file: lib/LWP/Protocol/https.pm - version: '6.11' + version: '6.12' LWP::Protocol::https::Socket: file: lib/LWP/Protocol/https.pm - version: '6.11' + version: '6.12' requires: IO::Socket::SSL: '1.970' LWP::Protocol::http: '0' @@ -52,10 +52,10 @@ resources: bugtracker: https://github.com/libwww-perl/LWP-Protocol-https/issues homepage: https://github.com/libwww-perl/LWP-Protocol-https repository: https://github.com/libwww-perl/LWP-Protocol-https.git -version: '6.11' +version: '6.12' x_Dist_Zilla: perl: - version: '5.036000' + version: '5.034000' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -67,7 +67,6 @@ x_Dist_Zilla: - Makefile.PL - README.md exclude_match: [] - follow_symlinks: 0 include_dotfiles: 0 prefix: '' prune_directory: [] @@ -75,15 +74,15 @@ x_Dist_Zilla: Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: Git::GatherDir - version: '2.048' + version: '2.049' - class: Dist::Zilla::Plugin::PruneCruft name: PruneCruft - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaConfig name: MetaConfig - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -92,13 +91,13 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '6.030' + version: '6.031' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' - inherit_missing: 1 - inherit_version: 1 - meta_noindex: 1 + inherit_missing: '1' + inherit_version: '1' + meta_noindex: '1' Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' version: '0.006' @@ -107,19 +106,19 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::MetaNoIndex name: MetaNoIndex - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaYAML name: MetaYAML - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaJSON name: MetaJSON - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Git::Check config: @@ -134,15 +133,15 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.41.0 + git_version: 2.34.1 repo_root: . name: Git::Check - version: '2.048' + version: '2.049' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.41.0 + git_version: 2.34.1 include_authors: 0 include_releaser: 1 order_by: name @@ -156,11 +155,11 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::Manifest name: Manifest - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::License name: License - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -175,7 +174,7 @@ x_Dist_Zilla: phase: develop type: recommends name: '@Git::VersionManager/pluginbundle version' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -208,7 +207,7 @@ x_Dist_Zilla: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] commit_msg: v%V%n%n%c - signoff: 0 + signoff: '0' Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - Changes @@ -218,12 +217,12 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.41.0 + git_version: 2.34.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Git::VersionManager/release snapshot' - version: '2.048' + version: '2.049' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -231,16 +230,16 @@ x_Dist_Zilla: branch: ~ changelog: Changes signed: 0 - tag: v6.11 + tag: v6.12 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: - git_version: 2.41.0 + git_version: 2.34.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Git::VersionManager/Git::Tag' - version: '2.048' + version: '2.049' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional config: @@ -256,14 +255,14 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::NextRelease name: '@Git::VersionManager/NextRelease' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Git::Commit config: Dist::Zilla::Plugin::Git::Commit: add_files_in: [] commit_msg: 'increment $VERSION after %v release' - signoff: 0 + signoff: '0' Dist::Zilla::Role::Git::DirtyFiles: allow_dirty: - Build.PL @@ -273,12 +272,12 @@ x_Dist_Zilla: - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.41.0 + git_version: 2.34.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Git::VersionManager/post-release commit' - version: '2.048' + version: '2.049' - class: Dist::Zilla::Plugin::Prereqs::FromCPANfile name: Prereqs::FromCPANfile @@ -288,10 +287,10 @@ x_Dist_Zilla: config: Dist::Zilla::Plugin::MakeMaker: make_path: make - version: '6.030' + version: '6.031' Dist::Zilla::Role::TestRunner: default_jobs: '8' - version: '6.030' + version: '6.031' name: MakeMaker::Awesome version: '0.49' - @@ -371,7 +370,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::MetaTests name: MetaTests - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: Test::ChangesHasContent @@ -386,7 +385,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::PodSyntaxTests name: PodSyntaxTests - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable name: Test::Pod::Coverage::Configurable @@ -421,15 +420,15 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::TestRelease name: TestRelease - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::ConfirmRelease name: ConfirmRelease - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::UploadToCPAN name: UploadToCPAN - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Git::Push config: @@ -438,59 +437,59 @@ x_Dist_Zilla: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.41.0 + git_version: 2.34.1 repo_root: . name: Git::Push - version: '2.048' + version: '2.049' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '6.030' + version: '6.031' zilla: class: Dist::Zilla::Dist::Builder config: - is_trial: 0 - version: '6.030' + is_trial: '0' + version: '6.031' x_contributors: - 'Adam Kennedy <adamk@cpan.org>' - 'Adam Sjogren <asjo@koldfront.dk>' @@ -509,6 +508,8 @@ x_contributors: - 'David E. Wheeler <david@justatheory.com>' - 'David Golden <dagolden@cpan.org>' - 'DAVIDRW <davidrw@cpan.org>' + - 'dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>' + - 'Dmitriy Shamatrin <dshamatrin@cloudbees.com>' - 'drieux <drieux@yahoo-inc.com>' - 'Father Chrysostomos <sprout@cpan.org>' - 'FWILES <FWILES@cpan.org>' @@ -531,6 +532,7 @@ x_contributors: - 'Mike Schilli <github@perlmeister.com>' - 'Mohammad S Anwar <mohammad.anwar@yahoo.com>' - 'murphy <murphy@genome.chop.edu>' + - 'Nicolas R <nicolas@atoomic.org>' - 'Olaf Alders <olaf@wundersolutions.com>' - 'Ondrej Hanak <ondrej.hanak@ubs.com>' - 'openstrike <git@openstrike.co.uk>' @@ -557,6 +559,6 @@ x_contributors: - 'Yuri Karaban <tech@askold.net>' - 'Yury Zavarin <yury.zavarin@gmail.com>' - 'Zefram <zefram@fysh.org>' -x_generated_by_perl: v5.36.0 +x_generated_by_perl: v5.34.0 x_serialization_backend: 'YAML::Tiny version 1.74' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff --git a/Makefile.PL b/Makefile.PL index 3798ba3..e10b293 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -41,7 +41,7 @@ my %WriteMakefileArgs = ( "Test::RequiresInternet" => 0, "warnings" => 0 }, - "VERSION" => "6.11", + "VERSION" => "6.12", "test" => { "TESTS" => "t/*.t" } diff --git a/debian/changelog b/debian/changelog index a81935c..edb19c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +liblwp-protocol-https-perl (6.12-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 6.12. + * Refresh cert.patch. + + -- gregor herrmann <gregoa@debian.org> Sat, 27 Jan 2024 03:24:44 +0100 + liblwp-protocol-https-perl (6.11-1) unstable; urgency=medium * Team upload. diff --git a/debian/patches/cert.patch b/debian/patches/cert.patch index c3d43ff..bcb2973 100644 --- a/debian/patches/cert.patch +++ b/debian/patches/cert.patch @@ -4,7 +4,7 @@ Bug-Debian: https://bugs.debian.org/619059 Forwarded: not-needed Author: Nicholas Bamber <nicholas@periapt.co.uk> Reviewed-by: gregor herrmann <gregoa@debian.org> -Last-Update: 2023-07-09 +Last-Update: 2024-01-27 --- a/lib/LWP/Protocol/https.pm +++ b/lib/LWP/Protocol/https.pm @@ -26,7 +26,7 @@ Last-Update: 2023-07-09 -environment variable to the file where your trusted CA are, or by installing -the Mozilla::CA module for set of commonly trusted CAs. - --To completly disable the verification that you talk to the correct SSL peer you +-To completely disable the verification that you talk to the correct SSL peer you -can set SSL_verify_mode to 0 within ssl_opts. But, if you do this you can't be -sure that you communicate with the expected peer. -EOT diff --git a/lib/LWP/Protocol/https.pm b/lib/LWP/Protocol/https.pm index f6ed6d4..7c2e8f4 100644 --- a/lib/LWP/Protocol/https.pm +++ b/lib/LWP/Protocol/https.pm @@ -3,7 +3,7 @@ package LWP::Protocol::https; use strict; use warnings; -our $VERSION = '6.11'; +our $VERSION = '6.12'; use base qw(LWP::Protocol::http); require Net::HTTPS; @@ -40,7 +40,7 @@ sub _extra_sock_opts } } $self->{ssl_opts} = \%ssl_opts; - return (%ssl_opts, $self->SUPER::_extra_sock_opts); + return (%ssl_opts, MultiHomed => 1, $self->SUPER::_extra_sock_opts); } # This is a subclass of LWP::Protocol::http. @@ -80,9 +80,12 @@ sub _get_sock_info if ( $Net::HTTPS::SSL_SOCKET_CLASS->can('start_SSL')) { *_upgrade_sock = sub { my ($self,$sock,$url) = @_; + # SNI should be passed there only if it is not an IP address. + # Details: https://github.com/libwww-perl/libwww-perl/issues/449#issuecomment-1896175509 + my $host = $url->host_port() =~ m/:|^[\d.]+$/s ? undef : $url->host(); $sock = LWP::Protocol::https::Socket->start_SSL( $sock, SSL_verifycn_name => $url->host, - SSL_hostname => $url->host, + SSL_hostname => $host, $self->_extra_sock_opts, ); $@ = LWP::Protocol::https::Socket->errstr if ! $sock; diff --git a/xt/author/pod-spell.t b/xt/author/pod-spell.t index c103afd..fc110fd 100644 --- a/xt/author/pod-spell.t +++ b/xt/author/pod-spell.t @@ -10,6 +10,7 @@ set_spell_cmd('aspell list'); add_stopwords(<DATA>); all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ +49699333 Aas Adam Alders @@ -33,6 +34,7 @@ Dan Daniel David Denaxas +Dmitriy Etheridge FWILES Father @@ -74,6 +76,7 @@ Merelo Michael Mike Mohammad +Nicolas Olaf Ondrej Peter @@ -87,6 +90,7 @@ Rolf Schilli Schwern Sean +Shamatrin Shoichi Sjogren Skyttä @@ -131,8 +135,10 @@ dagolden david davidrw denaxas +dependabot dot drieux +dshamatrin ether gianni gisle @@ -154,6 +160,7 @@ lib mark mohammad murphy +nicolas olaf ondrej openstrike diff --git a/xt/release/changes_has_content.t b/xt/release/changes_has_content.t index 3c1da61..07a9df8 100644 --- a/xt/release/changes_has_content.t +++ b/xt/release/changes_has_content.t @@ -2,7 +2,7 @@ use Test::More tests => 2; note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '6.11'; +my $newver = '6.12'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8'; |