149 lines
5.0 KiB
RPMSpec
149 lines
5.0 KiB
RPMSpec
Summary: A dynamic OpenSSL engine for IBMCA
|
|
Name: openssl-ibmca
|
|
Version: 1.3.1
|
|
Release: 3%{?dist}
|
|
License: OpenSSL
|
|
Group: System Environment/Libraries
|
|
URL: http://sourceforge.net/projects/opencryptoki
|
|
Source0: http://downloads.sourceforge.net/opencryptoki/%{name}-%{version}.tar.gz
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=584765
|
|
Patch0: openssl-ibmca-1.3.0-libica-soname.patch
|
|
# fix build with OpenSSL 1.1
|
|
# https://sourceforge.net/p/opencryptoki/ibmca/ci/170352452f0a1addb78879dea34a3069314fcda0/
|
|
Patch1: openssl-ibmca-1.3.1-openssl11.patch
|
|
Requires: libica >= 3.0.0
|
|
BuildRequires: libica-devel >= 3.0.0
|
|
BuildRequires: automake libtool
|
|
ExclusiveArch: s390 s390x
|
|
|
|
%global enginesdir %{_libdir}/engines-1.1
|
|
|
|
%description
|
|
A dynamic OpenSSL engine for IBMCA crypto hardware on IBM zSeries machines.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .libica-soname
|
|
%patch1 -p1 -b .openssl11
|
|
|
|
sh ./bootstrap.sh
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libibmca.la
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{enginesdir}
|
|
mv $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{enginesdir}
|
|
|
|
pushd src
|
|
sed -e 's|/usr/local/lib|%{enginesdir}|' openssl.cnf.sample > openssl.cnf.sample.%{_arch}
|
|
popd
|
|
|
|
%files
|
|
%doc INSTALL README src/openssl.cnf.sample.%{_arch}
|
|
%{enginesdir}/libibmca.so
|
|
%{_mandir}/man5/ibmca.5*
|
|
|
|
|
|
%changelog
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Wed Mar 08 2017 Dan Horák <dan@danny.cz> - 1.3.1-1
|
|
- updated to 1.3.1 and OpenSSL 1.1
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Nov 05 2014 Dan Horák <dan@danny.cz> - 1.2.0-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Wed Mar 19 2014 Dan Horák <dan[at]danny.cz - 1.2.0-8
|
|
- Set proper key signature flag (#1075474)
|
|
|
|
* Fri Mar 14 2014 Dan Horák <dan[at]danny.cz - 1.2.0-7
|
|
- Fix multilib conflict in sample config file (#1076423)
|
|
- Fixed message digest length definition in sha256 template (#1074976)
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Apr 20 2012 Dan Horák <dan[at]danny.cz - 1.2.0-3
|
|
- make the libica dependecies versioned
|
|
- fix segfaults in OFB mode (#749638)
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Thu Jul 07 2011 Dan Horák <dan[at]danny.cz - 1.2.0-1
|
|
- update to 1.2.0
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Apr 22 2010 Dan Horák <dhorak@redhat.com> - 1.1-2
|
|
- fixed opening of the libica library (#584765)
|
|
- Resolves: #584765
|
|
|
|
* Thu Mar 4 2010 Dan Horák <dhorak@redhat.com> - 1.1-1
|
|
- rebased to 1.1 instead of patching
|
|
- Resolves: #568847
|
|
|
|
* Thu Feb 18 2010 Dan Horák <dhorak@redhat.com> - 1.0.0-5
|
|
- added patch with port to libica 2.x API
|
|
- Related: #543948
|
|
|
|
* Wed Feb 10 2010 Dan Horák <dhorak@redhat.com> - 1.0.0-4
|
|
- added explicit dependency on libica, because it's dlopened
|
|
- Related: #543948
|
|
|
|
* Tue Jan 12 2010 Dan Horák <dhorak@redhat.com> - 1.0.0-3
|
|
- rebuild
|
|
- Related: #543948
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Jul 9 2009 Dan Horak <dan[at]danny.cz - 1.0.0-1
|
|
- update to final 1.0.0
|
|
- spec file cleanup
|
|
|
|
* Thu Jun 21 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.4
|
|
- Fixed several issues with failure of using ibmca engine (#227644)
|
|
|
|
* Tue Dec 12 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.3
|
|
- Added missing symlinks for libs (#215735)
|
|
- Added samle config file (#215735)
|
|
|
|
* Thu Nov 23 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2-1.el5.2
|
|
- Necessary fix so openssl finds the module properly (#215735)
|
|
|
|
* Thu May 11 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.0rc2
|
|
- Initial package.
|