- reenable optimizations on ppc64

- enable assembly code on ia64
- upgrade to new upstream version (no soname bump needed)
- disable thread test - it was testing the backport of the RSA blinding -
    no longer needed
This commit is contained in:
Tomáš Mráz 2005-03-30 09:14:37 +00:00
parent d551f917f3
commit 632ff532b1
3 changed files with 18 additions and 18 deletions

View File

@ -1,3 +1,3 @@
libica-1.3.5.tar.gz libica-1.3.5.tar.gz
libica-1.3.5-3.tar.gz libica-1.3.5-3.tar.gz
openssl-0.9.7e-usa.tar.bz2 openssl-0.9.7f-usa.tar.bz2

View File

@ -4,11 +4,11 @@
# 0.9.6a soversion = 2 # 0.9.6a soversion = 2
# 0.9.6c soversion = 3 # 0.9.6c soversion = 3
# 0.9.7a soversion = 4 # 0.9.7a soversion = 4
# 0.9.7e soversion = 5 # 0.9.7ef soversion = 5
%define soversion 5 %define soversion 5
# Number of threads to spawn when testing some threading fixes. # Number of threads to spawn when testing some threading fixes.
%define thread_test_threads %{?threads:%{threads}}%{!?threads:1} #%define thread_test_threads %{?threads:%{threads}}%{!?threads:100}
# Arches on which we need to prevent arch conflicts on opensslconf.h, must # Arches on which we need to prevent arch conflicts on opensslconf.h, must
# also be handled in opensslconf-new.h. # also be handled in opensslconf-new.h.
@ -21,8 +21,8 @@
Summary: The OpenSSL toolkit. Summary: The OpenSSL toolkit.
Name: openssl Name: openssl
Version: 0.9.7e Version: 0.9.7f
Release: 3 Release: 1
Source: openssl-%{version}-usa.tar.bz2 Source: openssl-%{version}-usa.tar.bz2
Source1: hobble-openssl Source1: hobble-openssl
Source2: Makefile.certificate Source2: Makefile.certificate
@ -34,23 +34,19 @@ Source7: libica-%{libicaversion}.tar.gz
Source8: openssl-thread-test.c Source8: openssl-thread-test.c
Source9: opensslconf-new.h Source9: opensslconf-new.h
Source10: opensslconf-new-warning.h Source10: opensslconf-new-warning.h
Patch0: openssl-0.9.7e-redhat.patch Patch0: openssl-0.9.7f-redhat.patch
Patch1: openssl-0.9.7-beta5-defaults.patch Patch1: openssl-0.9.7-beta5-defaults.patch
Patch2: openssl-0.9.7-beta6-ia64.patch Patch2: openssl-0.9.7-beta6-ia64.patch
Patch3: openssl-0.9.7e-soversion.patch Patch3: openssl-0.9.7e-soversion.patch
Patch4: openssl-0.9.6-x509.patch Patch4: openssl-0.9.6-x509.patch
Patch5: openssl-0.9.7-beta5-version-add-engines.patch Patch5: openssl-0.9.7-beta5-version-add-engines.patch
Patch6: openssl-0.9.7e-ICA_engine_apr292004.patch Patch6: openssl-0.9.7e-ICA_engine_apr292004.patch
Patch7: openssl-0.9.7-ppc64.patch
Patch10: libica-1.2-struct.patch Patch10: libica-1.2-struct.patch
Patch11: libica-1.2-cleanup.patch Patch11: libica-1.2-cleanup.patch
Patch12: openssl-0.9.7a-libica-autoconf.patch Patch12: openssl-0.9.7a-libica-autoconf.patch
Patch18: openssl-0.9.7a-krb5-1.3.patch Patch18: openssl-0.9.7a-krb5-1.3.patch
Patch22: openssl-0.9.7e-no-der_chop.patch
Patch40: libica-1.3.4-urandom.patch Patch40: libica-1.3.4-urandom.patch
Patch42: openssl-0.9.7e-krb5.patch Patch42: openssl-0.9.7e-krb5.patch
Patch50: openssl-0.9.7e-no-fips.patch
Patch51: openssl-0.9.7e-abi-compat.patch
License: BSDish License: BSDish
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.openssl.org/ URL: http://www.openssl.org/
@ -99,7 +95,6 @@ from other formats to the formats used by the OpenSSL toolkit.
%patch4 -p1 -b .x509 %patch4 -p1 -b .x509
%patch5 -p1 -b .version-add-engines %patch5 -p1 -b .version-add-engines
%patch6 -p1 -b .ibmca %patch6 -p1 -b .ibmca
%patch7 -p1 -b .ppc64
%ifarch s390 s390x %ifarch s390 s390x
pushd libica-%{libicaversion} pushd libica-%{libicaversion}
@ -117,7 +112,6 @@ popd
%patch12 -p1 -b .libica-autoconf %patch12 -p1 -b .libica-autoconf
%patch18 -p1 -b .krb5-1.3 %patch18 -p1 -b .krb5-1.3
%patch22 -p1 -b .no-der_chop
# Patch for libica to use /dev/urandom instead of internal pseudo random number # Patch for libica to use /dev/urandom instead of internal pseudo random number
# generator. # generator.
@ -129,8 +123,6 @@ popd
# Security fixes # Security fixes
# Additional fixes # Additional fixes
%patch50 -p1 -b .no-fips
%patch51 -p1 -b .abi-compat
# Modify the various perl scripts to reference perl in the right location. # Modify the various perl scripts to reference perl in the right location.
perl util/perlpath.pl `dirname %{__perl}` perl util/perlpath.pl `dirname %{__perl}`
@ -165,7 +157,6 @@ sslflags=no-asm
%endif %endif
%ifarch ia64 %ifarch ia64
sslarch=linux-ia64 sslarch=linux-ia64
sslflags=no-asm
%endif %endif
%ifarch alpha %ifarch alpha
sslarch=linux-alpha-gcc sslarch=linux-alpha-gcc
@ -184,7 +175,6 @@ sslarch=linux-ppc
%endif %endif
%ifarch ppc64 %ifarch ppc64
sslarch=linux-ppc64 sslarch=linux-ppc64
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0"
%endif %endif
# Configure the build tree. Override OpenSSL defaults with known-good defaults # Configure the build tree. Override OpenSSL defaults with known-good defaults
# usable on all platforms. The Configure script already knows to use -fPIC and # usable on all platforms. The Configure script already knows to use -fPIC and
@ -217,7 +207,7 @@ make -C test apps tests
libssl.a libcrypto.a \ libssl.a libcrypto.a \
`krb5-config --libs` \ `krb5-config --libs` \
-lpthread -lz -ldl -lpthread -lz -ldl
./openssl-thread-test --threads %{thread_test_threads} #./openssl-thread-test --threads %{thread_test_threads}
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@ -319,6 +309,9 @@ rm -rf $RPM_BUILD_ROOT/%{_mandir}/man1*/*.pl*
rm -rf $RPM_BUILD_ROOT/%{_datadir}/ssl/misc/*.pl rm -rf $RPM_BUILD_ROOT/%{_datadir}/ssl/misc/*.pl
%endif %endif
# Remove fips fingerprint script
rm -rf $RPM_BUILD_ROOT/%{_bindir}/openssl_fips_fingerprint
%ifarch s390 s390x %ifarch s390 s390x
pushd libica-%{libicaversion} pushd libica-%{libicaversion}
if [[ $RPM_BUILD_ROOT ]] ; if [[ $RPM_BUILD_ROOT ]] ;
@ -387,6 +380,13 @@ popd
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%changelog %changelog
* Wed Mar 30 2005 Tomas Mraz <trmaz@redhat.com> 0.9.7f-1
- reenable optimizations on ppc64
- enable assembly code on ia64
- upgrade to new upstream version (no soname bump needed)
- disable thread test - it was testing the backport of the
RSA blinding - no longer needed
* Tue Mar 1 2005 Tomas Mraz <tmraz@redhat.com> 0.9.7e-3 * Tue Mar 1 2005 Tomas Mraz <tmraz@redhat.com> 0.9.7e-3
- libcrypto shouldn't depend on libkrb5 (#135961) - libcrypto shouldn't depend on libkrb5 (#135961)

View File

@ -1,3 +1,3 @@
c8b206aa3ff78d963f81d8ae1fa9c4f4 libica-1.3.5.tar.gz c8b206aa3ff78d963f81d8ae1fa9c4f4 libica-1.3.5.tar.gz
ec395d0e264f756a5fc0a8ecdcc81d8b libica-1.3.5-3.tar.gz ec395d0e264f756a5fc0a8ecdcc81d8b libica-1.3.5-3.tar.gz
16ec659f65cce6961ed481ac1e21d1ee openssl-0.9.7e-usa.tar.bz2 1f93cf2986593d14b2a64983e4e347e3 openssl-0.9.7f-usa.tar.bz2