[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#949909: marked as done (stretch-pu: package libparse-win32registry-perl/1.0-2+deb9u1)



Your message dated Sat, 08 Feb 2020 14:23:35 +0000
with message-id <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk>
and subject line Closing bugs included in 9.12
has caused the Debian Bug report #949909,
regarding stretch-pu: package libparse-win32registry-perl/1.0-2+deb9u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
949909: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949909
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

  * Add patch to fix Y2K20 problem.
    (Closes: #948682)
diff -Nru libparse-win32registry-perl-1.0/debian/changelog libparse-win32registry-perl-1.0/debian/changelog
--- libparse-win32registry-perl-1.0/debian/changelog	2015-08-08 15:12:14.000000000 +0300
+++ libparse-win32registry-perl-1.0/debian/changelog	2020-01-26 23:27:04.000000000 +0200
@@ -1,3 +1,11 @@
+libparse-win32registry-perl (1.0-2+deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix Y2K20 problem.
+    (Closes: #948682)
+
+ -- Adrian Bunk <bunk@debian.org>  Sun, 26 Jan 2020 23:27:04 +0200
+
 libparse-win32registry-perl (1.0-2) unstable; urgency=medium
 
   * Gave package to the Debian Perl Group, added Vcs-* fields
diff -Nru libparse-win32registry-perl-1.0/debian/patches/series libparse-win32registry-perl-1.0/debian/patches/series
--- libparse-win32registry-perl-1.0/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ libparse-win32registry-perl-1.0/debian/patches/series	2020-01-26 23:27:04.000000000 +0200
@@ -0,0 +1 @@
+y2k20.patch
diff -Nru libparse-win32registry-perl-1.0/debian/patches/y2k20.patch libparse-win32registry-perl-1.0/debian/patches/y2k20.patch
--- libparse-win32registry-perl-1.0/debian/patches/y2k20.patch	1970-01-01 02:00:00.000000000 +0200
+++ libparse-win32registry-perl-1.0/debian/patches/y2k20.patch	2020-01-26 23:27:04.000000000 +0200
@@ -0,0 +1,30 @@
+Description: fix Y2K20 problem with Time::Local's 50 year window
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=124514
+Bug-Debian: https://bugs.debian.org/948682
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=124514
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2020-01-12
+
+--- a/lib/Parse/Win32Registry/Base.pm
++++ b/lib/Parse/Win32Registry/Base.pm
+@@ -167,7 +167,7 @@
+ 
+     # adjust the UNIX epoch time to the local OS's epoch time
+     # (see perlport's Time and Date section)
+-    my $epoch_offset = timegm(0, 0, 0, 1, 0, 70);
++    my $epoch_offset = timegm(0, 0, 0, 1, 0, 1970);
+     $epoch_time += $epoch_offset;
+ 
+     if ($epoch_time < 0 || $epoch_time > 0x7fffffff) {
+--- a/t/misc.t
++++ b/t/misc.t
+@@ -502,7 +502,7 @@
+     if (defined($time)) {
+         # The test data time is a Unix epoch time
+         # so is adjusted to the local OS's epoch time
+-        my $epoch_offset = timegm(0, 0, 0, 1, 0, 70);
++        my $epoch_offset = timegm(0, 0, 0, 1, 0, 1970);
+         $time += $epoch_offset;
+         cmp_ok($unpacked_time1, '==', $time,
+             "$desc (scalar) unpack_windows_time");

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 9.12

Hi,

Each of the uploads referred to by these bugs was included in today's
oldstable point release.

Regards,

Adam

--- End Message ---

Reply to: