]> git.pld-linux.org Git - packages/libp11.git/commitdiff
- updated to 0.4.12 master auto/th/libp11-0.4.12-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 May 2023 18:13:39 +0000 (20:13 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 May 2023 18:13:39 +0000 (20:13 +0200)
- added openssl3 patch to fix soname with openssl 3.1.x

libp11-openssl3.patch [new file with mode: 0644]
libp11.spec

diff --git a/libp11-openssl3.patch b/libp11-openssl3.patch
new file mode 100644 (file)
index 0000000..2a0da92
--- /dev/null
@@ -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
index 6dd102158ddb313ae1d5b000eae0e454b0d00dba..2e6ac88f2363489a7271c4090a3be4c7cae53c4d 100644 (file)
@@ -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 \
This page took 0.093049 seconds and 4 git commands to generate.