forked from pool/openssl-ibmca
89 lines
2.3 KiB
RPMSpec
89 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package openssl-ibmca (Version 1.0.0)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: openssl-ibmca
|
|
BuildRequires: libica openssl-devel
|
|
Summary: The IBMCA OpenSSL dynamic engine
|
|
Version: 1.0.0
|
|
Release: 34
|
|
License: IBM Public License
|
|
Group: Hardware/Other
|
|
Source: openssl-ibmca-1.0.0-rc2.tar.bz2
|
|
Patch: ibmca-configure.patch
|
|
Patch1: openssl-ibmca-README.patch
|
|
Patch2: ibmca-segfault.fix.patch
|
|
Patch3: ibmca-sw-fix.patch
|
|
Patch4: openssl-ibmca-1.0.0.rc2-memset-fix.patch
|
|
URL: http://sourceforge.net/projects/opencryptoki
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: %fillup_prereq %insserv_prereq
|
|
Requires: openssl libica
|
|
%define ibmca_64bit_arch s390x ppc64
|
|
%define ibmca_32bit_arch %ix86 s390 ppc %arm
|
|
ExclusiveArch: %ibmca_32bit_arch %ibmca_64bit_arch
|
|
|
|
%description
|
|
This package contains a shared object OpenSSL dynamic engine for the
|
|
IBM eServer Cryptographic Accelerator (ICA).
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Mike Halcrow <mhalcrow@us.ibm.com>
|
|
|
|
%prep
|
|
%setup -n openssl-ibmca-1.0.0-rc2
|
|
%patch -p1
|
|
%patch1
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
|
|
%build
|
|
autoreconf --force --install
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
export CPPFLAGS="$RPM_OPT_FLAGS"
|
|
./configure --with-engines-dir=%_libdir/engines --libdir=%_libdir/engines
|
|
make
|
|
|
|
%install
|
|
%makeinstall
|
|
(cd $RPM_BUILD_ROOT; libtool --finish %_libdir/engines)
|
|
rm ${RPM_BUILD_ROOT}%{_libdir}/engines/libibmca.la
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc README
|
|
%doc openssl.cnf.sample
|
|
%{_libdir}/engines/libibmca.*
|
|
|
|
%changelog -n openssl-ibmca
|
|
* Tue Feb 13 2007 - uli@suse.de
|
|
- added fixes by IBM (bug #243801):
|
|
ibmca-segfault.fix: rewrite ibmca_mod_expto remove improper use of BIGNUM
|
|
object
|
|
ibmca-sw-fix: rewrite ibmca_mod_exp_crtto remove improper use of BIGNUM
|
|
object
|
|
openssl-ibmca-1.0.0.rc2-memset-fix.patch: fix memory initialization problem
|
|
* Mon Jun 19 2006 - uli@suse.de
|
|
- updated README (bug #185508)
|
|
* Tue Mar 28 2006 - hare@suse.de
|
|
- Fixed configure.in to build correctly
|
|
- Fixed spec file
|
|
- Initial version from Mike Halcrow
|