[Pkg-openssl-devel] Bug#560240: openssl: support for sparc64

Aurelien Jarno aurel32 at debian.org
Wed Dec 9 21:58:31 UTC 2009


Package: openssl
Version: 0.9.8k-7
Severity: normal
Tags: patch
User: debian-sparc at lists.debian.org
Usertags: sparc64

openssl fails to build on SPARC64, due to a missing debian specific 
target for this architecture. Please find a patch below to add it. With
it openssl successfully builds and pass the testsuites.

Can you please add it in the next upload? Thanks in advance.

diff -u openssl-0.9.8k/debian/patches/debian-targets.patch openssl-0.9.8k/debian/patches/debian-targets.patch
--- openssl-0.9.8k/debian/patches/debian-targets.patch
+++ openssl-0.9.8k/debian/patches/debian-targets.patch
@@ -1,8 +1,8 @@
 Index: openssl-0.9.8k/Configure
 ===================================================================
---- openssl-0.9.8k.orig/Configure	2009-02-16 09:44:22.000000000 +0100
-+++ openssl-0.9.8k/Configure	2009-07-19 11:37:38.000000000 +0200
-@@ -320,6 +320,48 @@
+--- openssl-0.9.8k.orig/Configure	2009-12-09 16:09:41.000000000 +0000
++++ openssl-0.9.8k/Configure	2009-12-09 16:09:55.000000000 +0000
+@@ -320,6 +320,49 @@
  "osf1-alpha-cc",  "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared:::.so",
  "tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared::-msym:.so",
  
@@ -47,6 +47,7 @@
 +"debian-sparc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 +"debian-sparc-v8","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -mcpu=v8 -g -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 +"debian-sparc-v9","gcc:-DB_ENDIAN -DTERMIO -O3 -mcpu=v9 -Wa,--noexecstack -Wa,-Av8plus -g -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"debian-sparc64","gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:::des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 +
  ####
  #### Variety of LINUX:-)

-- System Information:
Debian Release: squeeze/testing
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc64

Kernel: Linux 2.6.26-2-sparc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-openssl-devel mailing list