initial import
This commit is contained in:
parent
0297e4c884
commit
068c7448bd
@ -0,0 +1 @@
|
||||
openssl-ibmca-1.0.0.tar.bz2
|
12
openssl-ibmca-1.0.0-make.patch
Normal file
12
openssl-ibmca-1.0.0-make.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- openssl-ibmca-1.0.0/Makefile.am.make 2007-01-23 14:33:32.000000000 -0500
|
||||
+++ openssl-ibmca-1.0.0/Makefile.am 2009-07-09 15:44:06.000000000 -0400
|
||||
@@ -1,7 +1,6 @@
|
||||
lib_LTLIBRARIES=libibmca.la
|
||||
|
||||
-libibmca_la_LIBADD=@OPENSSL_LIB_DIR@/libcrypto.a
|
||||
-libibmca_la_LDFLAGS=-lc
|
||||
libibmca_la_CFLAGS=-I@OPENSSL_INCLUDE_DIR@
|
||||
-AM_CFLAGS=-I@OPENSSL_INCLUDE_DIR@
|
||||
libibmca_la_SOURCES=e_ibmca.c e_ibmca.h e_ibmca_err.c
|
||||
+libibmca_la_LDFLAGS=-module -version-info 0:1:0 -shared -no-undefined -avoid-version
|
||||
+libibmca_la_LIBADD=-L@OPENSSL_LIB_DIR@ -lcrypto
|
63
openssl-ibmca.spec
Normal file
63
openssl-ibmca.spec
Normal file
@ -0,0 +1,63 @@
|
||||
Summary: A dynamic OpenSSL engine for IBMCA
|
||||
Name: openssl-ibmca
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
License: OpenSSL
|
||||
Group: System Environment/Libraries
|
||||
URL: http://sourceforge.net/projects/opencryptoki
|
||||
Source0: http://downloads.sourceforge.net/opencryptoki/%{name}-%{version}.tar.bz2
|
||||
Patch0: openssl-ibmca-1.0.0-make.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: openssl >= 0.9.8
|
||||
BuildRequires: libica-devel automake libtool
|
||||
ExclusiveArch: s390 s390x
|
||||
|
||||
%description
|
||||
A dynamic OpenSSL engine for IBMCA crypto hardware on IBM zSeries machines.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .make
|
||||
autoreconf -i -f
|
||||
|
||||
|
||||
%build
|
||||
%configure --with-openssl=%{_prefix} --with-engines-dir=%{_libdir}/openssl/engines
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/openssl/engines/libibmca.la
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README openssl.cnf.sample
|
||||
%{_libdir}/openssl/engines/libibmca.so
|
||||
|
||||
|
||||
%changelog
|
||||
* 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.
|
Loading…
Reference in New Issue
Block a user