Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: tzd...@packages.debian.org, debian-glibc@lists.debian.org
Control: affects -1 + src:tzdata

[ Reason ]
tzdata contains a leap second file which is updated twice a year, and
which has an expiration date on 28 December 2023. Usually this file is
updated along with timezones changes, but 2023 has seen surprising low
number of timezone changes, and there hasn't been a new upstream version
since March! Therefore we need to do a specific upload to update this
file with only this change.

[ Impact ]
There is no leap second added at the end of 2023, so the impact is
relatively low, but NTP servers using this file usually emit warnings
28 days before the expiration date.

[ Tests ]
There is no test for this change.

[ Risks ]
The risk is quite low, the changes are minimal and routinely done twice
a year.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
This is the full changelog entry with explanations:

  * Update leap-seconds.list from upstream

The leap-seconds.list change is taken from upstream, who took it from
NIST following an IERS Bulletin.
  
  * Remove leapseconds during clean target

The cleanup of the leapseconds file, is needed as following the above
change, the one shipped in the upstream tarball do not match anymore the
one generated during build from leap-seconds.list. This is needed to
avoid a FTBFS after successful build.

[ Other info ]
Given the limited changes, I have already uploaded the package to the
archive. Thanks for considering.
diff -Nru tzdata-2023c/debian/changelog tzdata-2023c/debian/changelog
--- tzdata-2023c/debian/changelog       2023-05-28 21:54:34.000000000 +0200
+++ tzdata-2023c/debian/changelog       2023-11-28 20:21:17.000000000 +0100
@@ -1,3 +1,10 @@
+tzdata (2023c-5+deb12u1) bookworm; urgency=medium
+
+  * Update leap-seconds.list from upstream
+  * Remove leapseconds during clean target
+
+ -- Aurelien Jarno <aure...@debian.org>  Tue, 28 Nov 2023 20:21:17 +0100
+
 tzdata (2023c-5) unstable; urgency=medium
 
   * Update German debconf translation.
diff -Nru tzdata-2023c/debian/clean tzdata-2023c/debian/clean
--- tzdata-2023c/debian/clean   1970-01-01 01:00:00.000000000 +0100
+++ tzdata-2023c/debian/clean   2023-11-28 18:10:17.000000000 +0100
@@ -0,0 +1 @@
+leapseconds
diff -Nru tzdata-2023c/debian/patches/01-no-leap-second-on-2023-12-31.patch 
tzdata-2023c/debian/patches/01-no-leap-second-on-2023-12-31.patch
--- tzdata-2023c/debian/patches/01-no-leap-second-on-2023-12-31.patch   
1970-01-01 01:00:00.000000000 +0100
+++ tzdata-2023c/debian/patches/01-no-leap-second-on-2023-12-31.patch   
2023-11-28 18:10:13.000000000 +0100
@@ -0,0 +1,41 @@
+From c3e966c59b02b1f47f0b7b0e4aa6a86563c07062 Mon Sep 17 00:00:00 2001
+From: Tim Parenti <t...@timtimeonline.com>
+Date: Mon, 14 Aug 2023 15:29:57 -0400
+Subject: [PATCH] No leap second on 2023-12-31
+
+Per IERS Bulletin C 66 (2023-07-04).
+https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.66
+
+* leap-seconds.list: Update file from NIST, retrieved from
+ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list
+---
+ leap-seconds.list | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/leap-seconds.list b/leap-seconds.list
+index 17e3a100..3fe9a121 100644
+--- a/leap-seconds.list
++++ b/leap-seconds.list
+@@ -204,10 +204,10 @@
+ #     current -- the update time stamp, the data and the name of the file
+ #     will not change.
+ #
+-#     Updated through IERS Bulletin C65
+-#     File expires on:  28 December 2023
++#     Updated through IERS Bulletin C66
++#     File expires on:  28 June 2024
+ #
+-#@    3912710400
++#@    3928521600
+ #
+ 2272060800    10      # 1 Jan 1972
+ 2287785600    11      # 1 Jul 1972
+@@ -252,4 +252,4 @@
+ #     the hash line is also ignored in the
+ #     computation.
+ #
+-#h    e76a99dc 65f15cc7 e613e040 f5078b5e b23834fe
++#h    16edd0f0 3666784f 37db6bdd e74ced87 59af48f1
+-- 
+2.42.0
+
diff -Nru tzdata-2023c/debian/patches/series tzdata-2023c/debian/patches/series
--- tzdata-2023c/debian/patches/series  1970-01-01 01:00:00.000000000 +0100
+++ tzdata-2023c/debian/patches/series  2023-11-28 18:10:13.000000000 +0100
@@ -0,0 +1 @@
+01-no-leap-second-on-2023-12-31.patch

Reply via email to