summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-07-13 16:45:16 -0400
committerMike Gilbert <floppym@gentoo.org>2023-07-13 16:45:16 -0400
commit58147c1f7a521ea21c3567fb816f45cf4c279843 (patch)
treee0fad67c4f098e5896b1ec0bfd16448c054d1f6b /dev-libs/libp11
parentapp-admin/awscli-bin: add 2.13.0 (diff)
downloadgentoo-58147c1f7a521ea21c3567fb816f45cf4c279843.tar.gz
gentoo-58147c1f7a521ea21c3567fb816f45cf4c279843.tar.bz2
gentoo-58147c1f7a521ea21c3567fb816f45cf4c279843.zip
dev-libs/libp11: update openssl-3.1 patch
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/libp11')
-rw-r--r--dev-libs/libp11/files/libp11-0.4.12-openssl-3.1.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/libp11/files/libp11-0.4.12-openssl-3.1.patch b/dev-libs/libp11/files/libp11-0.4.12-openssl-3.1.patch
index fbc7cf9d64ed..f7f148e07e1b 100644
--- a/dev-libs/libp11/files/libp11-0.4.12-openssl-3.1.patch
+++ b/dev-libs/libp11/files/libp11-0.4.12-openssl-3.1.patch
@@ -23,3 +23,28 @@ index d6b0ee91..b96979d9 100644
LIBP11_LT_OLDEST="3"
debian_ssl_prefix="openssl-3.0.0";;
1.1.*) # Predicted engines directory prefix for OpenSSL 1.1.x
+From 0697773b403efb8e7fa9f0c0fddcb499fb9b6337 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Thu, 13 Jul 2023 13:52:54 -0400
+Subject: [PATCH] configure: treat all openssl-3.x releases the same
+
+OpenSSL's soversion will not change for any 3.x minor release.
+
+https://www.openssl.org/policies/general/versioning-policy.html
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index b96979d9..c344e84a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -33,7 +33,7 @@ AC_C_BIGENDIAN
+ # issues with applications linking to new openssl, old libp11, and vice versa
+ case "`$PKG_CONFIG --modversion --silence-errors libcrypto || \
+ $PKG_CONFIG --modversion openssl`" in
+- 3.1.*|3.0.*) # Predicted engines directory prefix for OpenSSL 3.x
++ 3.*) # Predicted engines directory prefix for OpenSSL 3.x
+ LIBP11_LT_OLDEST="3"
+ debian_ssl_prefix="openssl-3.0.0";;
+ 1.1.*) # Predicted engines directory prefix for OpenSSL 1.1.x