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
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru cupt-2.10.4+nmu1/debian/changelog cupt-2.10.4+nmu2/debian/changelog
--- cupt-2.10.4+nmu1/debian/changelog   2020-06-07 20:56:21.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/changelog   2024-02-27 23:18:16.000000000 +0000
@@ -1,3 +1,10 @@
+cupt (2.10.4+nmu2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1061989
+
+ -- Michael Hudson-Doyle <mwhud...@debian.org>  Tue, 27 Feb 2024 23:18:16 +0000
+
 cupt (2.10.4+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cupt-2.10.4+nmu1/debian/control cupt-2.10.4+nmu2/debian/control
--- cupt-2.10.4+nmu1/debian/control     2020-06-07 20:52:19.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/control     2024-02-27 23:18:16.000000000 +0000
@@ -1,7 +1,7 @@
 Source: cupt
 Section: admin
 Priority: optional
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
 # build system
   debhelper (>= 9),
   cmake (>= 2.6),
@@ -36,18 +36,20 @@
 Section: debug
 Priority: optional
 Architecture: any
-Depends: libcupt4-2 (= ${binary:Version}) | cupt (= ${binary:Version}) |
+Depends: libcupt4-2t64 (= ${binary:Version}) | cupt (= ${binary:Version}) |
  libcupt4-2-downloadmethod-curl (= ${binary:Version}) |
  libcupt4-2-downloadmethod-wget (= ${binary:Version}),
  ${misc:Depends}
 Description: flexible package manager -- debugging symbols
  This package contains gdb debugging symbols for the Cupt packages.
 
-Package: libcupt4-2
+Package: libcupt4-2t64
+Provides: ${t64:Provides}
+Replaces: libcupt4-2
 Section: libs
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}, libcupt-common (>= 
${source:Version})
-Breaks: dpkg (<< 1.17.11~), gpgv (<< 2~)
+Breaks: libcupt4-2 (<< ${source:Version}), dpkg (<< 1.17.11~), gpgv (<< 2~)
 Recommends: libcupt4-2-downloadmethod-curl | libcupt4-2-downloadmethod-wget, 
bzip2, gpgv, ed
 Suggests: cupt, lzma, xz-utils, debdelta (>= 0.31), dpkg-dev, dpkg-repack
 Description: flexible package manager -- runtime library
@@ -76,18 +78,18 @@
 Description: flexible package manager -- runtime library (support files)
  This package provides architecture-independent support parts for Cupt library.
  .
- See also description of libcupt4-2 package.
+ See also description of libcupt4-2t64 package.
 
 Package: libcupt4-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libcupt4-2 (= ${binary:Version})
+Depends: ${misc:Depends}, libcupt4-2t64 (= ${binary:Version})
 Conflicts: libcupt2-dev, libcupt3-dev
 Suggests: libcupt4-doc
 Description: flexible package manager -- development files
  This package provides headers for Cupt library.
  .
- See also description of libcupt4-2 package.
+ See also description of libcupt4-2t64 package.
 
 Package: libcupt4-doc
 Section: doc
@@ -96,11 +98,11 @@
 Description: flexible package manager -- library documentation
  This package provides documentation for Cupt library.
  .
- See also description of libcupt4-2 package.
+ See also description of libcupt4-2t64 package.
 
 Package: cupt
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, libcupt4-2 (>= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, libcupt4-2t64 (>= 
${binary:Version})
 Suggests: sensible-utils, libreadline7
 Description: flexible package manager -- console interface
  This package provides a console interface to Cupt library, which implements
@@ -139,7 +141,7 @@
  This package provides http(s) and ftp download handlers for Cupt library
  using libcurl.
  .
- See also description of libcupt4-2 package.
+ See also description of libcupt4-2t64 package.
 
 Package: libcupt4-2-downloadmethod-wget
 Architecture: any
@@ -148,4 +150,4 @@
  This package provides http(s) and ftp download handlers for Cupt library
  using wget.
  .
- See also description of libcupt4-2 package.
+ See also description of libcupt4-2t64 package.
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2.install 
cupt-2.10.4+nmu2/debian/libcupt4-2.install
--- cupt-2.10.4+nmu1/debian/libcupt4-2.install  2019-11-10 09:53:34.000000000 
+0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2.install  1970-01-01 00:00:00.000000000 
+0000
@@ -1,3 +0,0 @@
-usr/lib/libcupt4.so.2
-usr/lib/cupt4-2/downloadmethods/libdebdelta*
-usr/lib/cupt4-2/downloadmethods/libfile*
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2.lintian-overrides 
cupt-2.10.4+nmu2/debian/libcupt4-2.lintian-overrides
--- cupt-2.10.4+nmu1/debian/libcupt4-2.lintian-overrides        2019-11-10 
09:53:34.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2.lintian-overrides        1970-01-01 
00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-# Cupt reads package indices (including the dpkg status file) into memory every
-# time it starts. It's a first-above-dpkg level API. For speed and consistency,
-# scanning the files are done via read-only custom-buffered random access to
-# index files.
-binary: uses-dpkg-database-directly usr/lib/libcupt*so*
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2.postinst 
cupt-2.10.4+nmu2/debian/libcupt4-2.postinst
--- cupt-2.10.4+nmu1/debian/libcupt4-2.postinst 2019-11-10 09:53:34.000000000 
+0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2.postinst 1970-01-01 00:00:00.000000000 
+0000
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ ! -e /var/lib/cupt ]; then
-       mkdir /var/lib/cupt
-fi
-
-#DEBHELPER#
-
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2.postrm 
cupt-2.10.4+nmu2/debian/libcupt4-2.postrm
--- cupt-2.10.4+nmu1/debian/libcupt4-2.postrm   2019-11-10 09:53:34.000000000 
+0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2.postrm   1970-01-01 00:00:00.000000000 
+0000
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-       purge)
-               rm -rf /var/lib/cupt
-               rm -f /var/log/cupt.log*
-               ;;
-esac
-
-#DEBHELPER#
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2.shlibs 
cupt-2.10.4+nmu2/debian/libcupt4-2.shlibs
--- cupt-2.10.4+nmu1/debian/libcupt4-2.shlibs   2019-11-10 09:53:34.000000000 
+0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2.shlibs   1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-libcupt4 2 libcupt4-2 (>= 2.10.0~)
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2t64.install 
cupt-2.10.4+nmu2/debian/libcupt4-2t64.install
--- cupt-2.10.4+nmu1/debian/libcupt4-2t64.install       1970-01-01 
00:00:00.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2t64.install       2019-11-10 
09:53:34.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib/libcupt4.so.2
+usr/lib/cupt4-2/downloadmethods/libdebdelta*
+usr/lib/cupt4-2/downloadmethods/libfile*
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2t64.lintian-overrides 
cupt-2.10.4+nmu2/debian/libcupt4-2t64.lintian-overrides
--- cupt-2.10.4+nmu1/debian/libcupt4-2t64.lintian-overrides     1970-01-01 
00:00:00.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2t64.lintian-overrides     2024-02-27 
23:18:03.000000000 +0000
@@ -0,0 +1,6 @@
+# Cupt reads package indices (including the dpkg status file) into memory every
+# time it starts. It's a first-above-dpkg level API. For speed and consistency,
+# scanning the files are done via read-only custom-buffered random access to
+# index files.
+binary: uses-dpkg-database-directly usr/lib/libcupt*so*
+libcupt4-2t64: package-name-doesnt-match-sonames libcupt4-2
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2t64.postinst 
cupt-2.10.4+nmu2/debian/libcupt4-2t64.postinst
--- cupt-2.10.4+nmu1/debian/libcupt4-2t64.postinst      1970-01-01 
00:00:00.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2t64.postinst      2019-11-10 
09:53:34.000000000 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ ! -e /var/lib/cupt ]; then
+       mkdir /var/lib/cupt
+fi
+
+#DEBHELPER#
+
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2t64.postrm 
cupt-2.10.4+nmu2/debian/libcupt4-2t64.postrm
--- cupt-2.10.4+nmu1/debian/libcupt4-2t64.postrm        1970-01-01 
00:00:00.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2t64.postrm        2019-11-10 
09:53:34.000000000 +0000
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+       purge)
+               rm -rf /var/lib/cupt
+               rm -f /var/log/cupt.log*
+               ;;
+esac
+
+#DEBHELPER#
diff -Nru cupt-2.10.4+nmu1/debian/libcupt4-2t64.shlibs 
cupt-2.10.4+nmu2/debian/libcupt4-2t64.shlibs
--- cupt-2.10.4+nmu1/debian/libcupt4-2t64.shlibs        1970-01-01 
00:00:00.000000000 +0000
+++ cupt-2.10.4+nmu2/debian/libcupt4-2t64.shlibs        2024-02-27 
23:18:03.000000000 +0000
@@ -0,0 +1 @@
+libcupt4 2 libcupt4-2t64 (>= 2.10.0~)

Reply via email to