summaryrefslogtreecommitdiffstats
path: root/security/openssl-beta/files
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-08-09 18:48:15 +0000
committerdirk <dirk@FreeBSD.org>1999-08-09 18:48:15 +0000
commitab38f5e85e4612b9ba37ba3eae13ea452a95dc27 (patch)
tree63ce1326d95b2ea0c762fd61a78dc83411d14460 /security/openssl-beta/files
parentafe019f8a054ed058a75bc7d76e2d061798b5d34 (diff)
downloadFreeBSD-ports-ab38f5e85e4612b9ba37ba3eae13ea452a95dc27.zip
FreeBSD-ports-ab38f5e85e4612b9ba37ba3eae13ea452a95dc27.tar.gz
Upgrade to 0.9.4.
Diffstat (limited to 'security/openssl-beta/files')
-rw-r--r--security/openssl-beta/files/patch-ac42
-rw-r--r--security/openssl-beta/files/patch-ah89
2 files changed, 62 insertions, 69 deletions
diff --git a/security/openssl-beta/files/patch-ac b/security/openssl-beta/files/patch-ac
index 5a2e1ec..00f9f5b 100644
--- a/security/openssl-beta/files/patch-ac
+++ b/security/openssl-beta/files/patch-ac
@@ -1,26 +1,26 @@
---- Configure.orig Sun May 23 18:29:07 1999
-+++ Configure Fri May 28 22:03:00 1999
-@@ -156,7 +156,7 @@
- "alpha-gcc","gcc:-O3:(unknown)::SIXTY_FOUR_BIT_LONG DES_UNROLL DES_RISC1:::",
- "alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings:(unknown)::SIXTY_FOUR_BIT_LONG:::",
- "alpha164-cc", "cc:-std1 -tune host -fast -readonly_strings:(unknown)::SIXTY_FOUR_BIT_LONG:::",
--"FreeBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer:(unknown)::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:::",
-+"FreeBSD-alpha","$ENV{CC}:-DTERMIOS $ENV{CFLAGS}:(unknown)::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:::",
+--- Configure.orig Sun Aug 8 13:56:29 1999
++++ Configure Mon Aug 9 20:25:48 1999
+@@ -193,7 +193,7 @@
+ "alpha-gcc","gcc:-O3::(unknown)::SIXTY_FOUR_BIT_LONG DES_UNROLL DES_RISC1:::",
+ "alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG:::",
+ "alpha164-cc", "cc:-std1 -tune host -fast -readonly_strings::(unknown)::SIXTY_FOUR_BIT_LONG:::",
+-"FreeBSD-alpha","gcc:-DTERMIOS -O3 -fomit-frame-pointer::(unknown)::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:::",
++"FreeBSD-alpha","$ENV{CC}:-DTERMIOS $ENV{CFLAGS}::(unknown)::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:::",
# assembler versions -- currently defunct:
- ##"alpha-gcc","gcc:-O3:(unknown)::SIXTY_FOUR_BIT_LONG DES_UNROLL DES_RISC1:asm/alpha.o::",
-@@ -175,8 +175,8 @@
- "NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN:(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
- "NetBSD-x86", "gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -m486 -Wall:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
- #"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
--"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
--"FreeBSD-elf", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
-+"FreeBSD", "$ENV{CC}:-DTERMIOS -DL_ENDIAN $ENV{CFLAGS}:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
-+"FreeBSD-elf", "$ENV{CC}:-DTERMIOS -DL_ENDIAN $ENV{CFLAGS}:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
- "bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486:(unknown)::RSA_LLONG $x86_gcc_des $x86_gcc_opts:$x86_bsdi_asm",
- "nextstep", "cc:-O3 -Wall:(unknown)::BN_LLONG $x86_gcc_des ${x86_gcc_opts}:::",
- # NCR MP-RAS UNIX ver 02.03.01
-@@ -293,7 +293,7 @@
+ ##"alpha-gcc","gcc:-O3::(unknown)::SIXTY_FOUR_BIT_LONG DES_UNROLL DES_RISC1:asm/alpha.o::",
+@@ -211,8 +211,8 @@
+ "NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
+ "NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
+ "NetBSD-x86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
+-"FreeBSD-elf", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
+-"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
++"FreeBSD-elf", "$ENV{CC}:-DTERMIOS -DL_ENDIAN $ENV{CFLAGS}::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
++"FreeBSD", "$ENV{CC}:-DTERMIOS -DL_ENDIAN $ENV{CFLAGS}::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
+ "bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown)::RSA_LLONG $x86_gcc_des $x86_gcc_opts:$x86_bsdi_asm",
+ "bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
+ "nextstep", "cc:-O -Wall:<libc.h>:(unknown)::BN_LLONG $x86_gcc_des ${x86_gcc_opts}:::",
+@@ -337,7 +337,7 @@
my $perl;
$ranlib=&which("ranlib") or $ranlib="true";
diff --git a/security/openssl-beta/files/patch-ah b/security/openssl-beta/files/patch-ah
index 09704c4..4d54b18 100644
--- a/security/openssl-beta/files/patch-ah
+++ b/security/openssl-beta/files/patch-ah
@@ -1,71 +1,64 @@
---- config.orig Sun May 23 18:04:11 1999
-+++ config Fri May 28 18:45:26 1999
-@@ -122,23 +122,12 @@
- echo "${MACHINE}-whatever-bsdi"; exit 0
- ;;
-
-- FreeBSD:3*:*:*)
-- echo "${MACHINE}-whatever-freebsd3"; exit 0
-- ;;
--
-- FreeBSD:*:*:*386*)
-- case `sysctl -n hw.model` in
-- Pentium*)
-- echo "i586-whatever-freebsd"; exit 0
-- ;;
-- *)
-- echo "i386-whatever-freebsd"; exit 0
-- ;;
-- esac;
-+ FreeBSD:[12]*:*:*)
-+ echo "${MACHINE}-whatever-freebsd"; exit 0
- ;;
-
- FreeBSD:*)
-- echo "${MACHINE}-whatever-freebsd"; exit 0
-+ echo "${MACHINE}-whatever-freebsd3"; exit 0
- ;;
-
- NetBSD:*:*:*386*)
-@@ -276,23 +265,6 @@
+--- config.orig Mon Aug 9 12:16:51 1999
++++ config Mon Aug 9 20:30:08 1999
+@@ -297,40 +297,6 @@
esac
done
-# figure out if gcc is available and if so we use it otherwise
-# we fallback to whatever cc does on the system
--GCCVER=`(gcc -v) 2>&1`
--if [ $? = "0" ]; then
+-GCCVER=`(gcc --version) 2>/dev/null`
+-if [ "$GCCVER" != "" ]; then
- CC=gcc
+- # then strip off whatever prefix Cygnus prepends the number with...
+- GCCVER=`echo $GCCVER | sed 's/^[a-z]*\-//'`
+- # peak single digit before and after first dot, e.g. 2.95.1 gives 29
+- GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
-else
- CC=cc
-- if [ "$SYSTEM" = "SunOS" ]
-- then
-- case `cc -V 2>&1` in
-- *4*) CC=cc;;
-- *5*) CC=cc;;
-- *) CC=sc3;;
-- esac
+-fi
+-
+-if [ "$SYSTEM" = "SunOS" ]; then
+- # assume output is "blah-blah C x.x"
+- CCVER=`(cc -V 2>&1) 2>/dev/null | \
+- egrep -e '^cc: .* C [0-9]\.[0-9]' | \
+- sed 's/.* C \([0-9]\)\.\([0-9]\).*/\1\2/'`
+- CCVER=${CCVER:-0}
+- if [ $CCVER -gt 40 ]; then
+- CC=cc # overrides gcc!!!
+- if [ $CCVER -eq 50 ]; then
+- echo "WARNING! Detected WorkShop C 5.0. Do make sure you have"
+- echo " patch #107357-01 or later applied."
+- sleep 5
+- fi
+- elif [ "$CC" = "cc" -a $CCVER -gt 0 ]; then
+- CC=sc3
- fi
-fi
-
+-GCCVER=${GCCVER:-0}
+-CCVER=${CCVER:-0}
+-
# read the output of the embedded GuessOS
read GUESSOS
-@@ -331,18 +303,6 @@
+@@ -423,21 +389,6 @@
# *-dgux) OUT="dgux" ;;
*) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
esac
-
-# gcc < 2.8 does not support -mcpu=ultrasparc
--if [ "$OUT" = solaris-usparc-gcc ]
+-if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
+-then
+- echo "WARNING! Do consider upgrading to gcc-2.8 or later."
+- sleep 5
+- OUT=solaris-sparcv9-gcc27
+-fi
+-if [ "$OUT" = "linux-sparcv9" -a $GCCVER -lt 28 ]
-then
-- GCCVERMAJOR="`echo $GCCVER | sed 's/.*version \([^.]*\).*/\1/`"
-- GCCVERMINOR="`echo $GCCVER | sed 's/.*version[^.]*\.\([^.]*\).*/\1/`"
-- echo "gcc version $GCCVERMAJOR.$GCCVERMINOR.x"
-- if [ $GCCVERMAJOR$GCCVERMINOR -lt 28 ]
-- then
-- OUT=solaris-usparc-oldgcc
-- fi
+- echo "WARNING! Falling down to 'linux-sparcv8'."
+- echo " Upgrade to gcc-2.8 or later."
+- sleep 5
+- OUT=linux-sparcv8
-fi
case "$GUESSOS" in
OpenPOWER on IntegriCloud