Source: libotr
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 libotr-4.1.1/debian/changelog libotr-4.1.1/debian/changelog
--- libotr-4.1.1/debian/changelog       2022-05-13 09:27:37.000000000 +0000
+++ libotr-4.1.1/debian/changelog       2024-02-28 16:10:23.000000000 +0000
@@ -1,3 +1,10 @@
+libotr (4.1.1-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062561
+
+ -- Benjamin Drung <bdr...@debian.org>  Wed, 28 Feb 2024 16:10:23 +0000
+
 libotr (4.1.1-5) unstable; urgency=medium
   * Team upload
 
diff -Nru libotr-4.1.1/debian/control libotr-4.1.1/debian/control
--- libotr-4.1.1/debian/control 2022-05-13 08:09:19.000000000 +0000
+++ libotr-4.1.1/debian/control 2024-02-28 16:10:23.000000000 +0000
@@ -3,7 +3,7 @@
 Uploaders: Clément Hermann <nod...@debian.org>,
 Section: libs
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper (>= 11~),
                libgpg-error-dev,
                libgcrypt20-dev
 Standards-Version: 4.2.1
@@ -11,7 +11,10 @@
 Vcs-Git: https://salsa.debian.org/pkg-privacy-team/libotr.git
 Homepage: https://otr.cypherpunks.ca/
 
-Package: libotr5
+Package: libotr5t64
+Provides: ${t64:Provides}
+Replaces: libotr5
+Breaks: libotr5 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends},
@@ -65,7 +68,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libotr5 (= ${binary:Version}),
+Depends: libotr5t64 (= ${binary:Version}),
          libgcrypt20-dev,
          ${shlibs:Depends},
          ${misc:Depends}
diff -Nru libotr-4.1.1/debian/libotr5.symbols 
libotr-4.1.1/debian/libotr5.symbols
--- libotr-4.1.1/debian/libotr5.symbols 2022-05-12 08:20:14.000000000 +0000
+++ libotr-4.1.1/debian/libotr5.symbols 1970-01-01 00:00:00.000000000 +0000
@@ -1,125 +0,0 @@
-libotr.so.5 libotr5 #MINVER#
- otrl_api_version@Base 4.0.0
- otrl_auth_clear@Base 4.0.0
- otrl_auth_copy_on_key@Base 4.0.0
- otrl_auth_handle_commit@Base 4.0.0
- otrl_auth_handle_key@Base 4.0.0
- otrl_auth_handle_revealsig@Base 4.0.0
- otrl_auth_handle_signature@Base 4.0.0
- otrl_auth_handle_v1_key_exchange@Base 4.0.0
- otrl_auth_new@Base 4.0.0
- otrl_auth_start_v1@Base 4.0.0
- otrl_auth_start_v23@Base 4.0.0
- otrl_base64_decode@Base 4.0.0
- otrl_base64_encode@Base 4.0.0
- otrl_base64_otr_decode@Base 4.0.0
- otrl_base64_otr_encode@Base 4.0.0
- otrl_context_find@Base 4.0.0
- otrl_context_find_fingerprint@Base 4.0.0
- otrl_context_find_recent_instance@Base 4.0.0
- otrl_context_find_recent_secure_instance@Base 4.0.0
- otrl_context_force_finished@Base 4.0.0
- otrl_context_force_plaintext@Base 4.0.0
- otrl_context_forget@Base 4.0.0
- otrl_context_forget_all@Base 4.0.0
- otrl_context_forget_fingerprint@Base 4.0.0
- otrl_context_is_fingerprint_trusted@Base 4.0.0
- otrl_context_priv_force_finished@Base 4.0.0
- otrl_context_priv_new@Base 4.0.0
- otrl_context_set_trust@Base 4.0.0
- otrl_context_update_recent_child@Base 4.0.0
- otrl_dh_cmpctr@Base 4.0.0
- otrl_dh_compute_v1_session_id@Base 4.0.0
- otrl_dh_compute_v2_auth_keys@Base 4.0.0
- otrl_dh_gen_keypair@Base 4.0.0
- otrl_dh_incctr@Base 4.0.0
- otrl_dh_init@Base 4.0.0
- otrl_dh_keypair_copy@Base 4.0.0
- otrl_dh_keypair_free@Base 4.0.0
- otrl_dh_keypair_init@Base 4.0.0
- otrl_dh_session@Base 4.0.0
- otrl_dh_session_blank@Base 4.0.0
- otrl_dh_session_free@Base 4.0.0
- otrl_init@Base 4.0.0
- otrl_instag_find@Base 4.0.0
- otrl_instag_forget@Base 4.0.0
- otrl_instag_forget_all@Base 4.0.0
- otrl_instag_generate@Base 4.0.0
- otrl_instag_generate_FILEp@Base 4.0.0
- otrl_instag_get_new@Base 4.0.0
- otrl_instag_read@Base 4.0.0
- otrl_instag_read_FILEp@Base 4.0.0
- otrl_instag_write@Base 4.0.0
- otrl_instag_write_FILEp@Base 4.0.0
- otrl_mem_differ@Base 4.1.0
- otrl_mem_init@Base 4.0.0
- otrl_message_abort_smp@Base 4.0.0
- otrl_message_disconnect@Base 4.0.0
- otrl_message_disconnect_all_instances@Base 4.0.0
- otrl_message_free@Base 4.0.0
- otrl_message_initiate_smp@Base 4.0.0
- otrl_message_initiate_smp_q@Base 4.0.0
- otrl_message_poll@Base 4.0.0
- otrl_message_poll_get_default_interval@Base 4.0.0
- otrl_message_receiving@Base 4.0.0
- otrl_message_respond_smp@Base 4.0.0
- otrl_message_sending@Base 4.0.0
- otrl_message_symkey@Base 4.0.0
- otrl_privkey_find@Base 4.0.0
- otrl_privkey_fingerprint@Base 4.0.0
- otrl_privkey_fingerprint_raw@Base 4.0.0
- otrl_privkey_forget@Base 4.0.0
- otrl_privkey_forget_all@Base 4.0.0
- otrl_privkey_generate@Base 4.0.0
- otrl_privkey_generate_FILEp@Base 4.0.0
- otrl_privkey_generate_calculate@Base 4.0.0
- otrl_privkey_generate_cancelled@Base 4.0.0
- otrl_privkey_generate_finish@Base 4.0.0
- otrl_privkey_generate_finish_FILEp@Base 4.0.0
- otrl_privkey_generate_start@Base 4.0.0
- otrl_privkey_hash_to_human@Base 4.0.0
- otrl_privkey_pending_forget_all@Base 4.0.0
- otrl_privkey_read@Base 4.0.0
- otrl_privkey_read_FILEp@Base 4.0.0
- otrl_privkey_read_fingerprints@Base 4.0.0
- otrl_privkey_read_fingerprints_FILEp@Base 4.0.0
- otrl_privkey_sign@Base 4.0.0
- otrl_privkey_verify@Base 4.0.0
- otrl_privkey_write_fingerprints@Base 4.0.0
- otrl_privkey_write_fingerprints_FILEp@Base 4.0.0
- otrl_proto_accept_data@Base 4.0.0
- otrl_proto_create_data@Base 4.0.0
- otrl_proto_data_read_flags@Base 4.0.0
- otrl_proto_default_query_msg@Base 4.0.0
- otrl_proto_fragment_accumulate@Base 4.0.0
- otrl_proto_fragment_create@Base 4.0.0
- otrl_proto_fragment_free@Base 4.0.0
- otrl_proto_instance@Base 4.0.0
- otrl_proto_message_type@Base 4.0.0
- otrl_proto_message_version@Base 4.0.0
- otrl_proto_query_bestversion@Base 4.0.0
- otrl_proto_whitespace_bestversion@Base 4.0.0
- otrl_sm_init@Base 4.0.0
- otrl_sm_msg1_init@Base 4.0.0
- otrl_sm_msg2_init@Base 4.0.0
- otrl_sm_msg3_init@Base 4.0.0
- otrl_sm_msg4_init@Base 4.0.0
- otrl_sm_msg_free@Base 4.0.0
- otrl_sm_state_free@Base 4.0.0
- otrl_sm_state_init@Base 4.0.0
- otrl_sm_state_new@Base 4.0.0
- otrl_sm_step1@Base 4.0.0
- otrl_sm_step2a@Base 4.0.0
- otrl_sm_step2b@Base 4.0.0
- otrl_sm_step3@Base 4.0.0
- otrl_sm_step4@Base 4.0.0
- otrl_sm_step5@Base 4.0.0
- otrl_tlv_find@Base 4.0.0
- otrl_tlv_free@Base 4.0.0
- otrl_tlv_new@Base 4.0.0
- otrl_tlv_parse@Base 4.0.0
- otrl_tlv_serialize@Base 4.0.0
- otrl_tlv_seriallen@Base 4.0.0
- otrl_userstate_create@Base 4.0.0
- otrl_userstate_free@Base 4.0.0
- otrl_version@Base 4.0.0
diff -Nru libotr-4.1.1/debian/libotr5t64.lintian-overrides 
libotr-4.1.1/debian/libotr5t64.lintian-overrides
--- libotr-4.1.1/debian/libotr5t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ libotr-4.1.1/debian/libotr5t64.lintian-overrides    2024-02-28 
16:10:19.000000000 +0000
@@ -0,0 +1 @@
+libotr5t64: package-name-doesnt-match-sonames libotr5
diff -Nru libotr-4.1.1/debian/libotr5t64.symbols 
libotr-4.1.1/debian/libotr5t64.symbols
--- libotr-4.1.1/debian/libotr5t64.symbols      1970-01-01 00:00:00.000000000 
+0000
+++ libotr-4.1.1/debian/libotr5t64.symbols      2024-02-28 16:10:19.000000000 
+0000
@@ -0,0 +1,125 @@
+libotr.so.5 libotr5t64 #MINVER#
+ otrl_api_version@Base 4.0.0
+ otrl_auth_clear@Base 4.0.0
+ otrl_auth_copy_on_key@Base 4.0.0
+ otrl_auth_handle_commit@Base 4.0.0
+ otrl_auth_handle_key@Base 4.0.0
+ otrl_auth_handle_revealsig@Base 4.0.0
+ otrl_auth_handle_signature@Base 4.0.0
+ otrl_auth_handle_v1_key_exchange@Base 4.0.0
+ otrl_auth_new@Base 4.0.0
+ otrl_auth_start_v1@Base 4.0.0
+ otrl_auth_start_v23@Base 4.0.0
+ otrl_base64_decode@Base 4.0.0
+ otrl_base64_encode@Base 4.0.0
+ otrl_base64_otr_decode@Base 4.0.0
+ otrl_base64_otr_encode@Base 4.0.0
+ otrl_context_find@Base 4.0.0
+ otrl_context_find_fingerprint@Base 4.0.0
+ otrl_context_find_recent_instance@Base 4.0.0
+ otrl_context_find_recent_secure_instance@Base 4.0.0
+ otrl_context_force_finished@Base 4.0.0
+ otrl_context_force_plaintext@Base 4.0.0
+ otrl_context_forget@Base 4.0.0
+ otrl_context_forget_all@Base 4.0.0
+ otrl_context_forget_fingerprint@Base 4.0.0
+ otrl_context_is_fingerprint_trusted@Base 4.0.0
+ otrl_context_priv_force_finished@Base 4.0.0
+ otrl_context_priv_new@Base 4.0.0
+ otrl_context_set_trust@Base 4.0.0
+ otrl_context_update_recent_child@Base 4.0.0
+ otrl_dh_cmpctr@Base 4.0.0
+ otrl_dh_compute_v1_session_id@Base 4.0.0
+ otrl_dh_compute_v2_auth_keys@Base 4.0.0
+ otrl_dh_gen_keypair@Base 4.0.0
+ otrl_dh_incctr@Base 4.0.0
+ otrl_dh_init@Base 4.0.0
+ otrl_dh_keypair_copy@Base 4.0.0
+ otrl_dh_keypair_free@Base 4.0.0
+ otrl_dh_keypair_init@Base 4.0.0
+ otrl_dh_session@Base 4.0.0
+ otrl_dh_session_blank@Base 4.0.0
+ otrl_dh_session_free@Base 4.0.0
+ otrl_init@Base 4.0.0
+ otrl_instag_find@Base 4.0.0
+ otrl_instag_forget@Base 4.0.0
+ otrl_instag_forget_all@Base 4.0.0
+ otrl_instag_generate@Base 4.0.0
+ otrl_instag_generate_FILEp@Base 4.0.0
+ otrl_instag_get_new@Base 4.0.0
+ otrl_instag_read@Base 4.0.0
+ otrl_instag_read_FILEp@Base 4.0.0
+ otrl_instag_write@Base 4.0.0
+ otrl_instag_write_FILEp@Base 4.0.0
+ otrl_mem_differ@Base 4.1.0
+ otrl_mem_init@Base 4.0.0
+ otrl_message_abort_smp@Base 4.0.0
+ otrl_message_disconnect@Base 4.0.0
+ otrl_message_disconnect_all_instances@Base 4.0.0
+ otrl_message_free@Base 4.0.0
+ otrl_message_initiate_smp@Base 4.0.0
+ otrl_message_initiate_smp_q@Base 4.0.0
+ otrl_message_poll@Base 4.0.0
+ otrl_message_poll_get_default_interval@Base 4.0.0
+ otrl_message_receiving@Base 4.0.0
+ otrl_message_respond_smp@Base 4.0.0
+ otrl_message_sending@Base 4.0.0
+ otrl_message_symkey@Base 4.0.0
+ otrl_privkey_find@Base 4.0.0
+ otrl_privkey_fingerprint@Base 4.0.0
+ otrl_privkey_fingerprint_raw@Base 4.0.0
+ otrl_privkey_forget@Base 4.0.0
+ otrl_privkey_forget_all@Base 4.0.0
+ otrl_privkey_generate@Base 4.0.0
+ otrl_privkey_generate_FILEp@Base 4.0.0
+ otrl_privkey_generate_calculate@Base 4.0.0
+ otrl_privkey_generate_cancelled@Base 4.0.0
+ otrl_privkey_generate_finish@Base 4.0.0
+ otrl_privkey_generate_finish_FILEp@Base 4.0.0
+ otrl_privkey_generate_start@Base 4.0.0
+ otrl_privkey_hash_to_human@Base 4.0.0
+ otrl_privkey_pending_forget_all@Base 4.0.0
+ otrl_privkey_read@Base 4.0.0
+ otrl_privkey_read_FILEp@Base 4.0.0
+ otrl_privkey_read_fingerprints@Base 4.0.0
+ otrl_privkey_read_fingerprints_FILEp@Base 4.0.0
+ otrl_privkey_sign@Base 4.0.0
+ otrl_privkey_verify@Base 4.0.0
+ otrl_privkey_write_fingerprints@Base 4.0.0
+ otrl_privkey_write_fingerprints_FILEp@Base 4.0.0
+ otrl_proto_accept_data@Base 4.0.0
+ otrl_proto_create_data@Base 4.0.0
+ otrl_proto_data_read_flags@Base 4.0.0
+ otrl_proto_default_query_msg@Base 4.0.0
+ otrl_proto_fragment_accumulate@Base 4.0.0
+ otrl_proto_fragment_create@Base 4.0.0
+ otrl_proto_fragment_free@Base 4.0.0
+ otrl_proto_instance@Base 4.0.0
+ otrl_proto_message_type@Base 4.0.0
+ otrl_proto_message_version@Base 4.0.0
+ otrl_proto_query_bestversion@Base 4.0.0
+ otrl_proto_whitespace_bestversion@Base 4.0.0
+ otrl_sm_init@Base 4.0.0
+ otrl_sm_msg1_init@Base 4.0.0
+ otrl_sm_msg2_init@Base 4.0.0
+ otrl_sm_msg3_init@Base 4.0.0
+ otrl_sm_msg4_init@Base 4.0.0
+ otrl_sm_msg_free@Base 4.0.0
+ otrl_sm_state_free@Base 4.0.0
+ otrl_sm_state_init@Base 4.0.0
+ otrl_sm_state_new@Base 4.0.0
+ otrl_sm_step1@Base 4.0.0
+ otrl_sm_step2a@Base 4.0.0
+ otrl_sm_step2b@Base 4.0.0
+ otrl_sm_step3@Base 4.0.0
+ otrl_sm_step4@Base 4.0.0
+ otrl_sm_step5@Base 4.0.0
+ otrl_tlv_find@Base 4.0.0
+ otrl_tlv_free@Base 4.0.0
+ otrl_tlv_new@Base 4.0.0
+ otrl_tlv_parse@Base 4.0.0
+ otrl_tlv_serialize@Base 4.0.0
+ otrl_tlv_seriallen@Base 4.0.0
+ otrl_userstate_create@Base 4.0.0
+ otrl_userstate_free@Base 4.0.0
+ otrl_version@Base 4.0.0

Reply via email to