[Pkg-openssl-devel] Bug#1064264: openssl: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Thu Feb 29 12:57:47 GMT 2024


Source: openssl
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 openssl-3.1.5/debian/changelog openssl-3.1.5/debian/changelog
--- openssl-3.1.5/debian/changelog	2024-02-03 16:11:24.000000000 +0000
+++ openssl-3.1.5/debian/changelog	2024-02-29 12:55:38.000000000 +0000
@@ -1,3 +1,10 @@
+openssl (3.1.5-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1064264
+
+ -- Benjamin Drung <bdrung at debian.org>  Thu, 29 Feb 2024 12:55:38 +0000
+
 openssl (3.1.5-1) unstable; urgency=medium
 
   * Import 3.1.5
diff -Nru openssl-3.1.5/debian/control openssl-3.1.5/debian/control
--- openssl-3.1.5/debian/control	2024-02-03 16:00:20.000000000 +0000
+++ openssl-3.1.5/debian/control	2024-02-29 12:55:38.000000000 +0000
@@ -1,5 +1,5 @@
 Source: openssl
-Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.15.7)
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), dpkg-dev (>= 1.15.7)
 Section: utils
 Priority: optional
 Maintainer: Debian OpenSSL Team <pkg-openssl-devel at alioth-lists.debian.net>
@@ -29,11 +29,13 @@
   * testing SSL/TLS clients and servers;
   * handling S/MIME signed or encrypted mail.
 
-Package: libssl3
+Package: libssl3t64
+Provides: ${t64:Provides}
+Replaces: libssl3
 Section: libs
 Architecture: any
 Multi-Arch: same
-Breaks: openssh-client (<< 1:9.4p1), openssh-server (<< 1:9.4p1), python3-m2crypto (<< 0.38.0-4)
+Breaks: libssl3 (<< ${source:Version}), openssh-client (<< 1:9.4p1), openssh-server (<< 1:9.4p1), python3-m2crypto (<< 0.38.0-4)
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Secure Sockets Layer toolkit - shared libraries
@@ -73,7 +75,7 @@
 Architecture: any
 Multi-Arch: same
 Suggests: libssl-doc
-Depends: libssl3 (= ${binary:Version}), ${misc:Depends}
+Depends: libssl3t64 (= ${binary:Version}), ${misc:Depends}
 Description: Secure Sockets Layer toolkit - development files
  This package is part of the OpenSSL project's implementation of the SSL
  and TLS cryptographic protocols for secure communication over the
diff -Nru openssl-3.1.5/debian/libssl3.NEWS openssl-3.1.5/debian/libssl3.NEWS
--- openssl-3.1.5/debian/libssl3.NEWS	2024-02-03 16:00:20.000000000 +0000
+++ openssl-3.1.5/debian/libssl3.NEWS	1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-libssl3 (3.1.4-2) unstable; urgency=medium
-
-  TLSv1.0, TLSv1.1 and DTLS 1.0 work only at security level 0 (it was
-  previously allowed at security level 0). If you are still using them, you
-  need lower security level (via CipherString = DEFAULT:@SECLEVEL=0)
-  additionally to the MinProtocol setting.
-
- -- Sebastian Andrzej Siewior <sebastian at breakpoint.cc>  Sat, 25 Nov 2023 21:29:39 +0100
diff -Nru openssl-3.1.5/debian/libssl3.dirs openssl-3.1.5/debian/libssl3.dirs
--- openssl-3.1.5/debian/libssl3.dirs	2024-02-03 16:00:20.000000000 +0000
+++ openssl-3.1.5/debian/libssl3.dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/share/doc/libssl3
diff -Nru openssl-3.1.5/debian/libssl3.install openssl-3.1.5/debian/libssl3.install
--- openssl-3.1.5/debian/libssl3.install	2024-02-03 16:00:20.000000000 +0000
+++ openssl-3.1.5/debian/libssl3.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-usr/lib/*/*.so.*
-usr/lib/*/engines-*/*.so
-usr/lib/*/ossl-modules/*.so
diff -Nru openssl-3.1.5/debian/libssl3.symbols openssl-3.1.5/debian/libssl3.symbols
--- openssl-3.1.5/debian/libssl3.symbols	2024-02-03 16:00:20.000000000 +0000
+++ openssl-3.1.5/debian/libssl3.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,10 +0,0 @@
-libcrypto.so.3 libssl3 #MINVER#
-* Build-Depends-Package: libssl-dev
- *@OPENSSL_3.0.0 3.0.0
- *@OPENSSL_3.0.3 3.0.3
- *@OPENSSL_3.0.8 3.0.8
- *@OPENSSL_3.0.9 3.0.9
- *@OPENSSL_3.1.0 3.1.0
-libssl.so.3 libssl3 #MINVER#
-* Build-Depends-Package: libssl-dev
- *@OPENSSL_3.0.0 3.0.0
diff -Nru openssl-3.1.5/debian/libssl3t64.NEWS openssl-3.1.5/debian/libssl3t64.NEWS
--- openssl-3.1.5/debian/libssl3t64.NEWS	1970-01-01 00:00:00.000000000 +0000
+++ openssl-3.1.5/debian/libssl3t64.NEWS	2024-02-03 16:00:20.000000000 +0000
@@ -0,0 +1,8 @@
+libssl3 (3.1.4-2) unstable; urgency=medium
+
+  TLSv1.0, TLSv1.1 and DTLS 1.0 work only at security level 0 (it was
+  previously allowed at security level 0). If you are still using them, you
+  need lower security level (via CipherString = DEFAULT:@SECLEVEL=0)
+  additionally to the MinProtocol setting.
+
+ -- Sebastian Andrzej Siewior <sebastian at breakpoint.cc>  Sat, 25 Nov 2023 21:29:39 +0100
diff -Nru openssl-3.1.5/debian/libssl3t64.dirs openssl-3.1.5/debian/libssl3t64.dirs
--- openssl-3.1.5/debian/libssl3t64.dirs	1970-01-01 00:00:00.000000000 +0000
+++ openssl-3.1.5/debian/libssl3t64.dirs	2024-02-03 16:00:20.000000000 +0000
@@ -0,0 +1 @@
+usr/share/doc/libssl3
diff -Nru openssl-3.1.5/debian/libssl3t64.install openssl-3.1.5/debian/libssl3t64.install
--- openssl-3.1.5/debian/libssl3t64.install	1970-01-01 00:00:00.000000000 +0000
+++ openssl-3.1.5/debian/libssl3t64.install	2024-02-03 16:00:20.000000000 +0000
@@ -0,0 +1,3 @@
+usr/lib/*/*.so.*
+usr/lib/*/engines-*/*.so
+usr/lib/*/ossl-modules/*.so
diff -Nru openssl-3.1.5/debian/libssl3t64.lintian-overrides openssl-3.1.5/debian/libssl3t64.lintian-overrides
--- openssl-3.1.5/debian/libssl3t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ openssl-3.1.5/debian/libssl3t64.lintian-overrides	2024-02-29 12:54:23.000000000 +0000
@@ -0,0 +1 @@
+libssl3t64: package-name-doesnt-match-sonames libssl3
diff -Nru openssl-3.1.5/debian/libssl3t64.symbols openssl-3.1.5/debian/libssl3t64.symbols
--- openssl-3.1.5/debian/libssl3t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ openssl-3.1.5/debian/libssl3t64.symbols	2024-02-29 12:54:23.000000000 +0000
@@ -0,0 +1,10 @@
+libcrypto.so.3 libssl3t64 #MINVER#
+* Build-Depends-Package: libssl-dev
+ *@OPENSSL_3.0.0 3.0.0
+ *@OPENSSL_3.0.3 3.0.3
+ *@OPENSSL_3.0.8 3.0.8
+ *@OPENSSL_3.0.9 3.0.9
+ *@OPENSSL_3.1.0 3.1.0
+libssl.so.3 libssl3t64 #MINVER#
+* Build-Depends-Package: libssl-dev
+ *@OPENSSL_3.0.0 3.0.0
diff -Nru openssl-3.1.5/debian/rules openssl-3.1.5/debian/rules
--- openssl-3.1.5/debian/rules	2024-02-03 16:00:20.000000000 +0000
+++ openssl-3.1.5/debian/rules	2024-02-29 12:55:35.000000000 +0000
@@ -151,5 +151,5 @@
 	dh_makeshlibs -a -V --add-udeb="libcrypto3-udeb" -Xengines -Xossl-modules -- -c4
 
 override_dh_shlibdeps:
-	sed -i '/^udeb: libssl/s/libcrypto3-udeb/libssl3-udeb/' debian/libssl3/DEBIAN/shlibs
-	dh_shlibdeps -a -L libssl3
+	sed -i '/^udeb: libssl/s/libcrypto3-udeb/libssl3-udeb/' debian/libssl3t64/DEBIAN/shlibs
+	dh_shlibdeps -a -L libssl3t64


More information about the Pkg-openssl-devel mailing list