commit 49bc9dd9038f0380fd5d93708c795ae70d4a9b71
Author: Jakub Bogusz <[email protected]>
Date:   Sun Jun 13 21:30:43 2021 +0200

    - updated to 1.27.0
    - added nss patch (fix build with nss 3.67)

 pkcs11-helper-nss.patch | 14 ++++++++++++++
 pkcs11-helper.spec      |  8 +++++---
 2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/pkcs11-helper.spec b/pkcs11-helper.spec
index 8440622..379e4f5 100644
--- a/pkcs11-helper.spec
+++ b/pkcs11-helper.spec
@@ -1,14 +1,15 @@
 Summary:       Helper library for the use with smart cards and the PKCS#11 API
 Summary(pl.UTF-8):     Biblioteka pomocnicza do używania z kartami 
procesorowymi i API PKCS#11
 Name:          pkcs11-helper
-Version:       1.26.0
+Version:       1.27.0
 Release:       1
 License:       GPL v2 or BSD
 Group:         Libraries
 #Source0Download: https://github.com/OpenSC/pkcs11-helper/releases
-Source0:       
https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-1.26/%{name}-%{version}.tar.bz2
-# Source0-md5: de4910f84a505e58c143569b8cc5d441
+Source0:       
https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-1.27/%{name}-%{version}.tar.bz2
+# Source0-md5: f3eb32bcc29af4dbdcb7f77b2889442d
 Patch0:                no-libs.patch
+Patch1:                %{name}-nss.patch
 URL:           https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.10
@@ -70,6 +71,7 @@ Dokumentacja API biblioteki pkcs11-helper.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/pkcs11-helper-nss.patch b/pkcs11-helper-nss.patch
new file mode 100644
index 0000000..a283121
--- /dev/null
+++ b/pkcs11-helper-nss.patch
@@ -0,0 +1,14 @@
+--- pkcs11-helper-1.27.0/include/pkcs11-helper-1.0/pkcs11.h.orig       
2020-11-17 19:38:56.000000000 +0100
++++ pkcs11-helper-1.27.0/include/pkcs11-helper-1.0/pkcs11.h    2021-06-12 
20:53:07.127234688 +0200
+@@ -1262,6 +1262,11 @@
+ 
+ #define NULL_PTR NULL
+ 
++typedef CK_RV (*CK_NSS_GetFIPSStatus)(CK_SESSION_HANDLE hSession,
++                                      CK_OBJECT_HANDLE hObject,
++                                      CK_ULONG ulOperationType,
++                                      CK_ULONG *pulFIPSStatus);
++
+ /* Delete the helper macros defined at the top of the file.  */
+ #undef ck_flags_t
+ #undef ck_version
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pkcs11-helper.git/commitdiff/49bc9dd9038f0380fd5d93708c795ae70d4a9b71

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to