Bug#1032389: unblock: libdate-manip-perl/6.91-1

gregor herrmann gregoa at debian.org
Sun Mar 5 18:20:31 GMT 2023


Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: unblock
X-Debbugs-Cc: libdate-manip-perl at packages.debian.org, debian-perl at lists.debian.org
Control: affects -1 + src:libdate-manip-perl

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I've uploaded libdate-manip-perl/6.91-1 to unstable, and I think this
should go into bookworm. If I'm doing the math correctly, it won't
migrate before the start of the hard freeze and then needs a manual
review and unblock, as it's considered a key package.

6.91 is a bugfix release, it has only one small change but that one
fixes a bug:

#v+
commit e68bafb046aee9b34763b0e8207ce8359467b83a
Author: Sandi Wallendahl <wyrmiyu at gmail.com>
Date:   Thu Feb 23 17:52:14 2023 +0200

    Check also the Alias hash from Zones.pm for the zone verification.

diff --git a/lib/Date/Manip/TZ.pm b/lib/Date/Manip/TZ.pm
index f2aad0f7b..0fb41287e 100644
- --- a/lib/Date/Manip/TZ.pm
+++ b/lib/Date/Manip/TZ.pm
@@ -762,7 +762,8 @@ sub _zoneinfo_file_name_to_zone {
    my($file,$zoneinfo) = @_;
    require File::Spec;
    my $zone = File::Spec->abs2rel($file,$zoneinfo);
- -   return $zone  if (exists $Date::Manip::Zones::ZoneNames{lc($zone)});
+   return $zone  if (exists $Date::Manip::Zones::ZoneNames{lc($zone)} ||
+                     exists $Date::Manip::Zones::Alias{lc($zone)});
    return;
 }
#v-

That's https://github.com/SBECK-github/Date-Manip/pull/43


I'm attaching a stripped down debdiff with all relevant changes (the
rest are bumped versions and copyright years in each and every of the
upstream files).


unblock libdate-manip-perl/6.91-1


Thanks in advance,
gregor

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmQE3W9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaclQ/+JOfMpUffQ02FC2ToXQ0ac6APplUw5Gy8fxJjGcWP9x8sW+EZMZUm2O81
je+WHkxcGoASQyK7IleK9hp+A7VQnSgDt2UvQbxhGfVO8bQrptgF0XxJ60EWMVDB
nzhrgcfei7Qhk51QOhm0HFvc5rHj+MECrCM0939sg03lz4z/Lomq6oHZwgYfo246
OmNhN9+2aE2HnLQit0McgFgx41IT8Uc4OkYsZ0mXC+pjjWEItHTxgUNf0pDFXBt4
VE1aZEcOTrS1QthMvpbp21FvO2FuSveE1d1PafgGQ3UNS65oTCXi+v9urLIsfTjk
JuRUTpoFzM1pY78HuMFuUT6UWIxG2H3MFNf8Ao1DJUH0Aj4/fKlJPJ7y8/8A+YDJ
+ymmi2EsMe2Nd9OmfvpLkFqyj9721veoxGMW4vmmZL5hfDPWal+AAyLy8fbVd7Ml
PloCYm4MngVAZWub1CmfKD8KfoQtej73i0fyZJnc+sDPh5x/8CfwwAGzaRE4b6J0
v6MmuddRT09Dn6TtaVhuECaBCDsTA4HtgiWOHJfU5YI0E4jzqnjHxIG5yVFh1Tvq
ZNq+JFrucjJ4oISWjjYb1USkqT8fpXBv54rLy2zs3Q5j+WoIvLxPljQrECOm4Yp7
tXC4Wf1ms10PcCeBBOmFFtvsmA/FZEknKsBeCD7sQol7bslMP3k=
=wHu2
-----END PGP SIGNATURE-----
-------------- next part --------------
diff -Nru libdate-manip-perl-6.90/Changes libdate-manip-perl-6.91/Changes
--- libdate-manip-perl-6.90/Changes	2022-12-02 18:58:17.000000000 +0100
+++ libdate-manip-perl-6.91/Changes	2023-03-01 17:56:24.000000000 +0100
@@ -15,6 +15,12 @@
 and that document should be considered the canonical source for all change
 related information.
 
+6.91  2023-03-01
+  -  Fixed bug where timezone alias wasn't handled
+         On linux systems configured to be in a timezone that is an alias,
+         the system timezone wasn't recognized, and it defaulted to GMT.
+         This is now fixed. Patch supplied by Sandi Wallendahl (GitHub #43)
+
 6.90  2022-12-02
   -  Time zone fixes
          Aliases in the tzdata database were not being added to the timezone
diff -Nru libdate-manip-perl-6.90/README.first libdate-manip-perl-6.91/README.first
--- libdate-manip-perl-6.90/README.first	2022-03-02 21:19:25.000000000 +0100
+++ libdate-manip-perl-6.91/README.first	2023-03-01 17:55:59.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 1995-2022 Sullivan Beck. All rights reserved.
+Copyright (c) 1995-2023 Sullivan Beck. All rights reserved.
 This program is free software; you can redistribute it and/or
 modify it under the same terms as Perl itself.
 
diff -Nru libdate-manip-perl-6.90/debian/changelog libdate-manip-perl-6.91/debian/changelog
--- libdate-manip-perl-6.90/debian/changelog	2022-12-03 18:44:50.000000000 +0100
+++ libdate-manip-perl-6.91/debian/changelog	2023-03-05 19:06:02.000000000 +0100
@@ -1,3 +1,11 @@
+libdate-manip-perl (6.91-1) unstable; urgency=medium
+
+  * Import upstream version 6.91.
+  * Update years of upstream and packaging copyright.
+  * Declare compliance with Debian Policy 4.6.2.
+
+ -- gregor herrmann <gregoa at debian.org>  Sun, 05 Mar 2023 19:06:02 +0100
+
 libdate-manip-perl (6.90-1) unstable; urgency=medium
 
   * Fix typo in changelog entry for 6.89-1.
diff -Nru libdate-manip-perl-6.90/debian/control libdate-manip-perl-6.91/debian/control
--- libdate-manip-perl-6.90/debian/control	2022-12-03 18:44:50.000000000 +0100
+++ libdate-manip-perl-6.91/debian/control	2023-03-05 19:06:02.000000000 +0100
@@ -9,7 +9,7 @@
 Build-Depends: debhelper-compat (= 13)
 Build-Depends-Indep: libtest-inter-perl (>= 1.09) <!nocheck>,
                      perl
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdate-manip-perl
 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdate-manip-perl.git
 Homepage: https://metacpan.org/release/Date-Manip
diff -Nru libdate-manip-perl-6.90/debian/copyright libdate-manip-perl-6.91/debian/copyright
--- libdate-manip-perl-6.90/debian/copyright	2022-12-03 18:44:50.000000000 +0100
+++ libdate-manip-perl-6.91/debian/copyright	2023-03-05 19:06:02.000000000 +0100
@@ -4,7 +4,7 @@
 Source: https://metacpan.org/release/Date-Manip
 
 Files: *
-Copyright: 1995-2022, Sullivan Beck <sbeck at cpan.org>
+Copyright: 1995-2023, Sullivan Beck <sbeck at cpan.org>
 License: Artistic or GPL-1+
 
 Files: debian/*
@@ -15,7 +15,7 @@
  2005-2006, Stephen Quinney <sjq at debian.org>
  2006, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
  2007-2010, Damyan Ivanov <dmn at debian.org>
- 2007-2022, gregor herrmann <gregoa at debian.org>
+ 2007-2023, gregor herrmann <gregoa at debian.org>
  2008, Rene Mayorga <rmayorga at debian.org>
  2009-2010, Jonathan Yu <jawnsy at cpan.org>
  2010, Chris Butler <chrisb at debian.org>
diff -Nru libdate-manip-perl-6.90/lib/Date/Manip/TZ.pm libdate-manip-perl-6.91/lib/Date/Manip/TZ.pm
--- libdate-manip-perl-6.90/lib/Date/Manip/TZ.pm	2022-09-01 16:51:43.000000000 +0200
+++ libdate-manip-perl-6.91/lib/Date/Manip/TZ.pm	2023-03-01 17:55:57.000000000 +0100
@@ -1,5 +1,5 @@
 package Date::Manip::TZ;
-# Copyright (c) 2008-2022 Sullivan Beck. All rights reserved.
+# Copyright (c) 2008-2023 Sullivan Beck. All rights reserved.
 # This program is free software; you can redistribute it and/or modify it
 # under the same terms as Perl itself.
 
@@ -26,7 +26,7 @@
 use Carp;
 
 our $VERSION;
-$VERSION='6.90';
+$VERSION='6.91';
 END { undef $VERSION; }
 
 # To get rid of a 'used only once' warnings.
@@ -762,7 +762,8 @@
    my($file,$zoneinfo) = @_;
    require File::Spec;
    my $zone = File::Spec->abs2rel($file,$zoneinfo);
-   return $zone  if (exists $Date::Manip::Zones::ZoneNames{lc($zone)});
+   return $zone  if (exists $Date::Manip::Zones::ZoneNames{lc($zone)} ||
+                     exists $Date::Manip::Zones::Alias{lc($zone)});
    return;
 }
 


More information about the pkg-perl-maintainers mailing list