9560c98
%global modulesdir %%(pkg-config --variable=modulesdir libcrypto)
32d8188
a5b4e6a
Summary: OpenSSL provider for IBMCA
068c744
Name: openssl-ibmca
d585b50
Version: 2.4.1
7d97e80
Release: 3%{?dist}
d9ec41d
License: Apache-2.0
56532cb
URL: https://github.com/opencryptoki
0c944ba
Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
6a7e58c
# post GA fixes
d89c4ad
Patch0: %{name}-%{version}-fixes.patch
333e3d9
Requires: libica >= 4.0.0
849ad4e
BuildRequires: make
5fc820d
BuildRequires: gcc
333e3d9
BuildRequires: libica-devel >= 4.0.0
379d500
BuildRequires: automake libtool
9560c98
BuildRequires: openssl >= 3.0.5
32d8188
BuildRequires: perl(FindBin)
068c744
ExclusiveArch: s390 s390x
068c744
3f72715
068c744
%description
a5b4e6a
A dynamic OpenSSL provider for IBMCA crypto hardware on IBM Z machines
a5b4e6a
to accelerate cryptographic operations.
068c744
068c744
068c744
%prep
0c944ba
%autosetup -p1
545c9ce
0c944ba
./bootstrap.sh
068c744
068c744
068c744
%build
9560c98
%configure --disable-engine --enable-provider --libdir=%{modulesdir} --with-libica-cex --with-libica-version=4
6482000
%make_build
068c744
068c744
068c744
%install
0c944ba
%make_install
9560c98
rm -f %{buildroot}%{modulesdir}/*.la
068c744
6a686d2
# remove generated sample configs
6a686d2
rm -rf %{buildroot}%{_datadir}/%{name}
6a686d2
0c944ba
bd4eb5f
%check
bd4eb5f
make check
bd4eb5f
bd4eb5f
068c744
%files
0c944ba
%license LICENSE
9560c98
%doc ChangeLog README.md
32d8188
%doc src/provider/ibmca-provider-opensslconfig
32d8188
%{modulesdir}/ibmca-provider.so
32d8188
%{_mandir}/man5/ibmca-provider.5*
068c744
068c744
068c744
%changelog
7d97e80
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-3
7d97e80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7d97e80
caf2767
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
caf2767
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
caf2767
d585b50
* Thu Sep 21 2023 Dan Horák <dan@danny.cz> - 2.4.1-1
d585b50
- updated to 2.4.1
d585b50
9417d8a
* Thu Jul 27 2023 Dan Horák <dan@danny.cz> - 2.4.0-5
9417d8a
- switch to upstream fix for logging into /tmp
9417d8a
76acc02
* Wed Jul 26 2023 Dan Horák <dan@danny.cz> - 2.4.0-4
76acc02
- one more fix
76acc02
d89c4ad
* Wed Jul 26 2023 Dan Horák <dan@danny.cz> - 2.4.0-3
d89c4ad
- add post GA fixes
d89c4ad
- let provider log into /tmp
d89c4ad
1d51afc
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
1d51afc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1d51afc
d9ec41d
* Tue Apr 04 2023 Dan Horák <dan@danny.cz> - 2.4.0-1
d9ec41d
- updated to 2.4.0
d9ec41d
5148fb7
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
5148fb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
5148fb7
6a7e58c
* Fri Jan 13 2023 Dan Horák <dan@danny.cz> - 2.3.1-4
6a7e58c
- add post GA fixes
6a7e58c
9560c98
* Fri Jan 06 2023 Dan Horák <dan@danny.cz> - 2.3.1-3
9560c98
- switch to building only the provider
9560c98
f46f943
* Fri Sep 30 2022 Dan Horák <dan@danny.cz> - 2.3.1-1
f46f943
- updated to 2.3.1
f46f943
6f6c6e4
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
6f6c6e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
6f6c6e4
32d8188
* Thu May 19 2022 Dan Horák <dan@danny.cz> - 2.3.0-1
32d8188
- updated to 2.3.0
32d8188
780e52e
* Mon Mar 21 2022 Dan Horák <dan@danny.cz> - 2.2.3-1
780e52e
- updated to 2.2.3
780e52e
333e3d9
* Mon Jan 31 2022 Dan Horák <dan@danny.cz> - 2.2.2-1
333e3d9
- updated to 2.2.2
333e3d9
a3f077d
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
a3f077d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a3f077d
c75dc75
* Tue Sep 14 2021 Dan Horák <dan@danny.cz> - 2.2.1-1
c75dc75
- updated to 2.2.1
c75dc75
0df3225
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
0df3225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0df3225
6a686d2
* Fri Jun 04 2021 Dan Horák <dan@danny.cz> - 2.2.0-1
6a686d2
- updated to 2.2.0
6a686d2
66b167d
* Wed May 12 2021 Dan Horák <dan@danny.cz> - 2.1.2-1
66b167d
- updated to 2.1.2
66b167d
3a9c79b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
3a9c79b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3a9c79b
3d72120
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
3d72120
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3d72120
5298280
* Tue May 12 2020 Dan Horák <dan@danny.cz> - 2.1.1-1
5298280
- updated to 2.1.1
5298280
5428bbc
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
5428bbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5428bbc
e85e068
* Mon Sep 09 2019 Dan Horák <dan@danny.cz> - 2.1.0-1
e85e068
- updated to 2.1.0
e85e068
ec92a84
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
ec92a84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ec92a84
4c0b8ed
* Wed Apr 24 2019 Dan Horák <dan@danny.cz> - 2.0.3-1
4c0b8ed
- updated to 2.0.3
4c0b8ed
2654845
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
2654845
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2654845
0925339
* Thu Dec 13 2018 Dan Horák <dan@danny.cz> - 2.0.2-1
0925339
- updated to 2.0.2
0925339
bd4eb5f
* Thu Aug 23 2018 Dan Horák <dan@danny.cz> - 2.0.0-3
bd4eb5f
- run upstream test-suite during build
bd4eb5f
55ef141
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
55ef141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
55ef141
a886699
* Mon Jun 18 2018 Dan Horák <dan@danny.cz> - 2.0.0-1
a886699
- updated to 2.0.0
a886699
428a6c6
* Fri Feb 23 2018 Dan Horák <dan@danny.cz> - 1.4.1-1
428a6c6
- updated to 1.4.1
428a6c6
2533a89
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
2533a89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2533a89
0c944ba
* Wed Jan 24 2018 Dan Horák <dan@danny.cz> - 1.4.0-2
0c944ba
- update engine filename
0c944ba
- spec cleanup
0c944ba
56532cb
* Mon Sep 11 2017 Dan Horák <dan@danny.cz> - 1.4.0-1
56532cb
- updated to 1.4.0
56532cb
4a9640f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
4a9640f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4a9640f
b6e8f62
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
b6e8f62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b6e8f62
3f72715
* Wed Mar 08 2017 Dan Horák <dan@danny.cz> - 1.3.1-1
3f72715
- updated to 1.3.1 and OpenSSL 1.1
3f72715
61bdb3c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-13
61bdb3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
61bdb3c
5053c8c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-12
5053c8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5053c8c
0559a80
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-11
0559a80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0559a80
7f97afe
* Wed Nov 05 2014 Dan Horák <dan@danny.cz> - 1.2.0-10
7f97afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7f97afe
9a17912
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-9
9a17912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9a17912
3194a86
* Wed Mar 19 2014 Dan Horák 
3194a86
- Set proper key signature flag (#1075474)
3194a86
49f50c0
* Fri Mar 14 2014 Dan Horák 
49f50c0
- Fix multilib conflict in sample config file (#1076423)
49f50c0
- Fixed message digest length definition in sha256 template (#1074976)
49f50c0
8fec962
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
8fec962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8fec962
4b581e1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
4b581e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4b581e1
44feb4c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
44feb4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
44feb4c
379d500
* Fri Apr 20 2012 Dan Horák 
379d500
- make the libica dependecies versioned
379d500
- fix segfaults in OFB mode (#749638)
379d500
bb331b8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
bb331b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bb331b8
b01b482
* Thu Jul 07 2011 Dan Horák 
b01b482
- update to 1.2.0
b01b482
1ec3222
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
1ec3222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1ec3222
545c9ce
* Thu Apr 22 2010 Dan Horák <dhorak@redhat.com> - 1.1-2
545c9ce
- fixed opening of the libica library (#584765)
545c9ce
- Resolves: #584765
545c9ce
545c9ce
* Thu Mar  4 2010 Dan Horák <dhorak@redhat.com> - 1.1-1
545c9ce
- rebased to 1.1 instead of patching
545c9ce
- Resolves: #568847
545c9ce
545c9ce
* Thu Feb 18 2010 Dan Horák <dhorak@redhat.com> - 1.0.0-5
545c9ce
- added patch with port to libica 2.x API
545c9ce
- Related: #543948
545c9ce
545c9ce
* Wed Feb 10 2010 Dan Horák <dhorak@redhat.com> - 1.0.0-4
545c9ce
- added explicit dependency on libica, because it's dlopened
545c9ce
- Related: #543948
545c9ce
545c9ce
* Tue Jan 12 2010 Dan Horák <dhorak@redhat.com> - 1.0.0-3
545c9ce
- rebuild
545c9ce
- Related: #543948
545c9ce
2884502
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
2884502
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2884502
068c744
* Thu Jul  9 2009 Dan Horak 
068c744
- update to final 1.0.0
068c744
- spec file cleanup
068c744
068c744
* Thu Jun 21 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.4
068c744
- Fixed several issues with failure of using ibmca engine (#227644)
068c744
068c744
* Tue Dec 12 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.3
068c744
- Added missing symlinks for libs (#215735)
068c744
- Added samle config file (#215735)
068c744
068c744
* Thu Nov 23 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.2
068c744
- Necessary fix so openssl finds the module properly (#215735)
068c744
068c744
* Thu May 11 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2
068c744
- Initial package.