Imported Upstream version 6.60 upstream/6.60
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:28:28 +0000 (11:28 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:28:28 +0000 (11:28 +0900)
28 files changed:
Changes
META.json
META.yml
Makefile.PL
lib/LWP.pm
lib/LWP/Authen/Basic.pm
lib/LWP/Authen/Digest.pm
lib/LWP/Authen/Ntlm.pm
lib/LWP/ConnCache.pm
lib/LWP/Debug.pm
lib/LWP/Debug/TraceHTTP.pm
lib/LWP/DebugFile.pm
lib/LWP/MemberMixin.pm
lib/LWP/Protocol.pm
lib/LWP/Protocol/cpan.pm
lib/LWP/Protocol/data.pm
lib/LWP/Protocol/file.pm
lib/LWP/Protocol/ftp.pm
lib/LWP/Protocol/gopher.pm
lib/LWP/Protocol/http.pm
lib/LWP/Protocol/loopback.pm
lib/LWP/Protocol/mailto.pm
lib/LWP/Protocol/nntp.pm
lib/LWP/Protocol/nogo.pm
lib/LWP/RobotUA.pm
lib/LWP/Simple.pm
lib/LWP/UserAgent.pm
xt/release/changes_has_content.t

diff --git a/Changes b/Changes
index 19e476eeda2955dc4960958a90b12dad865b71a7..abbf672a341c1d2a04d4b6cc28d1d8797b1fade9 100644 (file)
--- 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ä)
index 95013cfed436bfdacce21eb1c276ccdfebaa1382..74187c29dc4b4847a8951c6bb25e216b3226d2aa 100644 (file)
--- a/META.json
+++ b/META.json
    "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",
       "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" : [
          {
                },
                "Dist::Zilla::Role::ModuleMetadata" : {
                   "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "version" : "0.004"
                }
             },
             "name" : "MetaProvides::Package",
             "config" : {
                "Dist::Zilla::Role::ModuleMetadata" : {
                   "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "version" : "0.004"
                }
             },
             "name" : "InstallGuide",
             "config" : {
                "Dist::Zilla::Role::ModuleMetadata" : {
                   "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "version" : "0.004"
                }
             },
             "name" : "DynamicPrereqs",
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.59",
+                  "tag" : "v6.60",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
       "Yves Orton <yves.orton@booking.com>",
       "Zefram <zefram@fysh.org>"
    ],
-   "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"
 }
 
index 233e6d1612801e9fcb8feefd031801aa5cb77514..404e203482b02017b12cafd4f89f121deebd71ef 100644 (file)
--- 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 <yury.zavarin@gmail.com>'
   - 'Yves Orton <yves.orton@booking.com>'
   - 'Zefram <zefram@fysh.org>'
-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'
index 0cef63af7834498262adb1f60a728acc79ca30c3..a0d8fb3c4eb5a923ca7bb15eb8029f3274e0aecf 100644 (file)
@@ -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"
   }
index 21682b4999669e62e368ea2170c8c788c2cf9a84..fc739ee2fd94ff465d5f02f855d138bda44ef66a 100644 (file)
@@ -1,6 +1,6 @@
 package LWP;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require LWP::UserAgent;  # this should load everything you need
 
index e6c778ccf7b907791148b759de3b6225b4612b60..b462559d6b38a67bc0cc406dfde8f4d36cb017aa 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Authen::Basic;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require Encode;
 require MIME::Base64;
index a67b9e83a7739484cdf1eae30fe7f2079017e036..19bb6a60220b179b72d883f180e72fdce4224bb8 100644 (file)
@@ -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;
 
index 83de3aa49f9009be104d718c61bf54a3dfdad0f8..6ecfdf49251f309103eb00ad4d8bcca9fe38a9c8 100644 (file)
@@ -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";
index 853d792112346e39cce437bad26fc984f51c2822..e4905d359e3be40da466a4955204aed2da1cb276 100644 (file)
@@ -2,7 +2,7 @@ package LWP::ConnCache;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 our $DEBUG;
 
 sub new {
index 9b00eca963f239fb2982ff5fd38bf35e3d647050..146e3639f7067e58ae05d6613d10e258eb321182 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::Debug;    # legacy
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require Exporter;
 our @ISA       = qw(Exporter);
index 59ec1bc5379b2f0e25a20e07390d372e62f2f800..9d48d557e9b2f192874065132842395e5923d518 100644 (file)
@@ -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;
index c014761fcc77780333c1e2f3a30fef38d09e072f..95543a55ee49ca480013479b171f31bcec11b82f 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::DebugFile;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 # legacy stub
 
index ab9c0d49844fb1a82eaee62a2da8dd79acec3e89..48c6c57fa1dfaa0cf1dbe9d1bc6bba1949384fd1 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::MemberMixin;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 sub _elem {
     my $self = shift;
index 10b0b642868637e765a8d953958bee3f80c19ee9..ef12a40f4283fec0ddd19f90bf3296f698cf4e40 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Protocol;
 
 use parent 'LWP::MemberMixin';
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 use strict;
 use Carp ();
index 83bfb9b1b89b67982e1195418d5fb612d244c59d..716b357da8d9618f44c56ba58a0d4a0991cb7c29 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 
 use parent qw(LWP::Protocol);
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require URI;
 require HTTP::Status;
index b9b81670ffa80b159fbcbca88acaecd900df765b..66310163a96f5c822145dc8bc1a375c8a5060297 100644 (file)
@@ -4,7 +4,7 @@ package LWP::Protocol::data;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require HTTP::Response;
 require HTTP::Status;
index 1db8113c113193ce5eae9c1289bb1fe0fed7f51f..ff1d4e751d5afb0e2889190eac98e15396ceac29 100644 (file)
@@ -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;
index 19164c5c201c50e81b5392be6278e9b8da450be0..91b04fc12615025f6813e7976d501b443ddc636c 100644 (file)
@@ -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    ();
index 92e48d50a84f0da7a54d7cd3bf95c8903afddefd..88803baf77ea9cef04443b9e5bc0e8d06a378d2a 100644 (file)
@@ -9,7 +9,7 @@ package LWP::Protocol::gopher;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require HTTP::Response;
 require HTTP::Status;
index 01567fe22ef3e166319a4409e8cd8f9249fd1b6b..d0c63537f203a196f944ab767ea8886baea729a9 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Protocol::http;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require HTTP::Response;
 require HTTP::Status;
index 90bff2523404a1cb7c6b01d0361669e14b61e8eb..9e44cc39ca65c16a7f3b392cf1dc9cfd7090a15a 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Protocol::loopback;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require HTTP::Response;
 
index 8f82c9f1b10d42bbb15ec3233ac267a5d72d3e30..17c38ffbd8663a8a715fa5797fe271f6bf44da05 100644 (file)
@@ -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;
index 40933030b0af62cba065cbbf005a04a3d37bddac..3ba7e42cffecbe8b0fda8df0756f6ae7905e59e4 100644 (file)
@@ -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;
index bb0765b20f51996eb85ad83eef4d7b63b307ec3a..2a2f69d9aaf0dbc8ecdd9c686ef682a37130acb4 100644 (file)
@@ -7,7 +7,7 @@ package LWP::Protocol::nogo;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require HTTP::Response;
 require HTTP::Status;
index 36aa6cefaeea57d1e3261b9c79dd024da5815202..17405d9d730f27b2c263e6a93657bff7ee1216d7 100644 (file)
@@ -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;
index f24f5f2bf8e1fa67898dca5ad53dcfbc7aeb98b5..5f2227cae8aadb2a7192e3eea71483620a63e6d5 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Simple;
 
 use strict;
 
-our $VERSION = '6.59';
+our $VERSION = '6.60';
 
 require Exporter;
 
index 50ff46a7ebf2c1d36f8a51b151c1530703ae44bc..5a7bd3237ef47ab5b256f9d19183b9a7c12088c5 100644 (file)
@@ -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";
             }
         }
     }
index 3442262a25d9c7b028ef23cebd1da23bc70f3cc9..c7c687a44e7d314efcb4e46a2170ad21d397613e 100644 (file)
@@ -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';