[Debian-iot-maintainers] Bug#1062257: libcoap3: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Thu Feb 29 18:40:46 GMT 2024


Source: libcoap3
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
-------------- next part --------------
diff -Nru libcoap3-4.3.4/debian/changelog libcoap3-4.3.4/debian/changelog
--- libcoap3-4.3.4/debian/changelog	2023-10-28 04:11:11.000000000 +0000
+++ libcoap3-4.3.4/debian/changelog	2024-02-29 18:39:26.000000000 +0000
@@ -1,3 +1,10 @@
+libcoap3 (4.3.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062257
+
+ -- Benjamin Drung <bdrung at debian.org>  Thu, 29 Feb 2024 18:39:26 +0000
+
 libcoap3 (4.3.4-1) unstable; urgency=medium
 
   * [bd299e2] New upstream version 4.3.4
diff -Nru libcoap3-4.3.4/debian/control libcoap3-4.3.4/debian/control
--- libcoap3-4.3.4/debian/control	2023-10-28 04:07:18.000000000 +0000
+++ libcoap3-4.3.4/debian/control	2024-02-29 18:39:26.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian IoT Maintainers <debian-iot-maintainers at lists.alioth.debian.org>
 Uploaders:
  Carsten Schoenert <c.schoenert at t-online.de>,
-Build-Depends:
+Build-Depends: dpkg-dev (>= 1.22.5),
  asciidoc-base,
  debhelper-compat (= 13),
  doxygen,
@@ -20,7 +20,10 @@
 Vcs-Browser: https://salsa.debian.org/debian-iot-team/libcoap3
 Vcs-Git: https://salsa.debian.org/debian-iot-team/libcoap3.git
 
-Package: libcoap3
+Package: libcoap3t64
+Provides: ${t64:Provides}
+Replaces: libcoap3
+Breaks: libcoap3 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends:
@@ -45,7 +48,7 @@
 Package: libcoap3-bin
 Architecture: any
 Depends:
- libcoap3 (= ${binary:Version}),
+ libcoap3t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends},
 Conflicts:
@@ -88,7 +91,7 @@
 Multi-Arch: same
 Depends:
  libc6-dev,
- libcoap3 (= ${binary:Version}),
+ libcoap3t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends},
 Description: C-Implementation of CoAP - development files API version 3
diff -Nru libcoap3-4.3.4/debian/libcoap3.docs libcoap3-4.3.4/debian/libcoap3.docs
--- libcoap3-4.3.4/debian/libcoap3.docs	2022-11-28 09:42:22.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3.docs	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-CONTRIBUTE
-README
-TODO
diff -Nru libcoap3-4.3.4/debian/libcoap3.install.in libcoap3-4.3.4/debian/libcoap3.install.in
--- libcoap3-4.3.4/debian/libcoap3.install.in	2022-11-28 09:42:22.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3.install.in	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-usr/lib/@DEB_HOST_MULTIARCH@/libcoap-*.so.*
-usr/share/man/man3
-usr/share/man/man7
diff -Nru libcoap3-4.3.4/debian/libcoap3.lintian-overrides libcoap3-4.3.4/debian/libcoap3.lintian-overrides
--- libcoap3-4.3.4/debian/libcoap3.lintian-overrides	2022-11-28 09:42:22.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-# libcoap is licensed BSD-2-clause only, the GPL part comes in with the
-# copyright for the Debian packaging!
-libcoap3: possible-gpl-code-linked-with-openssl
-# This warning is correct but useless as we want to package the various possible
-# libraries within this package, it's overkill to package every library in it's
-# own binary package.
-libcoap3: package-name-doesnt-match-sonames libcoap-3-gnutls3 libcoap-3-notls3 libcoap-3-openssl3
diff -Nru libcoap3-4.3.4/debian/libcoap3.symbols libcoap3-4.3.4/debian/libcoap3.symbols
--- libcoap3-4.3.4/debian/libcoap3.symbols	2022-11-28 09:42:22.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
-libcoap-3-gnutls.so.3 libcoap3 #MINVER#
-* Build-Depends-Package: libcoap3-dev
- *@VER_3 4.3.0~
-
-libcoap-3-notls.so.3 libcoap3 #MINVER#
-* Build-Depends-Package: libcoap3-dev
- *@VER_3 4.3.0~
-
-libcoap-3-openssl.so.3 libcoap3 #MINVER#
-* Build-Depends-Package: libcoap3-dev
- *@VER_3 4.3.0~
diff -Nru libcoap3-4.3.4/debian/libcoap3t64.docs libcoap3-4.3.4/debian/libcoap3t64.docs
--- libcoap3-4.3.4/debian/libcoap3t64.docs	1970-01-01 00:00:00.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3t64.docs	2022-11-28 09:42:22.000000000 +0000
@@ -0,0 +1,3 @@
+CONTRIBUTE
+README
+TODO
diff -Nru libcoap3-4.3.4/debian/libcoap3t64.install.in libcoap3-4.3.4/debian/libcoap3t64.install.in
--- libcoap3-4.3.4/debian/libcoap3t64.install.in	1970-01-01 00:00:00.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3t64.install.in	2022-11-28 09:42:22.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib/@DEB_HOST_MULTIARCH@/libcoap-*.so.*
+usr/share/man/man3
+usr/share/man/man7
diff -Nru libcoap3-4.3.4/debian/libcoap3t64.lintian-overrides libcoap3-4.3.4/debian/libcoap3t64.lintian-overrides
--- libcoap3-4.3.4/debian/libcoap3t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3t64.lintian-overrides	2024-02-29 18:38:49.000000000 +0000
@@ -0,0 +1,8 @@
+# libcoap is licensed BSD-2-clause only, the GPL part comes in with the
+# copyright for the Debian packaging!
+libcoap3t64: possible-gpl-code-linked-with-openssl
+# This warning is correct but useless as we want to package the various possible
+# libraries within this package, it's overkill to package every library in it's
+# own binary package.
+libcoap3t64: package-name-doesnt-match-sonames libcoap-3-gnutls3 libcoap-3-notls3 libcoap-3-openssl3
+libcoap3t64: package-name-doesnt-match-sonames libcoap3
diff -Nru libcoap3-4.3.4/debian/libcoap3t64.symbols libcoap3-4.3.4/debian/libcoap3t64.symbols
--- libcoap3-4.3.4/debian/libcoap3t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ libcoap3-4.3.4/debian/libcoap3t64.symbols	2024-02-29 18:38:49.000000000 +0000
@@ -0,0 +1,11 @@
+libcoap-3-gnutls.so.3 libcoap3t64 #MINVER#
+* Build-Depends-Package: libcoap3-dev
+ *@VER_3 4.3.0~
+
+libcoap-3-notls.so.3 libcoap3t64 #MINVER#
+* Build-Depends-Package: libcoap3-dev
+ *@VER_3 4.3.0~
+
+libcoap-3-openssl.so.3 libcoap3t64 #MINVER#
+* Build-Depends-Package: libcoap3-dev
+ *@VER_3 4.3.0~


More information about the Debian-iot-maintainers mailing list