Bug#1062852: reglookup: NMU diff for 64-bit time_t transition

2024-02-29 Thread Benjamin Drung
Source: reglookup
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 reglookup-1.0.1+svn287/debian/changelog 
reglookup-1.0.1+svn287/debian/changelog
--- reglookup-1.0.1+svn287/debian/changelog 2021-02-02 18:38:21.0 
+
+++ reglookup-1.0.1+svn287/debian/changelog 2024-02-29 22:53:09.0 
+
@@ -1,3 +1,10 @@
+reglookup (1.0.1+svn287-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062852
+
+ -- Benjamin Drung   Thu, 29 Feb 2024 22:53:09 +
+
 reglookup (1.0.1+svn287-9) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru reglookup-1.0.1+svn287/debian/control 
reglookup-1.0.1+svn287/debian/control
--- reglookup-1.0.1+svn287/debian/control   2021-02-02 18:38:21.0 
+
+++ reglookup-1.0.1+svn287/debian/control   2024-02-29 22:53:09.0 
+
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Security Tools 
 Uploaders: Giovani Augusto Ferreira 
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
dh-python,
docbook2x,
doxygen,
@@ -19,7 +19,10 @@
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/reglookup
 Vcs-Git: https://salsa.debian.org/pkg-security-team/reglookup.git
 
-Package: libregfi1
+Package: libregfi1t64
+Provides: ${t64:Provides}
+Replaces: libregfi1
+Breaks: libregfi1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -40,7 +43,7 @@
 Package: libregfi-dev
 Architecture: any
 Section: libdevel
-Depends: libregfi1 (= ${binary:Version}), ${misc:Depends}
+Depends: libregfi1t64 (= ${binary:Version}), ${misc:Depends}
 Description: utility to analysis for Windows NT-based registry (devel files)
  RegLookup is a system to direct analysis of Windows NT-based registry
  files providing command line tools, a C API, and a Python module for
@@ -75,7 +78,7 @@
 Package: python3-pyregfi
 Architecture: all
 Section: python
-Depends: libregfi1 (>= ${binary:Version}), ${misc:Depends}, ${python3:Depends}
+Depends: libregfi1t64 (>= ${binary:Version}), ${misc:Depends}, 
${python3:Depends}
 Recommends: reglookup-doc
 Description: Python 3 Bindings for reglookup
  This package contains Python 3 bindings to libregfi. There are the low-level
diff -Nru reglookup-1.0.1+svn287/debian/libregfi1.dirs 
reglookup-1.0.1+svn287/debian/libregfi1.dirs
--- reglookup-1.0.1+svn287/debian/libregfi1.dirs2021-02-02 
18:38:21.0 +
+++ reglookup-1.0.1+svn287/debian/libregfi1.dirs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib
diff -Nru reglookup-1.0.1+svn287/debian/libregfi1.links 
reglookup-1.0.1+svn287/debian/libregfi1.links
--- reglookup-1.0.1+svn287/debian/libregfi1.links   2021-02-02 
18:38:21.0 +
+++ reglookup-1.0.1+svn287/debian/libregfi1.links   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/libregfi.so.1.0.1 usr/lib/libregfi.so.1
diff -Nru reglookup-1.0.1+svn287/debian/libregfi1.symbols 
reglookup-1.0.1+svn287/debian/libregfi1.symbols
--- reglookup-1.0.1+svn287/debian/libregfi1.symbols 2021-02-02 
18:38:21.0 +
+++ reglookup-1.0.1+svn287/debian/libregfi1.symbols 1970-01-01 
00:00:00.0 +
@@ -1,117 +0,0 @@
-libregfi.so.1 libregfi1 #MINVER#
- lru_cache_create@Base 1.0.1
- lru_cache_create_ctx@Base 1.0.1
- lru_cache_destroy@Base 1.0.1
- lru_cache_find@Base 1.0.1
- lru_cache_remove@Base 1.0.1
- lru_cache_update@Base 1.0.1
- range_list_add@Base 1.0.1
- range_list_find@Base 1.0.1
- range_list_find_data@Base 1.0.1
- range_list_free@Base 1.0.1
- range_list_get@Base 1.0.1
- range_list_has_range@Base 1.0.1
- range_list_new@Base 1.0.1
- range_list_remove@Base 1.0.1
- range_list_size@Base 1.0.1
- range_list_split_element@Base 1.0.1
- regfi_alloc@Base 1.0.1
- regfi_alloc_cb@Base 1.0.1
- regfi_buffer_to_data@Base 1.0.1
- regfi_calc_maxsize@Base 1.0.1
- regfi_fetch_classname@Base 1.0.1
- regfi_fetch_data@Base 1.0.1
- regfi_fetch_num_subkeys@Base 1.0.1
- regfi_fetch_num_values@Base 1.0.1
- regfi_fetch_sk@Base 1.0.1
- regfi_find_subkey@Base 1.0.1
- regfi_find_value@Base 1.0.1
- regfi_free@Base 1.0.1
- regfi_free_record@Base 1.0.1
- regfi_get_dacl@Base 1.0.1
- regfi_get_group@Base 1.0.1
- 

Bug#1062852: reglookup: NMU diff for 64-bit time_t transition

2024-02-03 Thread Sergio Durigan Junior
Source: reglookup
Version: 1.0.1+svn287-9
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

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
reglookup 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 reglookup
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/32 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 reglookup-1.0.1+svn287/debian/changelog 
reglookup-1.0.1+svn287/debian/changelog
--- reglookup-1.0.1+svn287/debian/changelog 2021-02-02 18:38:21.0 
+
+++ reglookup-1.0.1+svn287/debian/changelog 2024-02-03 20:24:27.0 
+
@@ -1,3 +1,10 @@
+reglookup (1.0.1+svn287-9.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Sergio Durigan Junior   Sat, 03 Feb 2024 20:24:27 
+
+
 reglookup (1.0.1+svn287-9) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru reglookup-1.0.1+svn287/debian/control 
reglookup-1.0.1+svn287/debian/control
--- reglookup-1.0.1+svn287/debian/control   2021-02-02 18:38:21.0 
+
+++ reglookup-1.0.1+svn287/debian/control   2024-02-03 20:24:27.0 
+
@@ -19,7 +19,10 @@
 Vcs-Browser: https://salsa.debian.org/pkg-security-team/reglookup
 Vcs-Git: https://salsa.debian.org/pkg-security-team/reglookup.git
 
-Package: libregfi1
+Package: libregfi1t64
+Provides: ${t64:Provides}
+Replaces: libregfi1
+Breaks: libregfi1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -40,7 +43,7 @@
 Package: libregfi-dev
 Architecture: any
 Section: libdevel
-Depends: libregfi1 (= ${binary:Version}), ${misc:Depends}
+Depends: libregfi1t64 (= ${binary:Version}), ${misc:Depends}
 Description: utility to analysis for Windows NT-based registry (devel files)
  RegLookup is a system to direct analysis of Windows NT-based registry
  files providing command line tools, a C API, and a Python module for
@@ -75,7 +78,7 @@
 Package: python3-pyregfi
 Architecture: all
 Section: python
-Depends: libregfi1 (>= ${binary:Version}), ${misc:Depends}, ${python3:Depends}
+Depends: libregfi1t64 (>= ${binary:Version}), ${misc:Depends}, 
${python3:Depends}
 Recommends: reglookup-doc
 Description: Python 3 Bindings for reglookup
  This package contains Python 3 bindings to libregfi. There are the low-level
diff -Nru reglookup-1.0.1+svn287/debian/libregfi1.dirs 
reglookup-1.0.1+svn287/debian/libregfi1.dirs
--- reglookup-1.0.1+svn287/debian/libregfi1.dirs2021-02-02 
18:38:21.0 +
+++ reglookup-1.0.1+svn287/debian/libregfi1.dirs1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib
diff -Nru reglookup-1.0.1+svn287/debian/libregfi1.links 
reglookup-1.0.1+svn287/debian/libregfi1.links
--- reglookup-1.0.1+svn287/debian/libregfi1.links   2021-02-02 
18:38:21.0 +
+++ reglookup-1.0.1+svn287/debian/libregfi1.links   1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-usr/lib/libregfi.so.1.0.1 usr/lib/libregfi.so.1
diff -Nru reglookup-1.0.1+svn287/debian/libregfi1.symbols 
reglookup-1.0.1+svn287/debian/libregfi1.symbols
--- reglookup-1.0.1+svn287/debian/libregfi1.symbols 2021-02-02