Source: libzbd
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru libzbd-2.0.4/debian/changelog libzbd-2.0.4/debian/changelog
--- libzbd-2.0.4/debian/changelog       2023-02-05 00:21:11.000000000 +0000
+++ libzbd-2.0.4/debian/changelog       2024-03-01 12:30:42.000000000 +0000
@@ -1,3 +1,10 @@
+libzbd (2.0.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063138
+
+ -- Benjamin Drung <bdr...@debian.org>  Fri, 01 Mar 2024 12:30:42 +0000
+
 libzbd (2.0.4-1) unstable; urgency=medium
 
   * New upstream version 2.0.4
diff -Nru libzbd-2.0.4/debian/control libzbd-2.0.4/debian/control
--- libzbd-2.0.4/debian/control 2023-02-05 00:15:23.000000000 +0000
+++ libzbd-2.0.4/debian/control 2024-03-01 12:30:42.000000000 +0000
@@ -1,7 +1,7 @@
 Source: libzbd
 Priority: optional
 Maintainer: Sudip Mukherjee <sudipm.mukher...@gmail.com>
-Build-Depends: debhelper-compat (= 13), autoconf-archive, libgtk-3-dev
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), 
autoconf-archive, libgtk-3-dev
 Standards-Version: 4.6.2
 Section: libs
 Homepage: https://zonedstorage.io/projects/libzbd/
@@ -12,7 +12,7 @@
 Section: libdevel
 Architecture: linux-any
 Multi-Arch: same
-Depends: libzbd2 (= ${binary:Version}), ${misc:Depends}
+Depends: libzbd2t64 (= ${binary:Version}), ${misc:Depends}
 Description: Library to manipulate zoned block devices (development files)
  libzbd uses the kernel provided zoned block device interface based on the
  ioctl() system call. It provides functions for discovering and managing the
@@ -21,7 +21,10 @@
  .
  This package is needed to compile programs against libzbd.
 
-Package: libzbd2
+Package: libzbd2t64
+Provides: ${t64:Provides}
+Replaces: libzbd2
+Breaks: libzbd2 (<< ${source:Version})
 Architecture: linux-any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru libzbd-2.0.4/debian/libzbd2.install 
libzbd-2.0.4/debian/libzbd2.install
--- libzbd-2.0.4/debian/libzbd2.install 2022-02-13 22:50:20.000000000 +0000
+++ libzbd-2.0.4/debian/libzbd2.install 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libzbd.so.*
diff -Nru libzbd-2.0.4/debian/libzbd2.symbols 
libzbd-2.0.4/debian/libzbd2.symbols
--- libzbd-2.0.4/debian/libzbd2.symbols 2022-02-14 13:50:08.000000000 +0000
+++ libzbd-2.0.4/debian/libzbd2.symbols 1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-libzbd.so.2 libzbd2 #MINVER#
- ZBD_GLOBAL@ZBD_GLOBAL 1.1.0
- zbd_close@ZBD_GLOBAL 1.1.0
- zbd_device_is_zoned@ZBD_GLOBAL 1.1.0
- zbd_device_model_str@ZBD_GLOBAL 1.1.0
- zbd_get_info@ZBD_GLOBAL 2.0.2
- zbd_list_zones@ZBD_GLOBAL 1.1.0
- zbd_open@ZBD_GLOBAL 1.1.0
- zbd_report_zones@ZBD_GLOBAL 1.1.0
- zbd_set_log_level@ZBD_GLOBAL 1.1.0
- zbd_zone_cond_str@ZBD_GLOBAL 1.1.0
- zbd_zone_type_str@ZBD_GLOBAL 1.1.0
- zbd_zones_operation@ZBD_GLOBAL 1.1.0
diff -Nru libzbd-2.0.4/debian/libzbd2t64.install 
libzbd-2.0.4/debian/libzbd2t64.install
--- libzbd-2.0.4/debian/libzbd2t64.install      1970-01-01 00:00:00.000000000 
+0000
+++ libzbd-2.0.4/debian/libzbd2t64.install      2022-02-13 22:50:20.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libzbd.so.*
diff -Nru libzbd-2.0.4/debian/libzbd2t64.lintian-overrides 
libzbd-2.0.4/debian/libzbd2t64.lintian-overrides
--- libzbd-2.0.4/debian/libzbd2t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ libzbd-2.0.4/debian/libzbd2t64.lintian-overrides    2024-03-01 
12:30:26.000000000 +0000
@@ -0,0 +1 @@
+libzbd2t64: package-name-doesnt-match-sonames libzbd2
diff -Nru libzbd-2.0.4/debian/libzbd2t64.symbols 
libzbd-2.0.4/debian/libzbd2t64.symbols
--- libzbd-2.0.4/debian/libzbd2t64.symbols      1970-01-01 00:00:00.000000000 
+0000
+++ libzbd-2.0.4/debian/libzbd2t64.symbols      2024-03-01 12:30:26.000000000 
+0000
@@ -0,0 +1,13 @@
+libzbd.so.2 libzbd2t64 #MINVER#
+ ZBD_GLOBAL@ZBD_GLOBAL 1.1.0
+ zbd_close@ZBD_GLOBAL 1.1.0
+ zbd_device_is_zoned@ZBD_GLOBAL 1.1.0
+ zbd_device_model_str@ZBD_GLOBAL 1.1.0
+ zbd_get_info@ZBD_GLOBAL 2.0.2
+ zbd_list_zones@ZBD_GLOBAL 1.1.0
+ zbd_open@ZBD_GLOBAL 1.1.0
+ zbd_report_zones@ZBD_GLOBAL 1.1.0
+ zbd_set_log_level@ZBD_GLOBAL 1.1.0
+ zbd_zone_cond_str@ZBD_GLOBAL 1.1.0
+ zbd_zone_type_str@ZBD_GLOBAL 1.1.0
+ zbd_zones_operation@ZBD_GLOBAL 1.1.0

Reply via email to