I just downloaded 0.9.6a and these patches where not included. Just curious as
if they will get included or is something wrong with them?

Quoting Bob Tanner ([EMAIL PROTECTED]):
> Quoting Andy Polyakov ([EMAIL PROTECTED]):
> > > %ifarch sparc sparc64
> > > ./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-sparcv9 shared
> > > %endif
> > 
> > Should at least look like following:
> > 
> > %ifarch sparc
> > ./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-sparcv7 shared
> > %endif
> > %ifarch sparc64
> > ./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-sparcv9 shared
> > %endif
> 
> Ok, here are some patches that get everything to build right under Sparc Linux.
> 
> There is a patch for linux-sparcv9 and linux-sparcv7. I tested v9 on an ULTRA2
> and v7 on sparc20.
> 
> Also include a small patch to the .spec file run configure correctly for these
> platforms.
> 
> 

> --- openssl-0.9.6/Configure   Fri Mar 30 16:29:15 2001
> +++ openssl-0.9.6.rte/Configure       Fri Mar 30 14:30:23 2001
> @@ -155,7 +155,7 @@
>  "debug-solaris-sparcv9-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG 
>-DCRYPTO_MDEBUG_ALL -xtarget=ultra -xarch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN 
>-DBN_DIV2W -DULTRASPARC::-D_REENTRANT:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR 
>RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL 
>BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:solaris-shared:-KPIC",
>  
>  #### SPARC Linux setups
> -"linux-sparcv7","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer 
>-Wall::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::",
> +"linux-sparcv7","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer 
>-Wall::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL 
>BF_PTR:::::::::::linux-shared:-fPIC:+.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>  # Ray Miller <[EMAIL PROTECTED]> has patiently
>  # assisted with debugging of following two configs.
>  "linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall 
>-DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL 
>BF_PTR:asm/sparcv8.o::::",

> --- openssl-0.9.6/Configure   Fri Mar 30 12:58:15 2001
> +++ openssl-0.9.6.orig/Configure      Fri Mar 30 12:42:22 2001
> @@ -161,7 +161,7 @@
>  "linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall 
>-DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL 
>BF_PTR:asm/sparcv8.o::::",
>  # it's a real mess with -mcpu=ultrasparc option under Linux, but
>  # -Wa,-Av8plus should do the trick no matter what.
> -"linux-sparcv9","gcc:-mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer 
>-Wall -Wa,-Av8plus -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK 
>DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o:",
> +"linux-sparcv9","gcc:-mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer 
>-Wall -Wa,-Av8plus -DULTRASPARC ::-D_REENTRANT::BN_LLONG RC4_CHAR RC4_CHUNK 
>DES_UNROLL 
>BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:linux-shared:-fPIC:+.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>  # !!!Folowing can't be even tested yet!!!
>  #    We have to wait till 64-bit glibc for SPARC is operational!!!
>  #"linux64-sparcv9","sparc64-linux-gcc:-m64 -mcpu=v9 -DB_ENDIAN -DTERMIO -O3 
>-fomit-frame-pointer -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::BN_LLONG RC4_CHAR 
>RC4_CHUNK DES_UNROLL BF_PTR::::asm/md5-sparcv9.o:",

> --- openssl-0.9.6/openssl.spec        Sun Sep 24 10:27:39 2000
> +++ ../SPECS/openssl.spec     Fri Mar 30 13:02:50 2001
> @@ -2,7 +2,7 @@
>  %define libmin 9
>  %define librel 6
>  #%define librev 
> -Release: 1
> +Release: 1_rte_2
>  
>  %define openssldir /var/ssl
>  
> @@ -11,6 +11,7 @@
>  Version: %{libmaj}.%{libmin}.%{librel}
>  #Version: %{libmaj}.%{libmin}.%{librel}%{librev}
>  Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
> +Patch0: openssl-0.9.6-linux-sparcv9.patch
>  Copyright: Freely distributable
>  Group: System Environment/Libraries
>  Provides: SSL
> @@ -80,7 +81,7 @@
>  %prep
>  
>  %setup -q
> -
> +%patch0 -p1 -b .linux-sparcv9
>  %build 
>  
>  %define CONFIG_FLAGS -DSSL_ALLOW_ADH --prefix=/usr 
> @@ -96,6 +97,13 @@
>  %ifarch alpha
>  ./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-alpha shared
>  %endif
> +%ifarch sparc
> +./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-sparcv7 shared
> +%endif
> +%ifarch sparc64
> +./Configure %{CONFIG_FLAGS} --openssldir=%{openssldir} linux-sparcv9 shared
> +%endif
> +
>  LD_LIBRARY_PATH=`pwd` make
>  LD_LIBRARY_PATH=`pwd` make rehash
>  LD_LIBRARY_PATH=`pwd` make test
> @@ -166,6 +174,8 @@
>  ldconfig
>  
>  %changelog
> +* Fri Mar 30 2001 Bob Tanner <[EMAIL PROTECTED]>
> +- Small patch fix share-library build under sparc-linux
>  * Thu Sep 14 2000 Richard Levitte <[EMAIL PROTECTED]>
>  - Changed to adapt to the new (supported) way of making shared libraries
>  - Installs all static libraries, not just libRSAglue.a




-- 
Bob Tanner <[EMAIL PROTECTED]>       | Phone : (952)943-8700
http://www.mn-linux.org                 | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to