Source: libloc
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 libloc-0.9.16/debian/changelog libloc-0.9.16/debian/changelog
--- libloc-0.9.16/debian/changelog      2023-12-04 05:50:17.000000000 +0000
+++ libloc-0.9.16/debian/changelog      2024-02-28 18:23:20.000000000 +0000
@@ -1,3 +1,10 @@
+libloc (0.9.16-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062401
+
+ -- Benjamin Drung <bdr...@debian.org>  Wed, 28 Feb 2024 18:23:20 +0000
+
 libloc (0.9.16-3) unstable; urgency=medium
 
   * Fix FTBFS with new systemd
diff -Nru libloc-0.9.16/debian/control libloc-0.9.16/debian/control
--- libloc-0.9.16/debian/control        2023-12-03 20:26:30.000000000 +0000
+++ libloc-0.9.16/debian/control        2024-02-28 18:23:19.000000000 +0000
@@ -8,7 +8,7 @@
 Section: net
 Priority: optional
 Standards-Version: 4.6.1
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  debhelper (>= 13.11.6),
  debhelper-compat (= 13),
  dh-sequence-bash-completion,
@@ -31,7 +31,10 @@
  determine the location of someone else on the Internet based on their IP
  address.
 
-Package: libloc1
+Package: libloc1t64
+Provides: ${t64:Provides}
+Replaces: libloc1
+Breaks: libloc1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends:
@@ -49,7 +52,7 @@
 Architecture: any
 Section: libdevel
 Depends:
- libloc1 (= ${binary:Version}),
+ libloc1t64 (= ${binary:Version}),
  ${misc:Depends},
 Multi-Arch: same
 Description: ${source:Synopsis} (development files)
diff -Nru libloc-0.9.16/debian/libloc1.install 
libloc-0.9.16/debian/libloc1.install
--- libloc-0.9.16/debian/libloc1.install        2022-07-07 05:28:58.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1.install        1970-01-01 00:00:00.000000000 
+0000
@@ -1,2 +0,0 @@
-usr/lib/*/libloc.so.*
-usr/share/locale/*/LC_MESSAGES/libloc.mo
diff -Nru libloc-0.9.16/debian/libloc1.postinst 
libloc-0.9.16/debian/libloc1.postinst
--- libloc-0.9.16/debian/libloc1.postinst       2022-07-07 05:28:58.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1.postinst       1970-01-01 00:00:00.000000000 
+0000
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-  configure)
-    mkdir -p /var/lib/location || true
-    ln -s /usr/share/libloc-location/location.db /var/lib/location/database.db 
2>/dev/null || true
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru libloc-0.9.16/debian/libloc1.prerm libloc-0.9.16/debian/libloc1.prerm
--- libloc-0.9.16/debian/libloc1.prerm  2022-09-27 10:22:49.000000000 +0000
+++ libloc-0.9.16/debian/libloc1.prerm  1970-01-01 00:00:00.000000000 +0000
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-  remove)
-    rm -f /var/lib/location/database.db 2>/dev/null
-    rmdir /var/lib/location || true
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru libloc-0.9.16/debian/libloc1.symbols 
libloc-0.9.16/debian/libloc1.symbols
--- libloc-0.9.16/debian/libloc1.symbols        2022-07-07 05:28:58.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1.symbols        1970-01-01 00:00:00.000000000 
+0000
@@ -1,127 +0,0 @@
-libloc.so.1 libloc1 #MINVER#
-* Build-Depends-Package: libloc-dev
- LIBLOC_1@LIBLOC_1 0.9.4
- loc_as_cmp@LIBLOC_1 0.9.4
- loc_as_get_name@LIBLOC_1 0.9.4
- loc_as_get_number@LIBLOC_1 0.9.4
- loc_as_list_append@LIBLOC_1 0.9.5
- loc_as_list_clear@LIBLOC_1 0.9.5
- loc_as_list_contains@LIBLOC_1 0.9.5
- loc_as_list_contains_number@LIBLOC_1 0.9.5
- loc_as_list_empty@LIBLOC_1 0.9.5
- loc_as_list_get@LIBLOC_1 0.9.5
- loc_as_list_new@LIBLOC_1 0.9.5
- loc_as_list_ref@LIBLOC_1 0.9.5
- loc_as_list_size@LIBLOC_1 0.9.5
- loc_as_list_sort@LIBLOC_1 0.9.12
- loc_as_list_unref@LIBLOC_1 0.9.5
- loc_as_new@LIBLOC_1 0.9.4
- loc_as_ref@LIBLOC_1 0.9.4
- loc_as_set_name@LIBLOC_1 0.9.4
- loc_as_unref@LIBLOC_1 0.9.4
- loc_country_cmp@LIBLOC_1 0.9.4
- loc_country_code_is_valid@LIBLOC_1 0.9.4
- loc_country_get_code@LIBLOC_1 0.9.4
- loc_country_get_continent_code@LIBLOC_1 0.9.4
- loc_country_get_name@LIBLOC_1 0.9.4
- loc_country_list_append@LIBLOC_1 0.9.5
- loc_country_list_clear@LIBLOC_1 0.9.5
- loc_country_list_contains@LIBLOC_1 0.9.5
- loc_country_list_contains_code@LIBLOC_1 0.9.5
- loc_country_list_empty@LIBLOC_1 0.9.5
- loc_country_list_get@LIBLOC_1 0.9.5
- loc_country_list_new@LIBLOC_1 0.9.5
- loc_country_list_ref@LIBLOC_1 0.9.5
- loc_country_list_size@LIBLOC_1 0.9.5
- loc_country_list_sort@LIBLOC_1 0.9.12
- loc_country_list_unref@LIBLOC_1 0.9.5
- loc_country_new@LIBLOC_1 0.9.4
- loc_country_ref@LIBLOC_1 0.9.4
- loc_country_set_continent_code@LIBLOC_1 0.9.4
- loc_country_set_name@LIBLOC_1 0.9.4
- loc_country_special_code_to_flag@LIBLOC_1 0.9.8
- loc_country_unref@LIBLOC_1 0.9.4
- loc_database_count_as@LIBLOC_1 0.9.4
- loc_database_created_at@LIBLOC_1 0.9.4
- loc_database_enumerator_get_asns@LIBLOC_1 0.9.5
- loc_database_enumerator_get_countries@LIBLOC_1 0.9.5
- loc_database_enumerator_new@LIBLOC_1 0.9.4
- loc_database_enumerator_next_as@LIBLOC_1 0.9.4
- loc_database_enumerator_next_country@LIBLOC_1 0.9.4
- loc_database_enumerator_next_network@LIBLOC_1 0.9.4
- loc_database_enumerator_ref@LIBLOC_1 0.9.4
- loc_database_enumerator_set_asns@LIBLOC_1 0.9.5
- loc_database_enumerator_set_countries@LIBLOC_1 0.9.5
- loc_database_enumerator_set_family@LIBLOC_1 0.9.4
- loc_database_enumerator_set_flag@LIBLOC_1 0.9.4
- loc_database_enumerator_set_string@LIBLOC_1 0.9.4
- loc_database_enumerator_unref@LIBLOC_1 0.9.4
- loc_database_get_as@LIBLOC_1 0.9.4
- loc_database_get_country@LIBLOC_1 0.9.4
- loc_database_get_description@LIBLOC_1 0.9.4
- loc_database_get_license@LIBLOC_1 0.9.4
- loc_database_get_vendor@LIBLOC_1 0.9.4
- loc_database_lookup@LIBLOC_1 0.9.4
- loc_database_lookup_from_string@LIBLOC_1 0.9.4
- loc_database_new@LIBLOC_1 0.9.4
- loc_database_ref@LIBLOC_1 0.9.4
- loc_database_unref@LIBLOC_1 0.9.4
- loc_database_verify@LIBLOC_1 0.9.4
- loc_discover_latest_version@LIBLOC_1 0.9.4
- loc_get_log_priority@LIBLOC_1 0.9.4
- loc_network_address_family@LIBLOC_1 0.9.4
- loc_network_cmp@LIBLOC_1 0.9.5
- loc_network_exclude@LIBLOC_1 0.9.5
- loc_network_exclude_list@LIBLOC_1 0.9.5
- loc_network_format_first_address@LIBLOC_1 0.9.4
- loc_network_format_last_address@LIBLOC_1 0.9.4
- loc_network_get_asn@LIBLOC_1 0.9.4
- loc_network_get_country_code@LIBLOC_1 0.9.4
- loc_network_get_first_address@LIBLOC_1 0.9.5
- loc_network_get_last_address@LIBLOC_1 0.9.5
- loc_network_has_flag@LIBLOC_1 0.9.4
- loc_network_is_subnet@LIBLOC_1 0.9.5
- loc_network_list_clear@LIBLOC_1 0.9.5
- loc_network_list_contains@LIBLOC_1 0.9.5
- loc_network_list_dump@LIBLOC_1 0.9.5
- loc_network_list_empty@LIBLOC_1 0.9.5
- loc_network_list_get@LIBLOC_1 0.9.5
- loc_network_list_merge@LIBLOC_1 0.9.5
- loc_network_list_new@LIBLOC_1 0.9.5
- loc_network_list_pop@LIBLOC_1 0.9.5
- loc_network_list_pop_first@LIBLOC_1 0.9.5
- loc_network_list_push@LIBLOC_1 0.9.5
- loc_network_list_ref@LIBLOC_1 0.9.5
- loc_network_list_size@LIBLOC_1 0.9.5
- loc_network_list_unref@LIBLOC_1 0.9.5
- loc_network_matches_address@LIBLOC_1 0.9.8
- loc_network_matches_country_code@LIBLOC_1 0.9.8
- loc_network_new@LIBLOC_1 0.9.4
- loc_network_new_from_string@LIBLOC_1 0.9.4
- loc_network_overlaps@LIBLOC_1 0.9.5
- loc_network_prefix@LIBLOC_1 0.9.5
- loc_network_ref@LIBLOC_1 0.9.4
- loc_network_set_asn@LIBLOC_1 0.9.4
- loc_network_set_country_code@LIBLOC_1 0.9.4
- loc_network_set_flag@LIBLOC_1 0.9.4
- loc_network_str@LIBLOC_1 0.9.4
- loc_network_subnets@LIBLOC_1 0.9.5
- loc_network_unref@LIBLOC_1 0.9.4
- loc_new@LIBLOC_1 0.9.4
- loc_ref@LIBLOC_1 0.9.4
- loc_set_log_fn@LIBLOC_1 0.9.4
- loc_set_log_priority@LIBLOC_1 0.9.4
- loc_unref@LIBLOC_1 0.9.4
- loc_writer_add_as@LIBLOC_1 0.9.4
- loc_writer_add_country@LIBLOC_1 0.9.4
- loc_writer_add_network@LIBLOC_1 0.9.4
- loc_writer_get_description@LIBLOC_1 0.9.4
- loc_writer_get_license@LIBLOC_1 0.9.4
- loc_writer_get_vendor@LIBLOC_1 0.9.4
- loc_writer_new@LIBLOC_1 0.9.4
- loc_writer_ref@LIBLOC_1 0.9.4
- loc_writer_set_description@LIBLOC_1 0.9.4
- loc_writer_set_license@LIBLOC_1 0.9.4
- loc_writer_set_vendor@LIBLOC_1 0.9.4
- loc_writer_unref@LIBLOC_1 0.9.4
- loc_writer_write@LIBLOC_1 0.9.4
diff -Nru libloc-0.9.16/debian/libloc1t64.install 
libloc-0.9.16/debian/libloc1t64.install
--- libloc-0.9.16/debian/libloc1t64.install     1970-01-01 00:00:00.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1t64.install     2022-07-07 05:28:58.000000000 
+0000
@@ -0,0 +1,2 @@
+usr/lib/*/libloc.so.*
+usr/share/locale/*/LC_MESSAGES/libloc.mo
diff -Nru libloc-0.9.16/debian/libloc1t64.lintian-overrides 
libloc-0.9.16/debian/libloc1t64.lintian-overrides
--- libloc-0.9.16/debian/libloc1t64.lintian-overrides   1970-01-01 
00:00:00.000000000 +0000
+++ libloc-0.9.16/debian/libloc1t64.lintian-overrides   2024-02-28 
18:23:12.000000000 +0000
@@ -0,0 +1 @@
+libloc1t64: package-name-doesnt-match-sonames libloc1
diff -Nru libloc-0.9.16/debian/libloc1t64.postinst 
libloc-0.9.16/debian/libloc1t64.postinst
--- libloc-0.9.16/debian/libloc1t64.postinst    1970-01-01 00:00:00.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1t64.postinst    2022-07-07 05:28:58.000000000 
+0000
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+  configure)
+    mkdir -p /var/lib/location || true
+    ln -s /usr/share/libloc-location/location.db /var/lib/location/database.db 
2>/dev/null || true
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nru libloc-0.9.16/debian/libloc1t64.prerm 
libloc-0.9.16/debian/libloc1t64.prerm
--- libloc-0.9.16/debian/libloc1t64.prerm       1970-01-01 00:00:00.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1t64.prerm       2022-09-27 10:22:49.000000000 
+0000
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+  remove)
+    rm -f /var/lib/location/database.db 2>/dev/null
+    rmdir /var/lib/location || true
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nru libloc-0.9.16/debian/libloc1t64.symbols 
libloc-0.9.16/debian/libloc1t64.symbols
--- libloc-0.9.16/debian/libloc1t64.symbols     1970-01-01 00:00:00.000000000 
+0000
+++ libloc-0.9.16/debian/libloc1t64.symbols     2024-02-28 18:23:12.000000000 
+0000
@@ -0,0 +1,127 @@
+libloc.so.1 libloc1t64 #MINVER#
+* Build-Depends-Package: libloc-dev
+ LIBLOC_1@LIBLOC_1 0.9.4
+ loc_as_cmp@LIBLOC_1 0.9.4
+ loc_as_get_name@LIBLOC_1 0.9.4
+ loc_as_get_number@LIBLOC_1 0.9.4
+ loc_as_list_append@LIBLOC_1 0.9.5
+ loc_as_list_clear@LIBLOC_1 0.9.5
+ loc_as_list_contains@LIBLOC_1 0.9.5
+ loc_as_list_contains_number@LIBLOC_1 0.9.5
+ loc_as_list_empty@LIBLOC_1 0.9.5
+ loc_as_list_get@LIBLOC_1 0.9.5
+ loc_as_list_new@LIBLOC_1 0.9.5
+ loc_as_list_ref@LIBLOC_1 0.9.5
+ loc_as_list_size@LIBLOC_1 0.9.5
+ loc_as_list_sort@LIBLOC_1 0.9.12
+ loc_as_list_unref@LIBLOC_1 0.9.5
+ loc_as_new@LIBLOC_1 0.9.4
+ loc_as_ref@LIBLOC_1 0.9.4
+ loc_as_set_name@LIBLOC_1 0.9.4
+ loc_as_unref@LIBLOC_1 0.9.4
+ loc_country_cmp@LIBLOC_1 0.9.4
+ loc_country_code_is_valid@LIBLOC_1 0.9.4
+ loc_country_get_code@LIBLOC_1 0.9.4
+ loc_country_get_continent_code@LIBLOC_1 0.9.4
+ loc_country_get_name@LIBLOC_1 0.9.4
+ loc_country_list_append@LIBLOC_1 0.9.5
+ loc_country_list_clear@LIBLOC_1 0.9.5
+ loc_country_list_contains@LIBLOC_1 0.9.5
+ loc_country_list_contains_code@LIBLOC_1 0.9.5
+ loc_country_list_empty@LIBLOC_1 0.9.5
+ loc_country_list_get@LIBLOC_1 0.9.5
+ loc_country_list_new@LIBLOC_1 0.9.5
+ loc_country_list_ref@LIBLOC_1 0.9.5
+ loc_country_list_size@LIBLOC_1 0.9.5
+ loc_country_list_sort@LIBLOC_1 0.9.12
+ loc_country_list_unref@LIBLOC_1 0.9.5
+ loc_country_new@LIBLOC_1 0.9.4
+ loc_country_ref@LIBLOC_1 0.9.4
+ loc_country_set_continent_code@LIBLOC_1 0.9.4
+ loc_country_set_name@LIBLOC_1 0.9.4
+ loc_country_special_code_to_flag@LIBLOC_1 0.9.8
+ loc_country_unref@LIBLOC_1 0.9.4
+ loc_database_count_as@LIBLOC_1 0.9.4
+ loc_database_created_at@LIBLOC_1 0.9.4
+ loc_database_enumerator_get_asns@LIBLOC_1 0.9.5
+ loc_database_enumerator_get_countries@LIBLOC_1 0.9.5
+ loc_database_enumerator_new@LIBLOC_1 0.9.4
+ loc_database_enumerator_next_as@LIBLOC_1 0.9.4
+ loc_database_enumerator_next_country@LIBLOC_1 0.9.4
+ loc_database_enumerator_next_network@LIBLOC_1 0.9.4
+ loc_database_enumerator_ref@LIBLOC_1 0.9.4
+ loc_database_enumerator_set_asns@LIBLOC_1 0.9.5
+ loc_database_enumerator_set_countries@LIBLOC_1 0.9.5
+ loc_database_enumerator_set_family@LIBLOC_1 0.9.4
+ loc_database_enumerator_set_flag@LIBLOC_1 0.9.4
+ loc_database_enumerator_set_string@LIBLOC_1 0.9.4
+ loc_database_enumerator_unref@LIBLOC_1 0.9.4
+ loc_database_get_as@LIBLOC_1 0.9.4
+ loc_database_get_country@LIBLOC_1 0.9.4
+ loc_database_get_description@LIBLOC_1 0.9.4
+ loc_database_get_license@LIBLOC_1 0.9.4
+ loc_database_get_vendor@LIBLOC_1 0.9.4
+ loc_database_lookup@LIBLOC_1 0.9.4
+ loc_database_lookup_from_string@LIBLOC_1 0.9.4
+ loc_database_new@LIBLOC_1 0.9.4
+ loc_database_ref@LIBLOC_1 0.9.4
+ loc_database_unref@LIBLOC_1 0.9.4
+ loc_database_verify@LIBLOC_1 0.9.4
+ loc_discover_latest_version@LIBLOC_1 0.9.4
+ loc_get_log_priority@LIBLOC_1 0.9.4
+ loc_network_address_family@LIBLOC_1 0.9.4
+ loc_network_cmp@LIBLOC_1 0.9.5
+ loc_network_exclude@LIBLOC_1 0.9.5
+ loc_network_exclude_list@LIBLOC_1 0.9.5
+ loc_network_format_first_address@LIBLOC_1 0.9.4
+ loc_network_format_last_address@LIBLOC_1 0.9.4
+ loc_network_get_asn@LIBLOC_1 0.9.4
+ loc_network_get_country_code@LIBLOC_1 0.9.4
+ loc_network_get_first_address@LIBLOC_1 0.9.5
+ loc_network_get_last_address@LIBLOC_1 0.9.5
+ loc_network_has_flag@LIBLOC_1 0.9.4
+ loc_network_is_subnet@LIBLOC_1 0.9.5
+ loc_network_list_clear@LIBLOC_1 0.9.5
+ loc_network_list_contains@LIBLOC_1 0.9.5
+ loc_network_list_dump@LIBLOC_1 0.9.5
+ loc_network_list_empty@LIBLOC_1 0.9.5
+ loc_network_list_get@LIBLOC_1 0.9.5
+ loc_network_list_merge@LIBLOC_1 0.9.5
+ loc_network_list_new@LIBLOC_1 0.9.5
+ loc_network_list_pop@LIBLOC_1 0.9.5
+ loc_network_list_pop_first@LIBLOC_1 0.9.5
+ loc_network_list_push@LIBLOC_1 0.9.5
+ loc_network_list_ref@LIBLOC_1 0.9.5
+ loc_network_list_size@LIBLOC_1 0.9.5
+ loc_network_list_unref@LIBLOC_1 0.9.5
+ loc_network_matches_address@LIBLOC_1 0.9.8
+ loc_network_matches_country_code@LIBLOC_1 0.9.8
+ loc_network_new@LIBLOC_1 0.9.4
+ loc_network_new_from_string@LIBLOC_1 0.9.4
+ loc_network_overlaps@LIBLOC_1 0.9.5
+ loc_network_prefix@LIBLOC_1 0.9.5
+ loc_network_ref@LIBLOC_1 0.9.4
+ loc_network_set_asn@LIBLOC_1 0.9.4
+ loc_network_set_country_code@LIBLOC_1 0.9.4
+ loc_network_set_flag@LIBLOC_1 0.9.4
+ loc_network_str@LIBLOC_1 0.9.4
+ loc_network_subnets@LIBLOC_1 0.9.5
+ loc_network_unref@LIBLOC_1 0.9.4
+ loc_new@LIBLOC_1 0.9.4
+ loc_ref@LIBLOC_1 0.9.4
+ loc_set_log_fn@LIBLOC_1 0.9.4
+ loc_set_log_priority@LIBLOC_1 0.9.4
+ loc_unref@LIBLOC_1 0.9.4
+ loc_writer_add_as@LIBLOC_1 0.9.4
+ loc_writer_add_country@LIBLOC_1 0.9.4
+ loc_writer_add_network@LIBLOC_1 0.9.4
+ loc_writer_get_description@LIBLOC_1 0.9.4
+ loc_writer_get_license@LIBLOC_1 0.9.4
+ loc_writer_get_vendor@LIBLOC_1 0.9.4
+ loc_writer_new@LIBLOC_1 0.9.4
+ loc_writer_ref@LIBLOC_1 0.9.4
+ loc_writer_set_description@LIBLOC_1 0.9.4
+ loc_writer_set_license@LIBLOC_1 0.9.4
+ loc_writer_set_vendor@LIBLOC_1 0.9.4
+ loc_writer_unref@LIBLOC_1 0.9.4
+ loc_writer_write@LIBLOC_1 0.9.4

Reply via email to