Bug#1064246: neon27: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: neon27
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 neon27-0.33.0/debian/changelog neon27-0.33.0/debian/changelog
--- neon27-0.33.0/debian/changelog  2024-02-02 22:12:14.0 +
+++ neon27-0.33.0/debian/changelog  2024-02-28 22:40:56.0 +
@@ -1,3 +1,10 @@
+neon27 (0.33.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064246
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 22:40:56 +
+
 neon27 (0.33.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru neon27-0.33.0/debian/control neon27-0.33.0/debian/control
--- neon27-0.33.0/debian/control2023-10-03 21:27:50.0 +
+++ neon27-0.33.0/debian/control2024-02-28 22:40:56.0 +
@@ -2,12 +2,15 @@
 Section: net
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) 
-Build-Depends: debhelper-compat (= 13), pkgconf, libxml2-dev, libssl-dev (>= 
0.9.8c), libgnutls28-dev, libkrb5-dev, libz-dev, ca-certificates, chrpath, xmlto
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), pkgconf, 
libxml2-dev, libssl-dev (>= 0.9.8c), libgnutls28-dev, libkrb5-dev, libz-dev, 
ca-certificates, chrpath, xmlto
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://notroj.github.io/neon/
 
-Package: libneon27
+Package: libneon27t64
+Provides: ${t64:Provides}
+Replaces: libneon27
+Breaks: libneon27 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -46,15 +49,19 @@
 Conflicts: libneon-dev, libneon24-doc (<= 0.24.5-1), libneon25-dev (<< 
0.28.2-5), libneon27-gnutls-dev
 Provides: libneon-dev
 Replaces: libneon-dev, libneon25-dev, libneon27-gnutls-dev
-Depends: ${misc:Depends}, libneon27 (= ${binary:Version}), libssl-dev, 
libxml2-dev, libkrb5-dev, pkgconf
-Description: Header and static library files for libneon27
+Depends: ${misc:Depends}, libneon27t64 (= ${binary:Version}), libssl-dev, 
libxml2-dev, libkrb5-dev, pkgconf
+Description: Header and static library files for libneon27t64
  This package contains the headers and the static library for libneon27.
  .
  Neon provides lower-level interfaces to directly implement new HTTP
  methods, and higher-level interfaces so that you don't have to
  worry about the lower-level stuff.
 
-Package: libneon27-gnutls
+Package: libneon27t64-gnutls
+Provides: ${t64:Provides}
+X-Time64-Compat: libneon27-gnutls
+Replaces: libneon27-gnutls
+Breaks: libneon27-gnutls (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -94,9 +101,9 @@
 Conflicts: libneon-dev, libneon24-doc (<= 0.24.5-1), libneon25-dev (<< 
0.28.2-5), libneon27-dev
 Provides: libneon-dev
 Replaces: libneon-dev, libneon25-dev, libneon27-dev
-Depends: ${misc:Depends}, libneon27-gnutls (= ${binary:Version}),
+Depends: ${misc:Depends}, libneon27t64-gnutls (= ${binary:Version}),
  libgnutls28-dev, libxml2-dev, libkrb5-dev, pkgconf
-Description: Header and static library files for libneon27 (GnuTLS enabled)
+Description: Header and static library files for libneon27t64 (GnuTLS enabled)
  This package contains the headers and the static library for
  libneon27-gnutls.
  .
diff -Nru neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides 
neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides
--- neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides 2015-10-03 
19:36:41.0 +
+++ neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides 1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-# this is known due to common package naming
-libneon27-gnutls: package-name-doesnt-match-sonames libneon-gnutls27
diff -Nru neon27-0.33.0/debian/libneon27.lintian-overrides 
neon27-0.33.0/debian/libneon27.lintian-overrides
--- neon27-0.33.0/debian/libneon27.lintian-overrides2020-06-01 
21:20:34.0 +
+++ neon27-0.33.0/debian/libneon27.lintian-overrides1970-01-01 
00:00:00.0 +
@@ -1 +0,0 @@
-libneon27: possible-gpl-code-linked-with-openssl
diff -Nru neon27-0.33.0/debian/libneon27t64-gnutls.lintian-overrides 
neon27-0.33.0/debian/libneon27t64-gnutls.lintian-overrides
--- neon27-0.33.0/debian/libneon27t64-gnutls.lintian-overrides  1970-01-01 
00:00:00.0 +
+++ neon27-0.33.0/debian/libneon27t64-gnutls.lintian-overrides  2024-02-28 
22:39:30.0 +
@@ 

Bug#1064246: neon27: NMU diff for 64-bit time_t transition

2024-02-18 Thread Steve Langasek
Source: neon27
Version: 0.33.0-1
Severity: important
Tags: patch pending sid trixie
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
neon27 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 neon27
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'), (500, 'stable'), (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 neon27-0.33.0/debian/changelog neon27-0.33.0/debian/changelog
--- neon27-0.33.0/debian/changelog  2024-02-02 22:12:14.0 +
+++ neon27-0.33.0/debian/changelog  2024-02-18 23:41:28.0 +
@@ -1,3 +1,10 @@
+neon27 (0.33.0-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sun, 18 Feb 2024 23:41:28 +
+
 neon27 (0.33.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru neon27-0.33.0/debian/control neon27-0.33.0/debian/control
--- neon27-0.33.0/debian/control2023-10-03 21:27:50.0 +
+++ neon27-0.33.0/debian/control2024-02-18 23:41:27.0 +
@@ -7,7 +7,10 @@
 Rules-Requires-Root: no
 Homepage: https://notroj.github.io/neon/
 
-Package: libneon27
+Package: libneon27t64
+Provides: ${t64:Provides}
+Replaces: libneon27
+Breaks: libneon27 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -46,15 +49,19 @@
 Conflicts: libneon-dev, libneon24-doc (<= 0.24.5-1), libneon25-dev (<< 
0.28.2-5), libneon27-gnutls-dev
 Provides: libneon-dev
 Replaces: libneon-dev, libneon25-dev, libneon27-gnutls-dev
-Depends: ${misc:Depends}, libneon27 (= ${binary:Version}), libssl-dev, 
libxml2-dev, libkrb5-dev, pkgconf
-Description: Header and static library files for libneon27
+Depends: ${misc:Depends}, libneon27t64 (= ${binary:Version}), libssl-dev, 
libxml2-dev, libkrb5-dev, pkgconf
+Description: Header and static library files for libneon27t64
  This package contains the headers and the static library for libneon27.
  .
  Neon provides lower-level interfaces to directly implement new HTTP
  methods, and higher-level interfaces so that you don't have to
  worry about the lower-level stuff.
 
-Package: libneon27-gnutls
+Package: libneon27t64-gnutls
+Provides: ${t64:Provides}
+X-Time64-Compat: libneon27-gnutls
+Replaces: libneon27-gnutls
+Breaks: libneon27-gnutls (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -94,9 +101,9 @@
 Conflicts: libneon-dev, libneon24-doc (<= 0.24.5-1), libneon25-dev (<< 
0.28.2-5), libneon27-dev
 Provides: libneon-dev
 Replaces: libneon-dev, libneon25-dev, libneon27-dev
-Depends: ${misc:Depends}, libneon27-gnutls (= ${binary:Version}),
+Depends: ${misc:Depends}, libneon27t64-gnutls (= ${binary:Version}),
  libgnutls28-dev, libxml2-dev, libkrb5-dev, pkgconf
-Description: Header and static library files for libneon27 (GnuTLS enabled)
+Description: Header and static library files for libneon27t64 (GnuTLS enabled)
  This package contains the headers and the static library for
  libneon27-gnutls.
  .
diff -Nru neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides 
neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides
--- neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides 2015-10-03