Source: librtr
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 librtr-0.8.0/debian/changelog librtr-0.8.0/debian/changelog
--- librtr-0.8.0/debian/changelog       2021-09-11 14:43:15.000000000 +0000
+++ librtr-0.8.0/debian/changelog       2024-02-28 17:29:44.000000000 +0000
@@ -1,3 +1,10 @@
+librtr (0.8.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062615
+
+ -- Benjamin Drung <bdr...@debian.org>  Wed, 28 Feb 2024 17:29:44 +0000
+
 librtr (0.8.0-1) unstable; urgency=medium
 
   * New upstream version 0.8.0.
diff -Nru librtr-0.8.0/debian/control librtr-0.8.0/debian/control
--- librtr-0.8.0/debian/control 2021-09-11 14:43:15.000000000 +0000
+++ librtr-0.8.0/debian/control 2024-02-28 17:29:44.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
 Uploaders: Lukas Schwaighofer <lu...@schwaighofer.name>
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  cmake,
  debhelper-compat (= 13),
  doxygen,
@@ -19,7 +19,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: librtr0 (= ${binary:Version}), ${misc:Depends}, libssh-dev
+Depends: librtr0t64 (= ${binary:Version}), ${misc:Depends}, libssh-dev
 Suggests: librtr-doc
 Description: Small extensible RPKI-RTR-Client C library - development files
  RTRlib is an open-source C implementation of the  RPKI/Router Protocol
@@ -45,7 +45,10 @@
  This package contains the doxygen generated HTML documentation for the
  libraries.
 
-Package: librtr0
+Package: librtr0t64
+Provides: ${t64:Provides}
+Replaces: librtr0
+Breaks: librtr0 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru librtr-0.8.0/debian/librtr0.install 
librtr-0.8.0/debian/librtr0.install
--- librtr-0.8.0/debian/librtr0.install 2021-09-11 14:43:15.000000000 +0000
+++ librtr-0.8.0/debian/librtr0.install 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru librtr-0.8.0/debian/librtr0.symbols 
librtr-0.8.0/debian/librtr0.symbols
--- librtr-0.8.0/debian/librtr0.symbols 2021-09-11 14:43:15.000000000 +0000
+++ librtr-0.8.0/debian/librtr0.symbols 1970-01-01 00:00:00.000000000 +0000
@@ -1,35 +0,0 @@
-librtr.so.0 librtr0 #MINVER#
-* Build-Depends-Package: librtr-dev
- lrtr_ip_addr_equal@Base 0.6.0
- lrtr_ip_addr_to_str@Base 0.6.0
- lrtr_ip_str_cmp@Base 0.6.0
- lrtr_ip_str_to_addr@Base 0.6.0
- lrtr_set_alloc_functions@Base 0.6.0
- pfx_table_add@Base 0.6.2
- pfx_table_for_each_ipv4_record@Base 0.6.0
- pfx_table_for_each_ipv6_record@Base 0.6.0
- pfx_table_free@Base 0.6.2
- pfx_table_init@Base 0.6.2
- pfx_table_remove@Base 0.6.2
- pfx_table_src_remove@Base 0.6.2
- pfx_table_validate@Base 0.6.2
- pfx_table_validate_r@Base 0.6.0
- rtr_get_interval_mode@Base 0.6.0
- rtr_mgr_add_group@Base 0.6.0
- rtr_mgr_conf_in_sync@Base 0.6.0
- rtr_mgr_for_each_group@Base 0.6.0
- rtr_mgr_for_each_ipv4_record@Base 0.6.0
- rtr_mgr_for_each_ipv6_record@Base 0.6.0
- rtr_mgr_free@Base 0.6.0
- rtr_mgr_get_first_group@Base 0.6.0
- rtr_mgr_get_spki@Base 0.6.0
- rtr_mgr_init@Base 0.6.0
- rtr_mgr_remove_group@Base 0.6.0
- rtr_mgr_start@Base 0.6.0
- rtr_mgr_status_to_str@Base 0.6.0
- rtr_mgr_stop@Base 0.6.0
- rtr_mgr_validate@Base 0.6.0
- rtr_set_interval_mode@Base 0.6.0
- rtr_state_to_str@Base 0.6.0
- tr_ssh_init@Base 0.6.0
- tr_tcp_init@Base 0.6.0
diff -Nru librtr-0.8.0/debian/librtr0t64.install 
librtr-0.8.0/debian/librtr0t64.install
--- librtr-0.8.0/debian/librtr0t64.install      1970-01-01 00:00:00.000000000 
+0000
+++ librtr-0.8.0/debian/librtr0t64.install      2021-09-11 14:43:15.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru librtr-0.8.0/debian/librtr0t64.lintian-overrides 
librtr-0.8.0/debian/librtr0t64.lintian-overrides
--- librtr-0.8.0/debian/librtr0t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ librtr-0.8.0/debian/librtr0t64.lintian-overrides    2024-02-28 
17:29:38.000000000 +0000
@@ -0,0 +1 @@
+librtr0t64: package-name-doesnt-match-sonames librtr0
diff -Nru librtr-0.8.0/debian/librtr0t64.symbols 
librtr-0.8.0/debian/librtr0t64.symbols
--- librtr-0.8.0/debian/librtr0t64.symbols      1970-01-01 00:00:00.000000000 
+0000
+++ librtr-0.8.0/debian/librtr0t64.symbols      2024-02-28 17:29:38.000000000 
+0000
@@ -0,0 +1,35 @@
+librtr.so.0 librtr0t64 #MINVER#
+* Build-Depends-Package: librtr-dev
+ lrtr_ip_addr_equal@Base 0.6.0
+ lrtr_ip_addr_to_str@Base 0.6.0
+ lrtr_ip_str_cmp@Base 0.6.0
+ lrtr_ip_str_to_addr@Base 0.6.0
+ lrtr_set_alloc_functions@Base 0.6.0
+ pfx_table_add@Base 0.6.2
+ pfx_table_for_each_ipv4_record@Base 0.6.0
+ pfx_table_for_each_ipv6_record@Base 0.6.0
+ pfx_table_free@Base 0.6.2
+ pfx_table_init@Base 0.6.2
+ pfx_table_remove@Base 0.6.2
+ pfx_table_src_remove@Base 0.6.2
+ pfx_table_validate@Base 0.6.2
+ pfx_table_validate_r@Base 0.6.0
+ rtr_get_interval_mode@Base 0.6.0
+ rtr_mgr_add_group@Base 0.6.0
+ rtr_mgr_conf_in_sync@Base 0.6.0
+ rtr_mgr_for_each_group@Base 0.6.0
+ rtr_mgr_for_each_ipv4_record@Base 0.6.0
+ rtr_mgr_for_each_ipv6_record@Base 0.6.0
+ rtr_mgr_free@Base 0.6.0
+ rtr_mgr_get_first_group@Base 0.6.0
+ rtr_mgr_get_spki@Base 0.6.0
+ rtr_mgr_init@Base 0.6.0
+ rtr_mgr_remove_group@Base 0.6.0
+ rtr_mgr_start@Base 0.6.0
+ rtr_mgr_status_to_str@Base 0.6.0
+ rtr_mgr_stop@Base 0.6.0
+ rtr_mgr_validate@Base 0.6.0
+ rtr_set_interval_mode@Base 0.6.0
+ rtr_state_to_str@Base 0.6.0
+ tr_ssh_init@Base 0.6.0
+ tr_tcp_init@Base 0.6.0

Reply via email to