pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl when building with SunPro on x86, do ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acc66fc7a8c5
branches:  trunk
changeset: 487652:acc66fc7a8c5
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Jan 18 10:25:17 2005 +0000

description:
when building with SunPro on x86, do not use -fast argument to cc(1)
because:

- its behaviour changes between releases
- it uses build-host specific instructions where possible,
  specifically on >= Solaris 9 update 6 and Sun Studio 9 (sse, sse2)

this breaks using the binary pkg when installed on systems with a
less capable processor. instead, just use -xO5 so the binary pkg will
work everywhere.

diffstat:

 security/openssl/distinfo         |   4 ++--
 security/openssl/patches/patch-ac |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 460f261f039d -r acc66fc7a8c5 security/openssl/distinfo
--- a/security/openssl/distinfo Tue Jan 18 09:30:32 2005 +0000
+++ b/security/openssl/distinfo Tue Jan 18 10:25:17 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.41 2005/01/13 18:33:48 jlam Exp $
+$NetBSD: distinfo,v 1.42 2005/01/18 10:25:17 grant Exp $
 
 SHA1 (openssl-0.9.7e.tar.gz) = b2eb7f13cc09655ec2378c3dde3025bf7072af54
 Size (openssl-0.9.7e.tar.gz) = 3043231 bytes
 SHA1 (patch-aa) = 5ab4ec9fdf15c9ded6a6205dc4801e053b3769fc
-SHA1 (patch-ac) = e8e4802c2773f0c54886032f3c8438d2af3ad05b
+SHA1 (patch-ac) = f470b63fe24795cb7bbb566262e8ae0b32404a05
 SHA1 (patch-ad) = 3d0a5534c6946aeda219d670f241a01e72d86c6a
 SHA1 (patch-ae) = cb3ce622ef9efc4098d57b10059e5424272520c8
 SHA1 (patch-af) = 6e1c0f674be9b0358b1e152b50eb5bc47f2fff17
diff -r 460f261f039d -r acc66fc7a8c5 security/openssl/patches/patch-ac
--- a/security/openssl/patches/patch-ac Tue Jan 18 09:30:32 2005 +0000
+++ b/security/openssl/patches/patch-ac Tue Jan 18 10:25:17 2005 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-ac,v 1.25 2005/01/13 18:33:48 jlam Exp $
+$NetBSD: patch-ac,v 1.26 2005/01/18 10:25:17 grant Exp $
 
---- Configure.orig     Fri Oct  1 07:34:28 2004
+--- Configure.orig     2004-10-01 21:34:28.000000000 +1000
 +++ Configure
+@@ -171,7 +171,7 @@ my %table=(
+ "solaris-x86-gcc","gcc:-O3 -fomit-frame-pointer -m486 -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG ${x86_gcc_des} 
${x86_gcc_opts}:${x86_elf_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ 
+ #### Solaris x86 with Sun C setups
+-"solaris-x86-cc","cc:-fast -O -Xa::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"solaris-x86-cc","cc:-xO5 -Xa::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ 
+ #### SPARC Solaris with GNU C setups
+ "solaris-sparcv7-gcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL 
BF_PTR::::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 @@ -400,9 +400,23 @@ my %table=(
  "linux-ia64",   "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK 
RC4_CHAR:asm/ia64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
  "linux-ia64-ecc",   "ecc:-DL_ENDIAN -DTERMIO -O2 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",



Home | Main Index | Thread Index | Old Index