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.000000000 +0000
+++ neon27-0.33.0/debian/changelog      2024-02-18 23:41:28.000000000 +0000
@@ -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 <vor...@debian.org>  Sun, 18 Feb 2024 23:41:28 +0000
+
 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/control        2023-10-03 21:27:50.000000000 +0000
+++ neon27-0.33.0/debian/control        2024-02-18 23:41:27.000000000 +0000
@@ -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 
19:36:41.000000000 +0000
+++ neon27-0.33.0/debian/libneon27-gnutls.lintian-overrides     1970-01-01 
00:00:00.000000000 +0000
@@ -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-overrides    2020-06-01 
21:20:34.000000000 +0000
+++ neon27-0.33.0/debian/libneon27.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
@@ -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.000000000 +0000
+++ neon27-0.33.0/debian/libneon27t64-gnutls.lintian-overrides  2024-02-18 
23:41:27.000000000 +0000
@@ -0,0 +1,3 @@
+# this is known due to common package naming
+libneon27t64-gnutls: package-name-doesnt-match-sonames libneon-gnutls27
+libneon27t64-gnutls: package-name-doesnt-match-sonames libneon27-gnutls
diff -Nru neon27-0.33.0/debian/libneon27t64.lintian-overrides 
neon27-0.33.0/debian/libneon27t64.lintian-overrides
--- neon27-0.33.0/debian/libneon27t64.lintian-overrides 1970-01-01 
00:00:00.000000000 +0000
+++ neon27-0.33.0/debian/libneon27t64.lintian-overrides 2024-02-18 
23:41:27.000000000 +0000
@@ -0,0 +1,2 @@
+libneon27t64: possible-gpl-code-linked-with-openssl
+libneon27t64: package-name-doesnt-match-sonames libneon27
diff -Nru neon27-0.33.0/debian/rules neon27-0.33.0/debian/rules
--- neon27-0.33.0/debian/rules  2021-09-27 16:50:40.000000000 +0000
+++ neon27-0.33.0/debian/rules  2024-02-18 23:41:28.000000000 +0000
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-package=libneon27
+package=libneon27t64
+dev_package=libneon27
 upstream-version=$(shell head -n 1 debian/changelog | sed -e 
's/.*(\(\([0-9]\+:\)\?\([^-]\+\).*\).*).*/\3/' )
 
 export KRB5_CONFIG=/usr/bin/krb5-config.mit
@@ -96,10 +97,10 @@
        cd $(BUILDDIR)/neon-openssl/ && $(MAKE) install-lib install-headers 
install-config install-man DESTDIR=$(DESTDIR)/$(package)
        chrpath -d $(CURDIR)/debian/$(package)/usr/lib/*/libneon.so.27
        rm -f $(CURDIR)/debian/$(package)/usr/lib/*/libneon.la
-       dh_movefiles -v -p$(package)-dev --sourcedir=debian/$(package)
-       install -d debian/$(package)-dev/usr/share/aclocal
+       dh_movefiles -v -p$(dev_package)-dev --sourcedir=debian/$(package)
+       install -d debian/$(dev_package)-dev/usr/share/aclocal
        cp macros/neon*.m4 \
-               debian/$(package)-dev/usr/share/aclocal/
+               debian/$(dev_package)-dev/usr/share/aclocal/
 
        rm -rf debian/$(package)/usr/include \
                debian/$(package)/usr/bin \
@@ -115,13 +116,13 @@
        cd $(BUILDDIR)/neon-gnutls/ && $(MAKE) install-lib install-headers 
install-config install-man DESTDIR=$(DESTDIR)/$(package)-gnutls
        chrpath -d 
$(CURDIR)/debian/$(package)-gnutls/usr/lib/*/libneon-gnutls.so.27
        rm -f $(CURDIR)/debian/$(package)-gnutls/usr/lib/*/libneon-gnutls.la
-       dh_movefiles -v -p$(package)-gnutls-dev \
+       dh_movefiles -v -p$(dev_package)-gnutls-dev \
          --sourcedir=debian/$(package)-gnutls
-       ln -sf libneon-gnutls.so 
debian/$(package)-gnutls-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libneon.so
-       ln -sf libneon-gnutls.a  
debian/$(package)-gnutls-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libneon.a
-       install -d debian/$(package)-gnutls-dev/usr/share/aclocal
+       ln -sf libneon-gnutls.so 
debian/$(dev_package)-gnutls-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libneon.so
+       ln -sf libneon-gnutls.a  
debian/$(dev_package)-gnutls-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libneon.a
+       install -d debian/$(dev_package)-gnutls-dev/usr/share/aclocal
        cp macros/neon*.m4 \
-               debian/$(package)-gnutls-dev/usr/share/aclocal/
+               debian/$(dev_package)-gnutls-dev/usr/share/aclocal/
 
        rm -rf debian/$(package)-gnutls/usr/include \
                debian/$(package)-gnutls/usr/bin \

Reply via email to