From: Jakub Bogusz Date: Mon, 29 May 2023 18:13:39 +0000 (+0200) Subject: - updated to 0.4.12 X-Git-Tag: auto/th/libp11-0.4.12-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=packages%2Flibp11.git - updated to 0.4.12 - added openssl3 patch to fix soname with openssl 3.1.x --- 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 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 \