Source: opendht
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 opendht-3.0.1/debian/changelog opendht-3.0.1/debian/changelog
--- opendht-3.0.1/debian/changelog      2024-01-19 04:32:40.000000000 +0000
+++ opendht-3.0.1/debian/changelog      2024-02-29 12:15:24.000000000 +0000
@@ -1,3 +1,10 @@
+opendht (3.0.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062842
+
+ -- Benjamin Drung <bdr...@debian.org>  Thu, 29 Feb 2024 12:15:24 +0000
+
 opendht (3.0.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru opendht-3.0.1/debian/control opendht-3.0.1/debian/control
--- opendht-3.0.1/debian/control        2024-01-19 04:30:59.000000000 +0000
+++ opendht-3.0.1/debian/control        2024-02-29 12:15:24.000000000 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Amin Bandali <band...@debian.org>
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                cmake,
                dh-exec,
                pkg-config,
@@ -36,7 +36,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
-         libopendht3 (=${binary:Version}),
+         libopendht3t64 (=${binary:Version}),
          libgnutls28-dev,
          libmsgpack-cxx-dev | libmsgpack-dev (>= 1.2),
          libmsgpack-cxx-dev | libmsgpack-dev (<= 4.0.0),
@@ -72,7 +72,10 @@
  This package contains the C++ library headers and other
  development files.
 
-Package: libopendht3
+Package: libopendht3t64
+Provides: ${t64:Provides}
+Replaces: libopendht3
+Breaks: libopendht3 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
@@ -103,7 +106,7 @@
 Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
-         libopendht-c3 (=${binary:Version}),
+         libopendht-c3t64 (=${binary:Version}),
          libopendht-dev,
          libgnutls28-dev,
          libargon2-dev
@@ -129,12 +132,15 @@
  This package contains the C bindings library header and other
  development files.
 
-Package: libopendht-c3
+Package: libopendht-c3t64
+Provides: ${t64:Provides}
+Replaces: libopendht-c3
+Breaks: libopendht-c3 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
          ${shlibs:Depends},
-         libopendht3 (=${binary:Version})
+         libopendht3t64 (=${binary:Version})
 Description: Lightweight C++17 distributed hash table implementation - C 
wrapper
  OpenDHT is a lightweight C++17 Distributed Hash Table implementation.
  .
@@ -161,7 +167,7 @@
 Depends: ${misc:Depends},
          ${python3:Depends},
          ${shlibs:Depends},
-         libopendht3 (=${binary:Version})
+         libopendht3t64 (=${binary:Version})
 Description: Python 3 bindings for libopendht C++ library
  OpenDHT is a lightweight C++17 Distributed Hash Table implementation.
  .
@@ -188,7 +194,7 @@
 Section: net
 Depends: ${misc:Depends},
          ${shlibs:Depends},
-         libopendht3 (=${binary:Version}),
+         libopendht3t64 (=${binary:Version}),
          adduser
 Description: OpenDHT node binary
  OpenDHT is a lightweight C++17 Distributed Hash Table implementation.
@@ -218,7 +224,7 @@
          ${python3:Depends},
          ${shlibs:Depends},
          dhtnode (=${binary:Version}),
-         libopendht3 (=${binary:Version}),
+         libopendht3t64 (=${binary:Version}),
          python3-opendht (=${binary:Version}),
          python3-twisted
 Description: Collection of OpenDHT utility tools
diff -Nru opendht-3.0.1/debian/libopendht-c3.install 
opendht-3.0.1/debian/libopendht-c3.install
--- opendht-3.0.1/debian/libopendht-c3.install  2024-01-19 04:19:50.000000000 
+0000
+++ opendht-3.0.1/debian/libopendht-c3.install  1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libopendht-c.so.*
diff -Nru opendht-3.0.1/debian/libopendht-c3.symbols 
opendht-3.0.1/debian/libopendht-c3.symbols
--- opendht-3.0.1/debian/libopendht-c3.symbols  2024-01-19 04:19:50.000000000 
+0000
+++ opendht-3.0.1/debian/libopendht-c3.symbols  1970-01-01 00:00:00.000000000 
+0000
@@ -1,86 +0,0 @@
-libopendht-c.so.3 libopendht-c3 #MINVER#
- (optional=lto)_ZNSt12_Vector_baseIhSaIhEED1Ev@Base 2.4.12
- (optional=lto)_ZNSt12_Vector_baseIhSaIhEED2Ev@Base 2.4.12
- (optional=lto)_ZNSt14_Function_baseD1Ev@Base 2.4.12
- (optional=lto)_ZNSt14_Function_baseD2Ev@Base 2.4.12
- (arch=armel 
riscv64)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE10_M_releaseEv@Base
 2.4.12
- (optional=lto|arch=!armel 
!riscv64)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv@Base
 2.4.12
- (optional=lto|arch=!armel !armhf !i386 !mipsel !hppa !m68k !powerpc !riscv64 
!sparc64 
!x32)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv@Base
 2.4.12
- (optional=lto)_ZNSt6vectorIhSaIhEED1Ev@Base 2.5.0
- (optional=lto)_ZNSt6vectorIhSaIhEED2Ev@Base 2.5.0
- (arch=armel riscv64)_ZTIN9__gnu_cxx7__mutexE@Base 2.4.12
- (arch=armel riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 
2.4.12
- (arch=!armel !riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 
2.4.12
- (arch=armel 
riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 2.4.12
- (arch=!armel 
!riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 2.4.12
- (arch=armel armhf)_ZTISt19_Sp_make_shared_tag@Base 2.4.12
- (arch=armel riscv64)_ZTSN9__gnu_cxx7__mutexE@Base 2.4.12
- (arch=armel riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 
2.4.12
- (arch=!armel !riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 
2.4.12
- (arch=armel 
riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 2.4.12
- (arch=!armel 
!riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 2.4.12
- _ZTSSt19_Sp_make_shared_tag@Base 2.4.12
- _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag@Base 2.4.12
- dht_blob_delete@Base 2.4.12
- dht_blob_get_data@Base 2.4.12
- dht_certificate_delete@Base 2.4.12
- dht_certificate_get_id@Base 2.4.12
- dht_certificate_get_long_id@Base 2.4.12
- dht_certificate_get_publickey@Base 2.4.12
- dht_certificate_import@Base 2.4.12
- dht_identity_delete@Base 2.4.12
- dht_identity_generate@Base 2.4.12
- dht_infohash_from_hex@Base 2.4.12
- dht_infohash_from_hex_null@Base 2.4.12
- dht_infohash_get@Base 2.4.12
- dht_infohash_get_from_string@Base 2.4.12
- dht_infohash_is_zero@Base 2.4.12
- dht_infohash_print@Base 2.4.12
- dht_infohash_random@Base 2.4.12
- dht_infohash_zero@Base 2.4.12
- dht_op_token_delete@Base 2.4.12
- dht_pkid_print@Base 2.4.12
- dht_privatekey_decrypt@Base 2.4.12
- dht_privatekey_delete@Base 2.4.12
- dht_privatekey_export@Base 2.4.12
- dht_privatekey_generate@Base 2.4.12
- dht_privatekey_get_publickey@Base 2.4.12
- dht_privatekey_import@Base 2.4.12
- dht_publickey_check_signature@Base 2.4.12
- dht_publickey_delete@Base 2.4.12
- dht_publickey_encrypt@Base 2.4.12
- dht_publickey_export@Base 2.4.12
- dht_publickey_get_id@Base 2.4.12
- dht_publickey_get_long_id@Base 2.4.12
- dht_publickey_import@Base 2.4.12
- dht_runner_bootstrap@Base 2.4.12
- dht_runner_cancel_listen@Base 2.4.12
- dht_runner_cancel_put@Base 2.4.12
- dht_runner_config_default@Base 2.4.12
- dht_runner_delete@Base 2.4.12
- dht_runner_get@Base 2.4.12
- dht_runner_get_bound_port@Base 2.4.12
- dht_runner_get_id@Base 2.4.12
- dht_runner_get_node_id@Base 2.4.12
- dht_runner_get_public_address@Base 2.4.12
- dht_runner_is_running@Base 2.4.12
- dht_runner_listen@Base 2.4.12
- dht_runner_new@Base 2.4.12
- dht_runner_ping@Base 2.4.12
- dht_runner_put@Base 2.4.12
- dht_runner_put_encrypted@Base 2.4.12
- dht_runner_put_signed@Base 2.4.12
- dht_runner_run@Base 2.4.12
- dht_runner_run_config@Base 2.4.12
- dht_runner_shutdown@Base 2.4.12
- dht_value_get_data@Base 2.4.12
- dht_value_get_id@Base 2.4.12
- dht_value_get_owner@Base 2.4.12
- dht_value_get_recipient@Base 2.4.12
- dht_value_get_user_type@Base 2.4.12
- dht_value_new@Base 2.4.12
- dht_value_new_from_string@Base 2.4.12
- dht_value_ref@Base 2.4.12
- dht_value_set_user_type@Base 2.4.12
- dht_value_unref@Base 2.4.12
- dht_version@Base 2.4.12
diff -Nru opendht-3.0.1/debian/libopendht-c3t64.install 
opendht-3.0.1/debian/libopendht-c3t64.install
--- opendht-3.0.1/debian/libopendht-c3t64.install       1970-01-01 
00:00:00.000000000 +0000
+++ opendht-3.0.1/debian/libopendht-c3t64.install       2024-01-19 
04:19:50.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libopendht-c.so.*
diff -Nru opendht-3.0.1/debian/libopendht-c3t64.lintian-overrides 
opendht-3.0.1/debian/libopendht-c3t64.lintian-overrides
--- opendht-3.0.1/debian/libopendht-c3t64.lintian-overrides     1970-01-01 
00:00:00.000000000 +0000
+++ opendht-3.0.1/debian/libopendht-c3t64.lintian-overrides     2024-02-29 
12:15:13.000000000 +0000
@@ -0,0 +1 @@
+libopendht-c3t64: package-name-doesnt-match-sonames libopendht-c3
diff -Nru opendht-3.0.1/debian/libopendht-c3t64.symbols 
opendht-3.0.1/debian/libopendht-c3t64.symbols
--- opendht-3.0.1/debian/libopendht-c3t64.symbols       1970-01-01 
00:00:00.000000000 +0000
+++ opendht-3.0.1/debian/libopendht-c3t64.symbols       2024-02-29 
12:15:13.000000000 +0000
@@ -0,0 +1,86 @@
+libopendht-c.so.3 libopendht-c3t64 #MINVER#
+ (optional=lto)_ZNSt12_Vector_baseIhSaIhEED1Ev@Base 2.4.12
+ (optional=lto)_ZNSt12_Vector_baseIhSaIhEED2Ev@Base 2.4.12
+ (optional=lto)_ZNSt14_Function_baseD1Ev@Base 2.4.12
+ (optional=lto)_ZNSt14_Function_baseD2Ev@Base 2.4.12
+ (arch=armel 
riscv64)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE10_M_releaseEv@Base
 2.4.12
+ (optional=lto|arch=!armel 
!riscv64)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv@Base
 2.4.12
+ (optional=lto|arch=!armel !armhf !i386 !mipsel !hppa !m68k !powerpc !riscv64 
!sparc64 
!x32)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv@Base
 2.4.12
+ (optional=lto)_ZNSt6vectorIhSaIhEED1Ev@Base 2.5.0
+ (optional=lto)_ZNSt6vectorIhSaIhEED2Ev@Base 2.5.0
+ (arch=armel riscv64)_ZTIN9__gnu_cxx7__mutexE@Base 2.4.12
+ (arch=armel riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 
2.4.12
+ (arch=!armel !riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 
2.4.12
+ (arch=armel 
riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 2.4.12
+ (arch=!armel 
!riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 2.4.12
+ (arch=armel armhf)_ZTISt19_Sp_make_shared_tag@Base 2.4.12
+ (arch=armel riscv64)_ZTSN9__gnu_cxx7__mutexE@Base 2.4.12
+ (arch=armel riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 
2.4.12
+ (arch=!armel !riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 
2.4.12
+ (arch=armel 
riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 2.4.12
+ (arch=!armel 
!riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 2.4.12
+ _ZTSSt19_Sp_make_shared_tag@Base 2.4.12
+ _ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag@Base 2.4.12
+ dht_blob_delete@Base 2.4.12
+ dht_blob_get_data@Base 2.4.12
+ dht_certificate_delete@Base 2.4.12
+ dht_certificate_get_id@Base 2.4.12
+ dht_certificate_get_long_id@Base 2.4.12
+ dht_certificate_get_publickey@Base 2.4.12
+ dht_certificate_import@Base 2.4.12
+ dht_identity_delete@Base 2.4.12
+ dht_identity_generate@Base 2.4.12
+ dht_infohash_from_hex@Base 2.4.12
+ dht_infohash_from_hex_null@Base 2.4.12
+ dht_infohash_get@Base 2.4.12
+ dht_infohash_get_from_string@Base 2.4.12
+ dht_infohash_is_zero@Base 2.4.12
+ dht_infohash_print@Base 2.4.12
+ dht_infohash_random@Base 2.4.12
+ dht_infohash_zero@Base 2.4.12
+ dht_op_token_delete@Base 2.4.12
+ dht_pkid_print@Base 2.4.12
+ dht_privatekey_decrypt@Base 2.4.12
+ dht_privatekey_delete@Base 2.4.12
+ dht_privatekey_export@Base 2.4.12
+ dht_privatekey_generate@Base 2.4.12
+ dht_privatekey_get_publickey@Base 2.4.12
+ dht_privatekey_import@Base 2.4.12
+ dht_publickey_check_signature@Base 2.4.12
+ dht_publickey_delete@Base 2.4.12
+ dht_publickey_encrypt@Base 2.4.12
+ dht_publickey_export@Base 2.4.12
+ dht_publickey_get_id@Base 2.4.12
+ dht_publickey_get_long_id@Base 2.4.12
+ dht_publickey_import@Base 2.4.12
+ dht_runner_bootstrap@Base 2.4.12
+ dht_runner_cancel_listen@Base 2.4.12
+ dht_runner_cancel_put@Base 2.4.12
+ dht_runner_config_default@Base 2.4.12
+ dht_runner_delete@Base 2.4.12
+ dht_runner_get@Base 2.4.12
+ dht_runner_get_bound_port@Base 2.4.12
+ dht_runner_get_id@Base 2.4.12
+ dht_runner_get_node_id@Base 2.4.12
+ dht_runner_get_public_address@Base 2.4.12
+ dht_runner_is_running@Base 2.4.12
+ dht_runner_listen@Base 2.4.12
+ dht_runner_new@Base 2.4.12
+ dht_runner_ping@Base 2.4.12
+ dht_runner_put@Base 2.4.12
+ dht_runner_put_encrypted@Base 2.4.12
+ dht_runner_put_signed@Base 2.4.12
+ dht_runner_run@Base 2.4.12
+ dht_runner_run_config@Base 2.4.12
+ dht_runner_shutdown@Base 2.4.12
+ dht_value_get_data@Base 2.4.12
+ dht_value_get_id@Base 2.4.12
+ dht_value_get_owner@Base 2.4.12
+ dht_value_get_recipient@Base 2.4.12
+ dht_value_get_user_type@Base 2.4.12
+ dht_value_new@Base 2.4.12
+ dht_value_new_from_string@Base 2.4.12
+ dht_value_ref@Base 2.4.12
+ dht_value_set_user_type@Base 2.4.12
+ dht_value_unref@Base 2.4.12
+ dht_version@Base 2.4.12
diff -Nru opendht-3.0.1/debian/libopendht3.install 
opendht-3.0.1/debian/libopendht3.install
--- opendht-3.0.1/debian/libopendht3.install    2024-01-19 04:19:50.000000000 
+0000
+++ opendht-3.0.1/debian/libopendht3.install    1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libopendht.so.*
diff -Nru opendht-3.0.1/debian/libopendht3t64.install 
opendht-3.0.1/debian/libopendht3t64.install
--- opendht-3.0.1/debian/libopendht3t64.install 1970-01-01 00:00:00.000000000 
+0000
+++ opendht-3.0.1/debian/libopendht3t64.install 2024-01-19 04:19:50.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/libopendht.so.*
diff -Nru opendht-3.0.1/debian/libopendht3t64.lintian-overrides 
opendht-3.0.1/debian/libopendht3t64.lintian-overrides
--- opendht-3.0.1/debian/libopendht3t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ opendht-3.0.1/debian/libopendht3t64.lintian-overrides       2024-02-29 
12:15:13.000000000 +0000
@@ -0,0 +1 @@
+libopendht3t64: package-name-doesnt-match-sonames libopendht3

Reply via email to