Source: gdbm
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 gdbm-1.23/debian/changelog gdbm-1.23/debian/changelog
--- gdbm-1.23/debian/changelog  2023-11-28 12:51:35.000000000 +0000
+++ gdbm-1.23/debian/changelog  2024-03-01 12:04:12.000000000 +0000
@@ -1,3 +1,10 @@
+gdbm (1.23-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063116
+
+ -- Benjamin Drung <bdr...@debian.org>  Fri, 01 Mar 2024 12:04:12 +0000
+
 gdbm (1.23-5) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru gdbm-1.23/debian/control gdbm-1.23/debian/control
--- gdbm-1.23/debian/control    2023-11-06 15:26:51.000000000 +0000
+++ gdbm-1.23/debian/control    2024-03-01 12:04:12.000000000 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Nicolas Mora <babelou...@debian.org>
-Build-Depends: texinfo,
+Build-Depends: dpkg-dev (>= 1.22.5), texinfo,
                debhelper-compat (= 13),
                dh-exec,
                libreadline-dev,
@@ -21,7 +21,10 @@
  providing a persistent version of the 'dictionary' Abstract Data Type
  ('hash' to perl programmers).
 
-Package: libgdbm6
+Package: libgdbm6t64
+Provides: ${t64:Provides}
+Replaces: libgdbm6
+Breaks: libgdbm6 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: gdbm-l10n (= ${source:Version})
@@ -42,7 +45,7 @@
 Package: libgdbm-dev
 Architecture: any
 Depends: libc6-dev | libc-dev
-       , libgdbm6 (= ${binary:Version})
+       , libgdbm6t64 (= ${binary:Version})
        , ${shlibs:Depends}
        , ${misc:Depends}
 Provides: ${libgdbm-dietlibc:Provides}
@@ -66,7 +69,10 @@
   * gdbm_load -- recreate database from dump, created by gdbm_dump
   * gdbmtool -- view and modify an existing database or to create a new one.
 
-Package: libgdbm-compat4
+Package: libgdbm-compat4t64
+Provides: ${t64:Provides}
+Replaces: libgdbm-compat4
+Breaks: libgdbm-compat4 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
@@ -74,17 +80,17 @@
 Description: ${S:X-Short-Desc} (legacy support runtime version) 
${S:X-Long-Desc}
  This package includes library files, required to run old programs,
  that use legacy 'dbm' interface. For new programs, please use modern
- interface, provided by libgdbm6 and libgdbm-dev.
+ interface, provided by libgdbm6t64 and libgdbm-dev.
 
 Package: libgdbm-compat-dev
 Architecture: any
 Depends: libc6-dev | libc-dev
        , libgdbm-dev
-       , libgdbm-compat4 (= ${binary:Version})
+       , libgdbm-compat4t64 (= ${binary:Version})
        , ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: same
 Section: libdevel
 Description: ${S:X-Short-Desc} (legacy support development files) 
${S:X-Long-Desc}
  This package includes development files, required to build old
  programs, that use legacy 'dbm' interface. For new programs, please
- use modern interface, provided by libgdbm6 and libgdbm-dev.
+ use modern interface, provided by libgdbm6t64 and libgdbm-dev.
diff -Nru gdbm-1.23/debian/libgdbm-compat4.install 
gdbm-1.23/debian/libgdbm-compat4.install
--- gdbm-1.23/debian/libgdbm-compat4.install    2022-08-23 13:19:29.000000000 
+0000
+++ gdbm-1.23/debian/libgdbm-compat4.install    1970-01-01 00:00:00.000000000 
+0000
@@ -1,2 +0,0 @@
-/usr/lib/*/libgdbm_compat.so.4.0.0
-/usr/lib/*/libgdbm_compat.so.4
diff -Nru gdbm-1.23/debian/libgdbm-compat4.symbols 
gdbm-1.23/debian/libgdbm-compat4.symbols
--- gdbm-1.23/debian/libgdbm-compat4.symbols    2022-08-23 13:19:29.000000000 
+0000
+++ gdbm-1.23/debian/libgdbm-compat4.symbols    1970-01-01 00:00:00.000000000 
+0000
@@ -1,22 +0,0 @@
-libgdbm_compat.so.4 libgdbm-compat4 #MINVER#
-* Build-Depends-Package: libgdbm-dev
- _gdbm_file@Base 1.16
- dbm_clearerr@Base 1.16
- dbm_close@Base 1.16
- dbm_delete@Base 1.16
- dbm_dirfno@Base 1.16
- dbm_error@Base 1.16
- dbm_fetch@Base 1.16
- dbm_firstkey@Base 1.16
- dbm_nextkey@Base 1.16
- dbm_open@Base 1.16
- dbm_pagfno@Base 1.16
- dbm_rdonly@Base 1.16
- dbm_store@Base 1.16
- dbmclose@Base 1.16
- dbminit@Base 1.16
- delete@Base 1.16
- fetch@Base 1.16
- firstkey@Base 1.16
- nextkey@Base 1.16
- store@Base 1.16
diff -Nru gdbm-1.23/debian/libgdbm-compat4t64.install 
gdbm-1.23/debian/libgdbm-compat4t64.install
--- gdbm-1.23/debian/libgdbm-compat4t64.install 1970-01-01 00:00:00.000000000 
+0000
+++ gdbm-1.23/debian/libgdbm-compat4t64.install 2022-08-23 13:19:29.000000000 
+0000
@@ -0,0 +1,2 @@
+/usr/lib/*/libgdbm_compat.so.4.0.0
+/usr/lib/*/libgdbm_compat.so.4
diff -Nru gdbm-1.23/debian/libgdbm-compat4t64.lintian-overrides 
gdbm-1.23/debian/libgdbm-compat4t64.lintian-overrides
--- gdbm-1.23/debian/libgdbm-compat4t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ gdbm-1.23/debian/libgdbm-compat4t64.lintian-overrides       2024-03-01 
12:04:07.000000000 +0000
@@ -0,0 +1 @@
+libgdbm-compat4t64: package-name-doesnt-match-sonames libgdbm-compat4
diff -Nru gdbm-1.23/debian/libgdbm-compat4t64.symbols 
gdbm-1.23/debian/libgdbm-compat4t64.symbols
--- gdbm-1.23/debian/libgdbm-compat4t64.symbols 1970-01-01 00:00:00.000000000 
+0000
+++ gdbm-1.23/debian/libgdbm-compat4t64.symbols 2024-03-01 12:04:07.000000000 
+0000
@@ -0,0 +1,22 @@
+libgdbm_compat.so.4 libgdbm-compat4t64 #MINVER#
+* Build-Depends-Package: libgdbm-dev
+ _gdbm_file@Base 1.16
+ dbm_clearerr@Base 1.16
+ dbm_close@Base 1.16
+ dbm_delete@Base 1.16
+ dbm_dirfno@Base 1.16
+ dbm_error@Base 1.16
+ dbm_fetch@Base 1.16
+ dbm_firstkey@Base 1.16
+ dbm_nextkey@Base 1.16
+ dbm_open@Base 1.16
+ dbm_pagfno@Base 1.16
+ dbm_rdonly@Base 1.16
+ dbm_store@Base 1.16
+ dbmclose@Base 1.16
+ dbminit@Base 1.16
+ delete@Base 1.16
+ fetch@Base 1.16
+ firstkey@Base 1.16
+ nextkey@Base 1.16
+ store@Base 1.16
diff -Nru gdbm-1.23/debian/libgdbm6.install gdbm-1.23/debian/libgdbm6.install
--- gdbm-1.23/debian/libgdbm6.install   2022-08-23 13:19:29.000000000 +0000
+++ gdbm-1.23/debian/libgdbm6.install   1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-/usr/lib/*/libgdbm.so.6.0.0
-/usr/lib/*/libgdbm.so.6
diff -Nru gdbm-1.23/debian/libgdbm6.symbols gdbm-1.23/debian/libgdbm6.symbols
--- gdbm-1.23/debian/libgdbm6.symbols   2022-08-27 21:09:36.000000000 +0000
+++ gdbm-1.23/debian/libgdbm6.symbols   1970-01-01 00:00:00.000000000 +0000
@@ -1,89 +0,0 @@
-libgdbm.so.6 libgdbm6 #MINVER#
-* Build-Depends-Package: libgdbm-dev
- _gdbm_alloc@Base 1.16
- _gdbm_avail_block_read@Base 1.20
- _gdbm_base64_decode@Base 1.16
- _gdbm_base64_encode@Base 1.16
- _gdbm_bucket_dir@Base 1.16
- _gdbm_cache_flush@Base 1.20
- _gdbm_cache_free@Base 1.20
- _gdbm_cache_init@Base 1.20
- _gdbm_dump_ascii@Base 1.16
- _gdbm_end_update@Base 1.16
- _gdbm_fatal@Base 1.16
- _gdbm_file_extend@Base 1.16
- _gdbm_file_size@Base 1.16
- _gdbm_findkey@Base 1.16
- _gdbm_free@Base 1.16
- _gdbm_full_read@Base 1.16
- _gdbm_full_write@Base 1.16
- _gdbm_get_bucket@Base 1.16
- _gdbm_hash@Base 1.16
- _gdbm_hash_key@Base 1.16
- _gdbm_internal_remap@Base 1.16
- _gdbm_lock_file@Base 1.16
- _gdbm_mapped_init@Base 1.16
- _gdbm_mapped_lseek@Base 1.16
- _gdbm_mapped_read@Base 1.16
- _gdbm_mapped_remap@Base 1.16
- _gdbm_mapped_sync@Base 1.16
- _gdbm_mapped_unmap@Base 1.16
- _gdbm_mapped_write@Base 1.16
- _gdbm_new_bucket@Base 1.16
- _gdbm_next_bucket_dir@Base 1.16
- _gdbm_put_av_elem@Base 1.16
- _gdbm_read_entry@Base 1.16
- (arch=linux-any)_gdbm_snapshot@Base 1.21
- _gdbm_split_bucket@Base 1.16
- _gdbm_str2fmt@Base 1.21
- _gdbm_unlock_file@Base 1.16
- _gdbm_validate_header@Base 1.18-3~
- _gdbm_write_bucket@Base 1.16
- gdbm_avail_block_validate@Base 1.16
- gdbm_avail_traverse@Base 1.20
- gdbm_avail_verify@Base 1.20
- gdbm_bucket_avail_table_validate@Base 1.16
- gdbm_bucket_count@Base 1.20
- gdbm_check_syserr@Base 1.16
- gdbm_clear_error@Base 1.16
- gdbm_close@Base 1.16
- gdbm_convert@Base 1.21
- gdbm_copy_meta@Base 1.16
- gdbm_count@Base 1.16
- gdbm_db_strerror@Base 1.16
- gdbm_delete@Base 1.16
- gdbm_dump@Base 1.16
- gdbm_dump_to_file@Base 1.16
- gdbm_errlist@Base 1.16
- gdbm_errno_location@Base 1.16
- gdbm_exists@Base 1.16
- gdbm_export@Base 1.16
- gdbm_export_to_file@Base 1.16
- gdbm_failure_atomic@Base 1.21
- gdbm_fd_open@Base 1.16
- gdbm_fdesc@Base 1.16
- gdbm_fetch@Base 1.16
- gdbm_file_sync@Base 1.21
- gdbm_firstkey@Base 1.16
- gdbm_get_cache_stats@Base 1.20
- gdbm_import@Base 1.16
- gdbm_import_from_file@Base 1.16
- gdbm_last_errno@Base 1.16
- gdbm_last_syserr@Base 1.16
- gdbm_latest_snapshot@Base 1.21
- gdbm_load@Base 1.16
- gdbm_load_from_file@Base 1.16
- gdbm_needs_recovery@Base 1.16
- gdbm_nextkey@Base 1.16
- gdbm_open@Base 1.16
- gdbm_recover@Base 1.16
- gdbm_reorganize@Base 1.16
- gdbm_set_errno@Base 1.16
- gdbm_setopt@Base 1.16
- gdbm_store@Base 1.16
- gdbm_strerror@Base 1.16
- gdbm_sync@Base 1.16
- gdbm_syserr@Base 1.16
- gdbm_version@Base 1.16
- gdbm_version_cmp@Base 1.16
- gdbm_version_number@Base 1.16
diff -Nru gdbm-1.23/debian/libgdbm6t64.install 
gdbm-1.23/debian/libgdbm6t64.install
--- gdbm-1.23/debian/libgdbm6t64.install        1970-01-01 00:00:00.000000000 
+0000
+++ gdbm-1.23/debian/libgdbm6t64.install        2022-08-23 13:19:29.000000000 
+0000
@@ -0,0 +1,2 @@
+/usr/lib/*/libgdbm.so.6.0.0
+/usr/lib/*/libgdbm.so.6
diff -Nru gdbm-1.23/debian/libgdbm6t64.lintian-overrides 
gdbm-1.23/debian/libgdbm6t64.lintian-overrides
--- gdbm-1.23/debian/libgdbm6t64.lintian-overrides      1970-01-01 
00:00:00.000000000 +0000
+++ gdbm-1.23/debian/libgdbm6t64.lintian-overrides      2024-03-01 
12:04:07.000000000 +0000
@@ -0,0 +1 @@
+libgdbm6t64: package-name-doesnt-match-sonames libgdbm6
diff -Nru gdbm-1.23/debian/libgdbm6t64.symbols 
gdbm-1.23/debian/libgdbm6t64.symbols
--- gdbm-1.23/debian/libgdbm6t64.symbols        1970-01-01 00:00:00.000000000 
+0000
+++ gdbm-1.23/debian/libgdbm6t64.symbols        2024-03-01 12:04:07.000000000 
+0000
@@ -0,0 +1,89 @@
+libgdbm.so.6 libgdbm6t64 #MINVER#
+* Build-Depends-Package: libgdbm-dev
+ _gdbm_alloc@Base 1.16
+ _gdbm_avail_block_read@Base 1.20
+ _gdbm_base64_decode@Base 1.16
+ _gdbm_base64_encode@Base 1.16
+ _gdbm_bucket_dir@Base 1.16
+ _gdbm_cache_flush@Base 1.20
+ _gdbm_cache_free@Base 1.20
+ _gdbm_cache_init@Base 1.20
+ _gdbm_dump_ascii@Base 1.16
+ _gdbm_end_update@Base 1.16
+ _gdbm_fatal@Base 1.16
+ _gdbm_file_extend@Base 1.16
+ _gdbm_file_size@Base 1.16
+ _gdbm_findkey@Base 1.16
+ _gdbm_free@Base 1.16
+ _gdbm_full_read@Base 1.16
+ _gdbm_full_write@Base 1.16
+ _gdbm_get_bucket@Base 1.16
+ _gdbm_hash@Base 1.16
+ _gdbm_hash_key@Base 1.16
+ _gdbm_internal_remap@Base 1.16
+ _gdbm_lock_file@Base 1.16
+ _gdbm_mapped_init@Base 1.16
+ _gdbm_mapped_lseek@Base 1.16
+ _gdbm_mapped_read@Base 1.16
+ _gdbm_mapped_remap@Base 1.16
+ _gdbm_mapped_sync@Base 1.16
+ _gdbm_mapped_unmap@Base 1.16
+ _gdbm_mapped_write@Base 1.16
+ _gdbm_new_bucket@Base 1.16
+ _gdbm_next_bucket_dir@Base 1.16
+ _gdbm_put_av_elem@Base 1.16
+ _gdbm_read_entry@Base 1.16
+ (arch=linux-any)_gdbm_snapshot@Base 1.21
+ _gdbm_split_bucket@Base 1.16
+ _gdbm_str2fmt@Base 1.21
+ _gdbm_unlock_file@Base 1.16
+ _gdbm_validate_header@Base 1.18-3~
+ _gdbm_write_bucket@Base 1.16
+ gdbm_avail_block_validate@Base 1.16
+ gdbm_avail_traverse@Base 1.20
+ gdbm_avail_verify@Base 1.20
+ gdbm_bucket_avail_table_validate@Base 1.16
+ gdbm_bucket_count@Base 1.20
+ gdbm_check_syserr@Base 1.16
+ gdbm_clear_error@Base 1.16
+ gdbm_close@Base 1.16
+ gdbm_convert@Base 1.21
+ gdbm_copy_meta@Base 1.16
+ gdbm_count@Base 1.16
+ gdbm_db_strerror@Base 1.16
+ gdbm_delete@Base 1.16
+ gdbm_dump@Base 1.16
+ gdbm_dump_to_file@Base 1.16
+ gdbm_errlist@Base 1.16
+ gdbm_errno_location@Base 1.16
+ gdbm_exists@Base 1.16
+ gdbm_export@Base 1.16
+ gdbm_export_to_file@Base 1.16
+ gdbm_failure_atomic@Base 1.21
+ gdbm_fd_open@Base 1.16
+ gdbm_fdesc@Base 1.16
+ gdbm_fetch@Base 1.16
+ gdbm_file_sync@Base 1.21
+ gdbm_firstkey@Base 1.16
+ gdbm_get_cache_stats@Base 1.20
+ gdbm_import@Base 1.16
+ gdbm_import_from_file@Base 1.16
+ gdbm_last_errno@Base 1.16
+ gdbm_last_syserr@Base 1.16
+ gdbm_latest_snapshot@Base 1.21
+ gdbm_load@Base 1.16
+ gdbm_load_from_file@Base 1.16
+ gdbm_needs_recovery@Base 1.16
+ gdbm_nextkey@Base 1.16
+ gdbm_open@Base 1.16
+ gdbm_recover@Base 1.16
+ gdbm_reorganize@Base 1.16
+ gdbm_set_errno@Base 1.16
+ gdbm_setopt@Base 1.16
+ gdbm_store@Base 1.16
+ gdbm_strerror@Base 1.16
+ gdbm_sync@Base 1.16
+ gdbm_syserr@Base 1.16
+ gdbm_version@Base 1.16
+ gdbm_version_cmp@Base 1.16
+ gdbm_version_number@Base 1.16

Reply via email to