1
0
forked from pool/openssl-ibmca

Accepting request 919875 from security:tls

- Upgraded to version 2.2.1 (jsc#SLE-18333)
  * openssl-ibmca 2.2.1
    Bug fixes
  * openssl-ibmca 2.2.0
    Implement fallbacks based on OpenSSL
    Disable software fallbacks from libica
    Allow to specify default library (libica vs. libica-cex) to use
    Provide "libica" engine ctrl to switch library at load time
    Update README.md
    Remove libica link dependency
    Generate sample configuration files from system configuration
    Restructure registration global data
  * openssl-ibmca 2.1.3
    Bug fix
  * openssl-ibmca 2.1.2
    Bug fixes
- Modified spec file to
  * Define a global variable enginedir the same was as IBM does
    instead of _ENGINE_DIR as we had been doing.
  * Implemented %make_build macro according to spec-cleaner
  * Changed the package description to match IBM's.
  * Removed the redundant "autoreconf --force --install"

OBS-URL: https://build.opensuse.org/request/show/919875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl-ibmca?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2021-09-17 21:26:21 +00:00 committed by Git OBS Bridge
commit babc73a7c0
4 changed files with 45 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57304a3d35fa679f7eb7c73825c293655415125557d233beb371d085b3e71389
size 45678

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1dd77f6f749f07721f993ddecc27b68b1c1fd8c09f524fae6529e86298ed7f01
size 98187

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Fri Sep 17 19:32:37 UTC 2021 - Mark Post <mpost@suse.com>
- Upgraded to version 2.2.1 (jsc#SLE-18333)
* openssl-ibmca 2.2.1
Bug fixes
* openssl-ibmca 2.2.0
Implement fallbacks based on OpenSSL
Disable software fallbacks from libica
Allow to specify default library (libica vs. libica-cex) to use
Provide "libica" engine ctrl to switch library at load time
Update README.md
Remove libica link dependency
Generate sample configuration files from system configuration
Restructure registration global data
* openssl-ibmca 2.1.3
Bug fix
* openssl-ibmca 2.1.2
Bug fixes
- Modified spec file to
* Define a global variable enginedir the same was as IBM does
instead of _ENGINE_DIR as we had been doing.
* Implemented %make_build macro according to spec-cleaner
* Changed the package description to match IBM's.
* Removed the redundant "autoreconf --force --install"
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 16 20:06:12 UTC 2020 - Mark Post <mpost@suse.com> Wed Sep 16 20:06:12 UTC 2020 - Mark Post <mpost@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package openssl-ibmca # spec file for package openssl-ibmca
# #
# Copyright (c) 2018-2020 SUSE LLC # Copyright (c) 2018-2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,8 +16,10 @@
# #
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: openssl-ibmca Name: openssl-ibmca
Version: 2.1.1 Version: 2.2.1
Release: 0 Release: 0
Summary: The IBMCA OpenSSL dynamic engine Summary: The IBMCA OpenSSL dynamic engine
License: Apache-2.0 License: Apache-2.0
@ -37,32 +39,27 @@ Requires: openssl
ExclusiveArch: s390x ExclusiveArch: s390x
%description %description
This package contains a shared object OpenSSL dynamic engine for the This package contains a shared object OpenSSL dynamic engine which interfaces
IBM eServer Cryptographic Accelerator (ICA). to libica, a library enabling the IBM s390/x CPACF crypto instructions.
%prep %prep
%autosetup %autosetup
./bootstrap.sh ./bootstrap.sh
%build %build
# The directory where crypto engines are located is owned by the libcrypto package.
# Find out where that is for this version of the distribution.
%define _ENGINE_DIR %(pkg-config --variable=enginesdir libcrypto)
autoreconf --force --install
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export CPPFLAGS="%{optflags}" export CPPFLAGS="%{optflags}"
%configure \ %configure \
--libdir=%{_ENGINE_DIR} --libdir=%{enginesdir}
make %{?_smp_mflags} %make_build
%install %install
# Update the sample config file so that the dynamic path points # Update the sample config file so that the dynamic path points
# to the correct version of the engines directory. # to the correct version of the engines directory.
sed -i -e "/^dynamic_path/s, = .*/, = %{_ENGINE_DIR}/," src/openssl.cnf.sample sed -i -e "/^dynamic_path/s, = .*/, = %{enginesdir}/," src/openssl.cnf.sample
%make_install %make_install
rm %{buildroot}/%{_ENGINE_DIR}/ibmca.la rm %{buildroot}/%{enginesdir}/ibmca.la
%post %post
#Original fix for bsc#942839 was to update on first install #Original fix for bsc#942839 was to update on first install
@ -116,7 +113,12 @@ fi
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%doc src/openssl.cnf.sample %doc src/openssl.cnf.sample
%{_ENGINE_DIR}/ibmca.* %doc src/openssl.cnf.defaultlibica
%doc src/openssl.cnf.libica
%doc src/openssl.cnf.libica-cex
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/openssl.cnf.*
%{enginesdir}/ibmca.*
%{_mandir}/man5/ibmca.5%{?ext_man} %{_mandir}/man5/ibmca.5%{?ext_man}
%changelog %changelog