2007-01-16 00:28:17 +01:00
|
|
|
#
|
|
|
|
# spec file for package openssl-ibmca (Version 1.0.0)
|
|
|
|
#
|
2008-04-10 15:18:46 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:28:17 +01:00
|
|
|
# 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
|
|
|
|
|
2008-04-10 15:18:46 +02:00
|
|
|
|
2007-01-16 00:28:17 +01:00
|
|
|
Name: openssl-ibmca
|
|
|
|
BuildRequires: libica openssl-devel
|
|
|
|
Summary: The IBMCA OpenSSL dynamic engine
|
|
|
|
Version: 1.0.0
|
2008-04-10 15:18:46 +02:00
|
|
|
Release: 103
|
2007-01-16 00:28:17 +01:00
|
|
|
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
|
2007-02-13 14:31:49 +01:00
|
|
|
Patch2: ibmca-segfault.fix.patch
|
|
|
|
Patch3: ibmca-sw-fix.patch
|
|
|
|
Patch4: openssl-ibmca-1.0.0.rc2-memset-fix.patch
|
2008-04-10 15:18:46 +02:00
|
|
|
Url: http://sourceforge.net/projects/opencryptoki
|
2007-01-16 00:28:17 +01:00
|
|
|
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
|
2008-04-10 15:18:46 +02:00
|
|
|
ExclusiveArch: %ibmca_32bit_arch %ibmca_64bit_arch
|
2007-01-16 00:28:17 +01:00
|
|
|
|
|
|
|
%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
|
2007-02-13 14:31:49 +01:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
2007-01-16 00:28:17 +01:00
|
|
|
|
|
|
|
%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.*
|
|
|
|
|
2008-04-10 15:18:46 +02:00
|
|
|
%changelog
|
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Tue Feb 13 2007 uli@suse.de
|
2007-02-13 14:31:49 +01:00
|
|
|
- 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
|
2008-04-10 15:18:46 +02:00
|
|
|
* Mon Jun 19 2006 uli@suse.de
|
2007-01-16 00:28:17 +01:00
|
|
|
- updated README (bug #185508)
|
2008-04-10 15:18:46 +02:00
|
|
|
* Tue Mar 28 2006 hare@suse.de
|
2007-01-16 00:28:17 +01:00
|
|
|
- Fixed configure.in to build correctly
|
|
|
|
- Fixed spec file
|
|
|
|
- Initial version from Mike Halcrow
|