Source: libnids
Version: 1.26-2
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
libnids as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for libnids
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libnids-1.26/debian/changelog libnids-1.26/debian/changelog
--- libnids-1.26/debian/changelog       2022-10-07 15:51:39.000000000 +0000
+++ libnids-1.26/debian/changelog       2024-02-01 16:58:38.000000000 +0000
@@ -1,3 +1,10 @@
+libnids (1.26-2.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Thu, 01 Feb 2024 16:58:38 +0000
+
 libnids (1.26-2) unstable; urgency=medium
 
   * Fix watch file.
diff -Nru libnids-1.26/debian/control libnids-1.26/debian/control
--- libnids-1.26/debian/control 2022-10-07 15:51:39.000000000 +0000
+++ libnids-1.26/debian/control 2024-02-01 16:58:38.000000000 +0000
@@ -14,7 +14,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libnids1.21 (= ${binary:Version}), libc6-dev, ${misc:Depends}
+Depends: libnids1.21t64 (= ${binary:Version}), libc6-dev, ${misc:Depends}
 Description: IP defragmentation TCP segment reassembly library (development)
  Libnids is a library that provides the functionality of one of the NIDS
  (Network Intrusion Detection System) components, namely E-component.
@@ -26,7 +26,10 @@
  .
  This is the development package.
 
-Package: libnids1.21
+Package: libnids1.21t64
+Provides: ${t64:Provides}
+Replaces: libnids1.21
+Breaks: libnids1.21 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru libnids-1.26/debian/libnids1.21.install 
libnids-1.26/debian/libnids1.21.install
--- libnids-1.26/debian/libnids1.21.install     2022-10-07 15:51:39.000000000 
+0000
+++ libnids-1.26/debian/libnids1.21.install     1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru libnids-1.26/debian/libnids1.21.symbols 
libnids-1.26/debian/libnids1.21.symbols
--- libnids-1.26/debian/libnids1.21.symbols     2022-10-07 15:51:39.000000000 
+0000
+++ libnids-1.26/debian/libnids1.21.symbols     1970-01-01 00:00:00.000000000 
+0000
@@ -1,58 +0,0 @@
-libnids.so.1.21 libnids1.21 #MINVER#
-* Build-Depends-Package: libnids-dev
- (arch=any-i386)csum_partial@Base 1.24
- detect_scan@Base 1.23
- find_stream@Base 1.23
- init_hash@Base 1.23
- (arch=!any-i386)ip_check_ext@Base 1.23
- ip_compute_csum@Base 1.23
- ip_defrag_stub@Base 1.23
- ip_fast_csum@Base 1.23
- ip_frag_exit@Base 1.23
- ip_frag_init@Base 1.23
- ip_options_compile@Base 1.23
- mkhash@Base 1.23
- my_tcp_check@Base 1.23
- my_udp_check@Base 1.23
- nids_discard@Base 1.23
- nids_dispatch@Base 1.23
- nids_errbuf@Base 1.23
- nids_exit@Base 1.23
- nids_find_tcp_stream@Base 1.23
- nids_free_tcp_stream@Base 1.23
- nids_getfd@Base 1.23
- nids_init@Base 1.23
- nids_killtcp@Base 1.23
- nids_killtcp_seq@Base 1.23
- nids_last_pcap_data@Base 1.23
- nids_last_pcap_header@Base 1.23
- nids_linkoffset@Base 1.23
- nids_next@Base 1.23
- nids_no_mem@Base 1.23
- nids_params@Base 1.23
- nids_pcap_handler@Base 1.23
- nids_register_chksum_ctl@Base 1.23
- nids_register_ip@Base 1.23
- nids_register_ip_frag@Base 1.23
- nids_register_tcp@Base 1.23
- nids_register_udp@Base 1.23
- nids_run@Base 1.23
- nids_tcp_timeouts@Base 1.23
- nids_unregister_ip@Base 1.23
- nids_unregister_ip_frag@Base 1.23
- nids_unregister_tcp@Base 1.23
- nids_unregister_udp@Base 1.23
- nids_warnings@Base 1.23
- process_icmp@Base 1.23
- process_tcp@Base 1.23
- raw_init@Base 1.23
- register_callback@Base 1.23
- scan_exit@Base 1.23
- scan_init@Base 1.23
- (arch=linux-any)set_all_promisc@Base 1.23
- tcp_check_timeouts@Base 1.23
- tcp_exit@Base 1.23
- tcp_init@Base 1.23
- tcp_procs@Base 1.23
- test_malloc@Base 1.23
- unregister_callback@Base 1.23
diff -Nru libnids-1.26/debian/libnids1.21t64.install 
libnids-1.26/debian/libnids1.21t64.install
--- libnids-1.26/debian/libnids1.21t64.install  1970-01-01 00:00:00.000000000 
+0000
+++ libnids-1.26/debian/libnids1.21t64.install  2022-10-07 15:51:39.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru libnids-1.26/debian/libnids1.21t64.lintian-overrides 
libnids-1.26/debian/libnids1.21t64.lintian-overrides
--- libnids-1.26/debian/libnids1.21t64.lintian-overrides        1970-01-01 
00:00:00.000000000 +0000
+++ libnids-1.26/debian/libnids1.21t64.lintian-overrides        2024-02-01 
16:58:38.000000000 +0000
@@ -0,0 +1 @@
+libnids1.21t64: package-name-doesnt-match-sonames libnids1.21
diff -Nru libnids-1.26/debian/libnids1.21t64.symbols 
libnids-1.26/debian/libnids1.21t64.symbols
--- libnids-1.26/debian/libnids1.21t64.symbols  1970-01-01 00:00:00.000000000 
+0000
+++ libnids-1.26/debian/libnids1.21t64.symbols  2024-02-01 16:58:38.000000000 
+0000
@@ -0,0 +1,58 @@
+libnids.so.1.21 libnids1.21t64 #MINVER#
+* Build-Depends-Package: libnids-dev
+ (arch=any-i386)csum_partial@Base 1.24
+ detect_scan@Base 1.23
+ find_stream@Base 1.23
+ init_hash@Base 1.23
+ (arch=!any-i386)ip_check_ext@Base 1.23
+ ip_compute_csum@Base 1.23
+ ip_defrag_stub@Base 1.23
+ ip_fast_csum@Base 1.23
+ ip_frag_exit@Base 1.23
+ ip_frag_init@Base 1.23
+ ip_options_compile@Base 1.23
+ mkhash@Base 1.23
+ my_tcp_check@Base 1.23
+ my_udp_check@Base 1.23
+ nids_discard@Base 1.23
+ nids_dispatch@Base 1.23
+ nids_errbuf@Base 1.23
+ nids_exit@Base 1.23
+ nids_find_tcp_stream@Base 1.23
+ nids_free_tcp_stream@Base 1.23
+ nids_getfd@Base 1.23
+ nids_init@Base 1.23
+ nids_killtcp@Base 1.23
+ nids_killtcp_seq@Base 1.23
+ nids_last_pcap_data@Base 1.23
+ nids_last_pcap_header@Base 1.23
+ nids_linkoffset@Base 1.23
+ nids_next@Base 1.23
+ nids_no_mem@Base 1.23
+ nids_params@Base 1.23
+ nids_pcap_handler@Base 1.23
+ nids_register_chksum_ctl@Base 1.23
+ nids_register_ip@Base 1.23
+ nids_register_ip_frag@Base 1.23
+ nids_register_tcp@Base 1.23
+ nids_register_udp@Base 1.23
+ nids_run@Base 1.23
+ nids_tcp_timeouts@Base 1.23
+ nids_unregister_ip@Base 1.23
+ nids_unregister_ip_frag@Base 1.23
+ nids_unregister_tcp@Base 1.23
+ nids_unregister_udp@Base 1.23
+ nids_warnings@Base 1.23
+ process_icmp@Base 1.23
+ process_tcp@Base 1.23
+ raw_init@Base 1.23
+ register_callback@Base 1.23
+ scan_exit@Base 1.23
+ scan_init@Base 1.23
+ (arch=linux-any)set_all_promisc@Base 1.23
+ tcp_check_timeouts@Base 1.23
+ tcp_exit@Base 1.23
+ tcp_init@Base 1.23
+ tcp_procs@Base 1.23
+ test_malloc@Base 1.23
+ unregister_callback@Base 1.23

Reply via email to