From: DongHun Kwak Date: Thu, 21 Jul 2022 02:28:28 +0000 (+0900) Subject: Imported Upstream version 6.60 X-Git-Tag: upstream/6.60^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7aae309d7415adb619a9cbf45786fc8bd6082b8;p=platform%2Fupstream%2Fperl-libwww-perl.git Imported Upstream version 6.60 --- diff --git a/Changes b/Changes index 19e476e..abbf672 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Change history for libwww-perl +6.60 2021-12-17 22:29:57Z + - Warn if updating modification time of mirrored file fails (GH#399) (Ville Skyttä) + 6.59 2021-12-02 21:16:04Z - Use American English aspell master dictionary for POD spelling tests (GH#394) (Ville Skyttä) - Remove unnecessary string concatenations in mirror error messages (GH#391) (Ville Skyttä) diff --git a/META.json b/META.json index 95013cf..74187c2 100644 --- a/META.json +++ b/META.json @@ -109,96 +109,96 @@ "provides" : { "LWP" : { "file" : "lib/LWP.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Authen::Basic" : { "file" : "lib/LWP/Authen/Basic.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Authen::Digest" : { "file" : "lib/LWP/Authen/Digest.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Authen::Ntlm" : { "file" : "lib/LWP/Authen/Ntlm.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::ConnCache" : { "file" : "lib/LWP/ConnCache.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Debug" : { "file" : "lib/LWP/Debug.pm", - "version" : "6.59", + "version" : "6.60", "x_deprecated" : 1 }, "LWP::Debug::TraceHTTP" : { "file" : "lib/LWP/Debug/TraceHTTP.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::DebugFile" : { "file" : "lib/LWP/DebugFile.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::MemberMixin" : { "file" : "lib/LWP/MemberMixin.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol" : { "file" : "lib/LWP/Protocol.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::cpan" : { "file" : "lib/LWP/Protocol/cpan.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::data" : { "file" : "lib/LWP/Protocol/data.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::file" : { "file" : "lib/LWP/Protocol/file.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::ftp" : { "file" : "lib/LWP/Protocol/ftp.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::gopher" : { "file" : "lib/LWP/Protocol/gopher.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::http" : { "file" : "lib/LWP/Protocol/http.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::loopback" : { "file" : "lib/LWP/Protocol/loopback.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::mailto" : { "file" : "lib/LWP/Protocol/mailto.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::nntp" : { "file" : "lib/LWP/Protocol/nntp.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Protocol::nogo" : { "file" : "lib/LWP/Protocol/nogo.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::RobotUA" : { "file" : "lib/LWP/RobotUA.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::Simple" : { "file" : "lib/LWP/Simple.pm", - "version" : "6.59" + "version" : "6.60" }, "LWP::UserAgent" : { "file" : "lib/LWP/UserAgent.pm", - "version" : "6.59" + "version" : "6.60" } }, "release_status" : "stable", @@ -215,10 +215,10 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:libwww@perl.org" }, - "version" : "6.59", + "version" : "6.60", "x_Dist_Zilla" : { "perl" : { - "version" : "5.030003" + "version" : "5.026001" }, "plugins" : [ { @@ -270,7 +270,7 @@ }, "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", - "version" : "0.006" + "version" : "0.004" } }, "name" : "MetaProvides::Package", @@ -343,7 +343,7 @@ "config" : { "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", - "version" : "0.006" + "version" : "0.004" } }, "name" : "InstallGuide", @@ -364,7 +364,7 @@ "config" : { "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000037", - "version" : "0.006" + "version" : "0.004" } }, "name" : "DynamicPrereqs", @@ -776,7 +776,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.59", + "tag" : "v6.60", "tag_format" : "v%V", "tag_message" : "v%V" }, @@ -1034,8 +1034,8 @@ "Yves Orton ", "Zefram " ], - "x_generated_by_perl" : "v5.30.3", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.19", + "x_generated_by_perl" : "v5.26.1", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.04", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff --git a/META.yml b/META.yml index 233e6d1..404e203 100644 --- a/META.yml +++ b/META.yml @@ -31,74 +31,74 @@ no_index: provides: LWP: file: lib/LWP.pm - version: '6.59' + version: '6.60' LWP::Authen::Basic: file: lib/LWP/Authen/Basic.pm - version: '6.59' + version: '6.60' LWP::Authen::Digest: file: lib/LWP/Authen/Digest.pm - version: '6.59' + version: '6.60' LWP::Authen::Ntlm: file: lib/LWP/Authen/Ntlm.pm - version: '6.59' + version: '6.60' LWP::ConnCache: file: lib/LWP/ConnCache.pm - version: '6.59' + version: '6.60' LWP::Debug: file: lib/LWP/Debug.pm - version: '6.59' + version: '6.60' x_deprecated: 1 LWP::Debug::TraceHTTP: file: lib/LWP/Debug/TraceHTTP.pm - version: '6.59' + version: '6.60' LWP::DebugFile: file: lib/LWP/DebugFile.pm - version: '6.59' + version: '6.60' LWP::MemberMixin: file: lib/LWP/MemberMixin.pm - version: '6.59' + version: '6.60' LWP::Protocol: file: lib/LWP/Protocol.pm - version: '6.59' + version: '6.60' LWP::Protocol::cpan: file: lib/LWP/Protocol/cpan.pm - version: '6.59' + version: '6.60' LWP::Protocol::data: file: lib/LWP/Protocol/data.pm - version: '6.59' + version: '6.60' LWP::Protocol::file: file: lib/LWP/Protocol/file.pm - version: '6.59' + version: '6.60' LWP::Protocol::ftp: file: lib/LWP/Protocol/ftp.pm - version: '6.59' + version: '6.60' LWP::Protocol::gopher: file: lib/LWP/Protocol/gopher.pm - version: '6.59' + version: '6.60' LWP::Protocol::http: file: lib/LWP/Protocol/http.pm - version: '6.59' + version: '6.60' LWP::Protocol::loopback: file: lib/LWP/Protocol/loopback.pm - version: '6.59' + version: '6.60' LWP::Protocol::mailto: file: lib/LWP/Protocol/mailto.pm - version: '6.59' + version: '6.60' LWP::Protocol::nntp: file: lib/LWP/Protocol/nntp.pm - version: '6.59' + version: '6.60' LWP::Protocol::nogo: file: lib/LWP/Protocol/nogo.pm - version: '6.59' + version: '6.60' LWP::RobotUA: file: lib/LWP/RobotUA.pm - version: '6.59' + version: '6.60' LWP::Simple: file: lib/LWP/Simple.pm - version: '6.59' + version: '6.60' LWP::UserAgent: file: lib/LWP/UserAgent.pm - version: '6.59' + version: '6.60' requires: Digest::MD5: '0' Encode: '2.12' @@ -134,10 +134,10 @@ resources: bugtracker: https://github.com/libwww-perl/libwww-perl/issues homepage: https://github.com/libwww-perl/libwww-perl repository: https://github.com/libwww-perl/libwww-perl.git -version: '6.59' +version: '6.60' x_Dist_Zilla: perl: - version: '5.030003' + version: '5.026001' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -178,7 +178,7 @@ x_Dist_Zilla: meta_noindex: '1' Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' - version: '0.006' + version: '0.004' name: MetaProvides::Package version: '2.004003' - @@ -234,7 +234,7 @@ x_Dist_Zilla: config: Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' - version: '0.006' + version: '0.004' name: InstallGuide version: '1.200014' - @@ -250,7 +250,7 @@ x_Dist_Zilla: config: Dist::Zilla::Role::ModuleMetadata: Module::Metadata: '1.000037' - version: '0.006' + version: '0.004' name: DynamicPrereqs version: '0.039' - @@ -588,7 +588,7 @@ x_Dist_Zilla: branch: ~ changelog: Changes signed: 0 - tag: v6.59 + tag: v6.60 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: @@ -806,6 +806,6 @@ x_contributors: - 'Yury Zavarin ' - 'Yves Orton ' - 'Zefram ' -x_generated_by_perl: v5.30.3 -x_serialization_backend: 'YAML::Tiny version 1.73' +x_generated_by_perl: v5.26.1 +x_serialization_backend: 'YAML::Tiny version 1.70' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff --git a/Makefile.PL b/Makefile.PL index 0cef63a..a0d8fb3 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -86,7 +86,7 @@ my %WriteMakefileArgs = ( "Test::Needs" => 0, "Test::RequiresInternet" => 0 }, - "VERSION" => "6.59", + "VERSION" => "6.60", "test" => { "TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t" } diff --git a/lib/LWP.pm b/lib/LWP.pm index 21682b4..fc739ee 100644 --- a/lib/LWP.pm +++ b/lib/LWP.pm @@ -1,6 +1,6 @@ package LWP; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require LWP::UserAgent; # this should load everything you need diff --git a/lib/LWP/Authen/Basic.pm b/lib/LWP/Authen/Basic.pm index e6c778c..b462559 100644 --- a/lib/LWP/Authen/Basic.pm +++ b/lib/LWP/Authen/Basic.pm @@ -2,7 +2,7 @@ package LWP::Authen::Basic; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require Encode; require MIME::Base64; diff --git a/lib/LWP/Authen/Digest.pm b/lib/LWP/Authen/Digest.pm index a67b9e8..19bb6a6 100644 --- a/lib/LWP/Authen/Digest.pm +++ b/lib/LWP/Authen/Digest.pm @@ -3,7 +3,7 @@ package LWP::Authen::Digest; use strict; use parent 'LWP::Authen::Basic'; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require Digest::MD5; diff --git a/lib/LWP/Authen/Ntlm.pm b/lib/LWP/Authen/Ntlm.pm index 83de3aa..6ecfdf4 100644 --- a/lib/LWP/Authen/Ntlm.pm +++ b/lib/LWP/Authen/Ntlm.pm @@ -2,7 +2,7 @@ package LWP::Authen::Ntlm; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; use Authen::NTLM "1.02"; use MIME::Base64 "2.12"; diff --git a/lib/LWP/ConnCache.pm b/lib/LWP/ConnCache.pm index 853d792..e4905d3 100644 --- a/lib/LWP/ConnCache.pm +++ b/lib/LWP/ConnCache.pm @@ -2,7 +2,7 @@ package LWP::ConnCache; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; our $DEBUG; sub new { diff --git a/lib/LWP/Debug.pm b/lib/LWP/Debug.pm index 9b00eca..146e363 100644 --- a/lib/LWP/Debug.pm +++ b/lib/LWP/Debug.pm @@ -1,6 +1,6 @@ package LWP::Debug; # legacy -our $VERSION = '6.59'; +our $VERSION = '6.60'; require Exporter; our @ISA = qw(Exporter); diff --git a/lib/LWP/Debug/TraceHTTP.pm b/lib/LWP/Debug/TraceHTTP.pm index 59ec1bc..9d48d55 100644 --- a/lib/LWP/Debug/TraceHTTP.pm +++ b/lib/LWP/Debug/TraceHTTP.pm @@ -11,7 +11,7 @@ package LWP::Debug::TraceHTTP; use strict; use parent 'LWP::Protocol::http'; -our $VERSION = '6.59'; +our $VERSION = '6.60'; package # hide from PAUSE LWP::Debug::TraceHTTP::Socket; diff --git a/lib/LWP/DebugFile.pm b/lib/LWP/DebugFile.pm index c014761..95543a5 100644 --- a/lib/LWP/DebugFile.pm +++ b/lib/LWP/DebugFile.pm @@ -1,6 +1,6 @@ package LWP::DebugFile; -our $VERSION = '6.59'; +our $VERSION = '6.60'; # legacy stub diff --git a/lib/LWP/MemberMixin.pm b/lib/LWP/MemberMixin.pm index ab9c0d4..48c6c57 100644 --- a/lib/LWP/MemberMixin.pm +++ b/lib/LWP/MemberMixin.pm @@ -1,6 +1,6 @@ package LWP::MemberMixin; -our $VERSION = '6.59'; +our $VERSION = '6.60'; sub _elem { my $self = shift; diff --git a/lib/LWP/Protocol.pm b/lib/LWP/Protocol.pm index 10b0b64..ef12a40 100644 --- a/lib/LWP/Protocol.pm +++ b/lib/LWP/Protocol.pm @@ -2,7 +2,7 @@ package LWP::Protocol; use parent 'LWP::MemberMixin'; -our $VERSION = '6.59'; +our $VERSION = '6.60'; use strict; use Carp (); diff --git a/lib/LWP/Protocol/cpan.pm b/lib/LWP/Protocol/cpan.pm index 83bfb9b..716b357 100644 --- a/lib/LWP/Protocol/cpan.pm +++ b/lib/LWP/Protocol/cpan.pm @@ -4,7 +4,7 @@ use strict; use parent qw(LWP::Protocol); -our $VERSION = '6.59'; +our $VERSION = '6.60'; require URI; require HTTP::Status; diff --git a/lib/LWP/Protocol/data.pm b/lib/LWP/Protocol/data.pm index b9b8167..6631016 100644 --- a/lib/LWP/Protocol/data.pm +++ b/lib/LWP/Protocol/data.pm @@ -4,7 +4,7 @@ package LWP::Protocol::data; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require HTTP::Response; require HTTP::Status; diff --git a/lib/LWP/Protocol/file.pm b/lib/LWP/Protocol/file.pm index 1db8113..ff1d4e7 100644 --- a/lib/LWP/Protocol/file.pm +++ b/lib/LWP/Protocol/file.pm @@ -4,7 +4,7 @@ use parent qw(LWP::Protocol); use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require LWP::MediaTypes; require HTTP::Request; diff --git a/lib/LWP/Protocol/ftp.pm b/lib/LWP/Protocol/ftp.pm index 19164c5..91b04fc 100644 --- a/lib/LWP/Protocol/ftp.pm +++ b/lib/LWP/Protocol/ftp.pm @@ -5,7 +5,7 @@ package LWP::Protocol::ftp; use parent qw(LWP::Protocol); use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; use Carp (); use HTTP::Status (); diff --git a/lib/LWP/Protocol/gopher.pm b/lib/LWP/Protocol/gopher.pm index 92e48d5..88803ba 100644 --- a/lib/LWP/Protocol/gopher.pm +++ b/lib/LWP/Protocol/gopher.pm @@ -9,7 +9,7 @@ package LWP::Protocol::gopher; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require HTTP::Response; require HTTP::Status; diff --git a/lib/LWP/Protocol/http.pm b/lib/LWP/Protocol/http.pm index 01567fe..d0c6353 100644 --- a/lib/LWP/Protocol/http.pm +++ b/lib/LWP/Protocol/http.pm @@ -2,7 +2,7 @@ package LWP::Protocol::http; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require HTTP::Response; require HTTP::Status; diff --git a/lib/LWP/Protocol/loopback.pm b/lib/LWP/Protocol/loopback.pm index 90bff25..9e44cc3 100644 --- a/lib/LWP/Protocol/loopback.pm +++ b/lib/LWP/Protocol/loopback.pm @@ -2,7 +2,7 @@ package LWP::Protocol::loopback; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require HTTP::Response; diff --git a/lib/LWP/Protocol/mailto.pm b/lib/LWP/Protocol/mailto.pm index 8f82c9f..17c38ff 100644 --- a/lib/LWP/Protocol/mailto.pm +++ b/lib/LWP/Protocol/mailto.pm @@ -11,7 +11,7 @@ require HTTP::Status; use Carp; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; use parent qw(LWP::Protocol); our $SENDMAIL; diff --git a/lib/LWP/Protocol/nntp.pm b/lib/LWP/Protocol/nntp.pm index 4093303..3ba7e42 100644 --- a/lib/LWP/Protocol/nntp.pm +++ b/lib/LWP/Protocol/nntp.pm @@ -4,7 +4,7 @@ package LWP::Protocol::nntp; use parent qw(LWP::Protocol); -our $VERSION = '6.59'; +our $VERSION = '6.60'; require HTTP::Response; require HTTP::Status; diff --git a/lib/LWP/Protocol/nogo.pm b/lib/LWP/Protocol/nogo.pm index bb0765b..2a2f69d 100644 --- a/lib/LWP/Protocol/nogo.pm +++ b/lib/LWP/Protocol/nogo.pm @@ -7,7 +7,7 @@ package LWP::Protocol::nogo; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require HTTP::Response; require HTTP::Status; diff --git a/lib/LWP/RobotUA.pm b/lib/LWP/RobotUA.pm index 36aa6ce..17405d9 100644 --- a/lib/LWP/RobotUA.pm +++ b/lib/LWP/RobotUA.pm @@ -2,7 +2,7 @@ package LWP::RobotUA; use parent qw(LWP::UserAgent); -our $VERSION = '6.59'; +our $VERSION = '6.60'; require WWW::RobotRules; require HTTP::Request; diff --git a/lib/LWP/Simple.pm b/lib/LWP/Simple.pm index f24f5f2..5f2227c 100644 --- a/lib/LWP/Simple.pm +++ b/lib/LWP/Simple.pm @@ -2,7 +2,7 @@ package LWP::Simple; use strict; -our $VERSION = '6.59'; +our $VERSION = '6.60'; require Exporter; diff --git a/lib/LWP/UserAgent.pm b/lib/LWP/UserAgent.pm index 50ff46a..5a7bd32 100644 --- a/lib/LWP/UserAgent.pm +++ b/lib/LWP/UserAgent.pm @@ -16,7 +16,7 @@ use LWP::Protocol (); use Scalar::Util qw(blessed); use Try::Tiny qw(try catch); -our $VERSION = '6.59'; +our $VERSION = '6.60'; sub new { @@ -1041,7 +1041,8 @@ sub mirror # make sure the file has the same last modification time if ( my $lm = $response->last_modified ) { - utime $lm, $lm, $file; + utime $lm, $lm, $file + or warn "Cannot update modification time of '$file': $!\n"; } } } diff --git a/xt/release/changes_has_content.t b/xt/release/changes_has_content.t index 3442262..c7c687a 100644 --- a/xt/release/changes_has_content.t +++ b/xt/release/changes_has_content.t @@ -8,7 +8,7 @@ if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') { note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '6.59'; +my $newver = '6.60'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8';