forked from pool/openssl-ibmca
Accepting request 1080297 from security:tls
OBS-URL: https://build.opensuse.org/request/show/1080297 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl-ibmca?expand=0&rev=43
This commit is contained in:
commit
63379767f2
12
openssl-ibmca-engine-noregister.patch
Normal file
12
openssl-ibmca-engine-noregister.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- openssl-ibmca-2.3.1/src/engine/e_ibmca.c.xx 2023-04-19 10:36:53.514635802 +0200
|
||||||
|
+++ openssl-ibmca-2.3.1/src/engine/e_ibmca.c 2023-04-19 10:39:01.678265739 +0200
|
||||||
|
@@ -642,6 +642,9 @@
|
||||||
|
if (!ENGINE_set_pkey_meths(e, ibmca_engine_pkey_meths))
|
||||||
|
goto out;
|
||||||
|
|
||||||
|
+ if (!ENGINE_set_flags(e, ENGINE_FLAGS_NO_REGISTER_ALL))
|
||||||
|
+ goto out;
|
||||||
|
+
|
||||||
|
rc = 1;
|
||||||
|
out:
|
||||||
|
free(pmech_list);
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 10:52:06 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
- Applies a patch (bsc#1210359)
|
||||||
|
* openssl-ibmca-engine-noregister.patch
|
||||||
|
- Updated the '#dynamic_path' line, as it was before, with the comment '#'.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 6 08:14:25 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
Thu Apr 6 08:14:25 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
|
||||||
|
|
||||||
|
@ -28,8 +28,11 @@ URL: https://github.com/opencryptoki/openssl-ibmca
|
|||||||
Source: https://github.com/opencryptoki/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/opencryptoki/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: engine_section.txt
|
Source1: engine_section.txt
|
||||||
###
|
###
|
||||||
|
Patch001: openssl-ibmca-engine-noregister.patch
|
||||||
|
###
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
BuildRequires: libica >= 4.0.0
|
||||||
BuildRequires: libica-devel >= 3.1.1
|
BuildRequires: libica-devel >= 3.1.1
|
||||||
BuildRequires: libica-tools >= 2.4.0
|
BuildRequires: libica-tools >= 2.4.0
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -73,7 +76,7 @@ cp -p %{SOURCE1} %{buildroot}%{_datadir}/%{name}/openssl-ibmca.sectiondef.txt
|
|||||||
grep -v "^#" src/engine/openssl.cnf.sample | \
|
grep -v "^#" src/engine/openssl.cnf.sample | \
|
||||||
sed -n -e '/^\[ibmca_section\]/,$ p' | \
|
sed -n -e '/^\[ibmca_section\]/,$ p' | \
|
||||||
sed -e '/^$/ {N;N;s/\n\n/\n/g;}' | \
|
sed -e '/^$/ {N;N;s/\n\n/\n/g;}' | \
|
||||||
sed -e 's/^dynamic_path/dynamic_path/' > %{buildroot}%{_datadir}/%{name}/openssl-ibmca.enginedef.cnf
|
sed -e 's/^dynamic_path/#dynamic_path/' > %{buildroot}%{_datadir}/%{name}/openssl-ibmca.enginedef.cnf
|
||||||
|
|
||||||
%post
|
%post
|
||||||
#Original fix for bsc#942839 was to update on first install
|
#Original fix for bsc#942839 was to update on first install
|
||||||
|
Loading…
Reference in New Issue
Block a user