[packages/libp11] - updated to 0.4.12 - added openssl3 patch to fix soname with openssl 3.1.x

qboosh qboosh at pld-linux.org
Mon May 29 20:11:09 CEST 2023


commit db4979673bc1d65987eb3852418c9d3762a7e76b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 29 20:13:39 2023 +0200

    - updated to 0.4.12
    - added openssl3 patch to fix soname with openssl 3.1.x

 libp11-openssl3.patch | 11 +++++++++++
 libp11.spec           |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/libp11.spec b/libp11.spec
index 6dd1021..2e6ac88 100644
--- a/libp11.spec
+++ b/libp11.spec
@@ -1,13 +1,14 @@
 Summary:	Layer on top of PKCS#11 API to make using PKCS#11 implementations easier
 Summary(pl.UTF-8):	Warstwa powyżej API PKCS#11 ułatwiająca używanie implementacji PKCS#11
 Name:		libp11
-Version:	0.4.11
-Release:	2
+Version:	0.4.12
+Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/OpenSC/libp11/releases
 Source0:	https://github.com/OpenSC/libp11/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	8b907abd572b0eb8e63413549f68dbe1
+# Source0-md5:	2ec3c29523cc06ec60166b320c489c63
+Patch0:		%{name}-openssl3.patch
 URL:		https://github.com/OpenSC/libp11
 BuildRequires:	doxygen
 BuildRequires:	openssl-devel >= 3.0.0
@@ -86,6 +87,7 @@ takim jak OpenSC.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
diff --git a/libp11-openssl3.patch b/libp11-openssl3.patch
new file mode 100644
index 0000000..2a0da92
--- /dev/null
+++ b/libp11-openssl3.patch
@@ -0,0 +1,11 @@
+--- libp11-0.4.12/configure.ac.orig	2022-07-15 21:56:04.000000000 +0200
++++ libp11-0.4.12/configure.ac	2023-05-29 19:58:08.260502411 +0200
+@@ -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.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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libp11.git/commitdiff/db4979673bc1d65987eb3852418c9d3762a7e76b



More information about the pld-cvs-commit mailing list