From 6e89c15476f8bc249819e269c81ed6cdc6b58d50 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 27 Nov 2024 09:46:17 +0300 Subject: [PATCH] import opencryptoki-3.24.0-4.el10 --- SPECS/opencryptoki.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/SPECS/opencryptoki.spec b/SPECS/opencryptoki.spec index 289c66e..23e5458 100644 --- a/SPECS/opencryptoki.spec +++ b/SPECS/opencryptoki.spec @@ -1,7 +1,7 @@ Name: opencryptoki Summary: Implementation of the PKCS#11 (Cryptoki) specification v3.0 Version: 3.24.0 -Release: 3%{?dist} +Release: 4%{?dist} License: CPL-1.0 URL: https://github.com/opencryptoki/opencryptoki Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -187,10 +187,15 @@ configured with Enterprise PKCS#11 (EP11) firmware. %else --disable-tpmtok \ %endif +%ifarch s390 s390x x86_64 ppc64le + --enable-ccatok \ +%else + --disable-ccatok \ +%endif %ifarch s390 s390x - --enable-icatok --enable-ccatok --enable-ep11tok --enable-pkcsep11_migrate + --enable-icatok --enable-ep11tok --enable-pkcsep11_migrate %else - --disable-icatok --enable-ccatok --disable-ep11tok --disable-pkcsep11_migrate --enable-pkcscca_migrate + --disable-icatok --disable-ep11tok --disable-pkcsep11_migrate --enable-pkcscca_migrate %endif %make_build CHGRP=/bin/true @@ -323,6 +328,7 @@ fi %dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/TOK_OBJ/ %endif +%ifarch s390 s390x x86_64 ppc64le %files ccatok %doc doc/README.cca_stdll %config(noreplace) %{_sysconfdir}/%{name}/ccatok.conf @@ -332,6 +338,7 @@ fi %{_libdir}/opencryptoki/stdll/PKCS11_CCA.so %dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/ %dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/TOK_OBJ/ +%endif %ifarch s390 s390x %files ep11tok @@ -350,6 +357,10 @@ fi %changelog +* Tue Nov 26 2024 Than Ngo - 3.24.0-4 +- Disable ccatok on aarch64 and i686 + Related: RHEL-58996 + * Thu Nov 07 2024 Than Ngo - 3.24.0-3 - Fix resource leak Related: RHEL-58996