summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/src/shlib/Makefile.hpux10-cc34
-rw-r--r--src/lib/libssl/src/shlib/README1
-rw-r--r--src/lib/libssl/src/shlib/hpux10-cc.sh92
-rw-r--r--src/lib/libssl/src/shlib/irix.sh7
-rw-r--r--src/lib/libssl/src/shlib/sco5-shared-gcc.sh48
-rw-r--r--src/lib/libssl/src/shlib/sco5-shared-installed28
-rw-r--r--src/lib/libssl/src/shlib/sco5-shared.sh48
-rw-r--r--src/lib/libssl/src/shlib/solaris-sc4.sh42
-rw-r--r--src/lib/libssl/src/shlib/solaris.sh36
-rw-r--r--src/lib/libssl/src/shlib/sun.sh8
-rw-r--r--src/lib/libssl/src/shlib/svr5-shared-gcc.sh48
-rw-r--r--src/lib/libssl/src/shlib/svr5-shared-installed27
-rw-r--r--src/lib/libssl/src/shlib/svr5-shared.sh48
-rw-r--r--src/lib/libssl/src/shlib/win32.bat18
-rw-r--r--src/lib/libssl/src/shlib/win32dll.bat13
15 files changed, 0 insertions, 498 deletions
diff --git a/src/lib/libssl/src/shlib/Makefile.hpux10-cc b/src/lib/libssl/src/shlib/Makefile.hpux10-cc
deleted file mode 100644
index 89c28dcf46..0000000000
--- a/src/lib/libssl/src/shlib/Makefile.hpux10-cc
+++ /dev/null
@@ -1,34 +0,0 @@
1# Makefile.hpux-cc
2
3major=0.9.8
4
5slib=libssl
6sh_slib=$(slib).sl.$(major)
7
8clib=libcrypto
9sh_clib=$(clib).sl.$(major)
10
11all : $(clib).sl $(slib).sl
12
13
14$(clib)_pic.a : $(clib).a
15 echo "Copying $? to $@"
16 cp -p $? $@
17
18$(slib)_pic.a : $(slib).a
19 echo "Copying $? to $@"
20 cp -p $? $@
21
22$(sh_clib) : $(clib)_pic.a
23 ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc
24
25$(clib).sl : $(sh_clib)
26 rm -f $@
27 ln -s $? $@
28
29$(sh_slib) : $(slib)_pic.a $(clib).sl
30 ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc
31
32$(slib).sl : $(sh_slib)
33 rm -f $@
34 ln -s $? $@
diff --git a/src/lib/libssl/src/shlib/README b/src/lib/libssl/src/shlib/README
deleted file mode 100644
index fea07a59ea..0000000000
--- a/src/lib/libssl/src/shlib/README
+++ /dev/null
@@ -1 +0,0 @@
1Only the windows NT and, linux builds have been tested for SSLeay 0.8.0
diff --git a/src/lib/libssl/src/shlib/hpux10-cc.sh b/src/lib/libssl/src/shlib/hpux10-cc.sh
deleted file mode 100644
index ceeb8c5236..0000000000
--- a/src/lib/libssl/src/shlib/hpux10-cc.sh
+++ /dev/null
@@ -1,92 +0,0 @@
1#!/usr/bin/sh
2#
3# Run this script from the OpenSSL root directory:
4# sh shlib/hpux10-cc.sh
5#
6# HP-UX (10.20) shared library installation:
7# Compile and install OpenSSL with best possible optimization:
8# - shared libraries are compiled and installed with +O4 optimization
9# - executable(s) are compiled and installed with +O4 optimization
10# - static libraries are compiled and installed with +O3 optimization,
11# to avoid the time consuming +O4 link-time optimization when using
12# these libraries. (The shared libs are already optimized during build
13# at +O4.)
14#
15# This script must be run with appropriate privileges to install into
16# /usr/local/ssl. HP-UX prevents used executables and shared libraries
17# from being deleted or overwritten. Stop all processes using already
18# installed items of OpenSSL.
19#
20# WARNING: At high optimization levels, HP's ANSI-C compiler can chew up
21# large amounts of memory and CPU time. Make sure to have at least
22# 128MB of RAM available and that your kernel is configured to allow
23# at least 128MB data size (maxdsiz parameter which can be obtained
24# by multiplying 'echo maxdsiz/D | adb -k /stand/vmunix /dev/kmem'
25# by 'getconf PAGE_SIZE').
26# The installation process can take several hours, even on fast
27# machines. +O4 optimization of the libcrypto.sl shared library may
28# take 1 hour on a C200 (200MHz PA8200 CPU), +O3 compilation of
29# fcrypt_b.c can take 20 minutes on this machine. Stay patient.
30#
31# SITEFLAGS: site specific flags. I do use +DAportable, since I have to
32# support older PA1.1-type CPUs. Your mileage may vary.
33# +w1 enables enhanced warnings, useful when working with snaphots.
34#
35SITEFLAGS="+DAportable +w1"
36#
37# Set the default additions to build with HP-UX.
38# -D_REENTRANT must/should be defined on HP-UX manually, since we do call
39# Configure directly.
40# +Oall increases the optimization done.
41#
42MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS"
43
44# Configure for pic and build the static pic libraries
45perl5 Configure no-shared hpux-parisc-cc-o4 +Z ${MYFLAGS}
46make clean
47make DIRS="crypto ssl"
48# Rename the static pic libs and build dynamic libraries from them
49# Be prepared to see a lot of warnings about shared libraries being built
50# with optimizations higher than +O2. When using these libraries, it is
51# not possible to replace internal library functions with functions from
52# the program to be linked.
53#
54make -f shlib/Makefile.hpux10-cc
55
56# Copy the libraries to /usr/local/ssl/lib (they have to be in their
57# final location when linking applications).
58# If the directories are still there, no problem.
59mkdir /usr/local
60mkdir /usr/local/ssl
61mkdir /usr/local/ssl/lib
62chmod 444 lib*_pic.a
63chmod 555 lib*.sl.0.9.8
64cp -p lib*_pic.a lib*.sl.0.9.8 /usr/local/ssl/lib
65(cd /usr/local/ssl/lib ; ln -sf libcrypto.sl.0.9.8 libcrypto.sl ; ln -sf libssl.sl.0.9.8 libssl.sl)
66
67# Reconfigure without pic to compile the executables. Unfortunately, while
68# performing this task we have to recompile the library components, even
69# though we use the already installed shared libs anyway.
70#
71perl5 Configure no-shared hpux-parisc-cc-o4 ${MYFLAGS}
72
73make clean
74
75# Hack the Makefiles to pick up the dynamic libraries during linking
76#
77sed 's/^PEX_LIBS=.*$/PEX_LIBS=-L\/usr\/local\/ssl\/lib/' Makefile.ssl >xxx; mv xxx Makefile.ssl
78sed 's/-L\.\.//' apps/Makefile.ssl >xxx; mv xxx apps/Makefile.ssl
79sed 's/-L\.\.//' test/Makefile.ssl >xxx; mv xxx test/Makefile.ssl
80# Build the static libs and the executables in one make.
81make
82# Install everything
83make install
84
85# Finally build the static libs with +O3. This time we only need the libraries,
86# once created, they are simply copied into place.
87#
88perl5 Configure no-shared hpux-parisc-cc ${MYFLAGS}
89make clean
90make DIRS="crypto ssl"
91chmod 644 libcrypto.a libssl.a
92cp -p libcrypto.a libssl.a /usr/local/ssl/lib
diff --git a/src/lib/libssl/src/shlib/irix.sh b/src/lib/libssl/src/shlib/irix.sh
deleted file mode 100644
index 22e4e6ad50..0000000000
--- a/src/lib/libssl/src/shlib/irix.sh
+++ /dev/null
@@ -1,7 +0,0 @@
1FLAGS="-DTERMIOS -O2 -mips2 -DB_ENDIAN -fomit-frame-pointer -Wall -Iinclude"
2SHFLAGS="-DPIC -fpic"
3
4gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c
5ld -shared -o libcrypto.so crypto.o
6gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c
7ld -shared -o libssl.so ssl.o
diff --git a/src/lib/libssl/src/shlib/sco5-shared-gcc.sh b/src/lib/libssl/src/shlib/sco5-shared-gcc.sh
deleted file mode 100644
index fe4a457b52..0000000000
--- a/src/lib/libssl/src/shlib/sco5-shared-gcc.sh
+++ /dev/null
@@ -1,48 +0,0 @@
1#!/bin/sh
2
3major="0"
4minor="9.7b"
5
6slib=libssl
7sh_slib=$slib.so.$major.$minor
8
9clib=libcrypto
10sh_clib=$clib.so.$major.$minor
11
12FLAGS="-O3 -fomit-frame-pointer"
13SHFLAGS="-DPIC -fPIC"
14
15touch $sh_clib
16touch $sh_slib
17
18echo collecting all object files for $clib.so
19OBJS=
20find . -name \*.o -print > allobjs
21for obj in `ar t libcrypto.a`
22do
23 OBJS="$OBJS `grep $obj allobjs`"
24done
25
26echo linking $clib.so
27gcc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
28
29rm -f $clib.so
30ln -s $sh_clib $clib.so
31
32echo collecting all object files for $slib.so
33OBJS=
34for obj in `ar t libssl.a`
35do
36 OBJS="$OBJS `grep $obj allobjs`"
37done
38
39echo linking $slib.so
40gcc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
41
42rm -f $slib.so
43ln -s $sh_slib $slib.so
44
45mv libRSAglue.a libRSAglue.a.orig
46mv libcrypto.a libcrypto.a.orig
47mv libssl.a libssl.a.orig
48
diff --git a/src/lib/libssl/src/shlib/sco5-shared-installed b/src/lib/libssl/src/shlib/sco5-shared-installed
deleted file mode 100644
index 509902833f..0000000000
--- a/src/lib/libssl/src/shlib/sco5-shared-installed
+++ /dev/null
@@ -1,28 +0,0 @@
1#!/bin/sh
2
3major="0"
4minor="9.7b"
5
6slib=libssl
7sh_slib=$slib.so.$major.$minor
8
9clib=libcrypto
10sh_clib=$clib.so.$major.$minor
11
12# If you want them in /usr/local/lib then change INSTALLTOP to point there.
13#INSTALLTOP=/usr/local/ssl/lib
14INSTALLTOP=/usr/local/lib
15
16cp -p $sh_clib $INSTALLTOP
17cp -p $sh_slib $INSTALLTOP
18
19PWD=`pwd`
20cd $INSTALLTOP
21rm -f $INSTALLTOP/$clib.so
22ln -s $INSTALLTOP/$sh_clib $clib.so
23
24rm -f $INSTALLTOP/$slib.so
25ln -s $INSTALLTOP/$sh_slib $slib.so
26
27cd $PWD
28
diff --git a/src/lib/libssl/src/shlib/sco5-shared.sh b/src/lib/libssl/src/shlib/sco5-shared.sh
deleted file mode 100644
index b3365d9f51..0000000000
--- a/src/lib/libssl/src/shlib/sco5-shared.sh
+++ /dev/null
@@ -1,48 +0,0 @@
1#!/bin/sh
2
3major="0"
4minor="9.7b"
5
6slib=libssl
7sh_slib=$slib.so.$major.$minor
8
9clib=libcrypto
10sh_clib=$clib.so.$major.$minor
11
12FLAGS="-O -DFILIO_H -Kalloca"
13SHFLAGS="-Kpic -DPIC"
14
15touch $sh_clib
16touch $sh_slib
17
18echo collecting all object files for $clib.so
19OBJS=
20find . -name \*.o -print > allobjs
21for obj in `ar t libcrypto.a`
22do
23 OBJS="$OBJS `grep $obj allobjs`"
24done
25
26echo linking $clib.so
27cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
28
29rm -f $clib.so
30ln -s $sh_clib $clib.so
31
32echo collecting all object files for $slib.so
33OBJS=
34for obj in `ar t libssl.a`
35do
36 OBJS="$OBJS `grep $obj allobjs`"
37done
38
39echo linking $slib.so
40cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
41
42rm -f $slib.so
43ln -s $sh_slib $slib.so
44
45mv libRSAglue.a libRSAglue.a.orig
46mv libcrypto.a libcrypto.a.orig
47mv libssl.a libssl.a.orig
48
diff --git a/src/lib/libssl/src/shlib/solaris-sc4.sh b/src/lib/libssl/src/shlib/solaris-sc4.sh
deleted file mode 100644
index b0766b35f7..0000000000
--- a/src/lib/libssl/src/shlib/solaris-sc4.sh
+++ /dev/null
@@ -1,42 +0,0 @@
1#!/bin/sh
2
3major="1"
4
5slib=libssl
6sh_slib=$slib.so.$major
7
8clib=libcrypto
9sh_clib=$clib.so.$major
10
11echo collecting all object files for $clib.so
12OBJS=
13find . -name \*.o -print > allobjs
14for obj in `ar t libcrypto.a`
15do
16 OBJS="$OBJS `grep $obj allobjs`"
17done
18
19echo linking $clib.so
20cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
21
22rm -f $clib.so
23ln -s $sh_clib $clib.so
24
25echo collecting all object files for $slib.so
26OBJS=
27for obj in `ar t libssl.a`
28do
29 OBJS="$OBJS `grep $obj allobjs`"
30done
31
32echo linking $slib.so
33cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
34
35rm -f $slib.so
36ln -s $sh_slib $slib.so
37
38rm -f allobjs
39
40mv libRSAglue.a libRSAglue.a.orig
41mv libcrypto.a libcrypto.a.orig
42mv libssl.a libssl.a.orig
diff --git a/src/lib/libssl/src/shlib/solaris.sh b/src/lib/libssl/src/shlib/solaris.sh
deleted file mode 100644
index 03475f12b4..0000000000
--- a/src/lib/libssl/src/shlib/solaris.sh
+++ /dev/null
@@ -1,36 +0,0 @@
1#!/bin/sh
2
3echo "#define DATE \"`date`\"" >crypto/date.h
4
5major="0"
6minor="8.0"
7slib=libssl
8clib=libcrypto
9CC=gcc
10CPP='gcc -E'
11AS=as
12#FLAGS='-DTERMIO -O3 -DL_ENDIAN -fomit-frame-pointer -mv8 -Wall'
13FLAGS='-DTERMIO -g2 -ggdb -DL_ENDIAN -Wall -DREF_CHECK -DCRYPTO_MDEBUG'
14INCLUDE='-Iinclude -Icrypto -Issl'
15SHFLAGS='-DPIC -fpic'
16
17CFLAGS="$FLAGS $INCLUDE $SHFLAGS"
18ASM_OBJ="";
19
20echo compiling bignum assember
21$AS -o bn_asm.o crypto/bn/asm/sparc.s
22CFLAGS="$CFLAGS -DBN_ASM"
23ASM_OBJ="$ASM_OBJ bn_asm.o"
24
25echo compiling $clib
26$CC -c $CFLAGS -DCFLAGS="\"$FLAGS\"" -o crypto.o crypto/crypto.c
27
28echo linking $clib.so
29gcc $CFLAGS -shared -o $clib.so.$major.$minor crypto.o $ASM_OBJ -lnsl -lsocket
30
31echo compiling $slib.so
32$CC -c $CFLAGS -o ssl.o ssl/ssl.c
33
34echo building $slib.so
35gcc $CFLAGS -shared -o $slib.so ssl.o -L. -lcrypto
36
diff --git a/src/lib/libssl/src/shlib/sun.sh b/src/lib/libssl/src/shlib/sun.sh
deleted file mode 100644
index a890bbd376..0000000000
--- a/src/lib/libssl/src/shlib/sun.sh
+++ /dev/null
@@ -1,8 +0,0 @@
1FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude"
2SHFLAGS="-DPIC -fpic"
3
4gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c
5ld -G -z text -o libcrypto.so crypto.o
6
7gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c
8ld -G -z text -o libssl.so ssl.o
diff --git a/src/lib/libssl/src/shlib/svr5-shared-gcc.sh b/src/lib/libssl/src/shlib/svr5-shared-gcc.sh
deleted file mode 100644
index c5d0cc56ac..0000000000
--- a/src/lib/libssl/src/shlib/svr5-shared-gcc.sh
+++ /dev/null
@@ -1,48 +0,0 @@
1#!/usr/bin/sh
2
3major="0"
4minor="9.7b"
5
6slib=libssl
7sh_slib=$slib.so.$major.$minor
8
9clib=libcrypto
10sh_clib=$clib.so.$major.$minor
11
12FLAGS="-O3 -DFILIO_H -fomit-frame-pointer -pthread"
13SHFLAGS="-DPIC -fPIC"
14
15touch $sh_clib
16touch $sh_slib
17
18echo collecting all object files for $clib.so
19OBJS=
20find . -name \*.o -print > allobjs
21for obj in `ar t libcrypto.a`
22do
23 OBJS="$OBJS `grep $obj allobjs`"
24done
25
26echo linking $clib.so
27gcc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
28
29rm -f $clib.so
30ln -s $sh_clib $clib.so
31
32echo collecting all object files for $slib.so
33OBJS=
34for obj in `ar t libssl.a`
35do
36 OBJS="$OBJS `grep $obj allobjs`"
37done
38
39echo linking $slib.so
40gcc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
41
42rm -f $slib.so
43ln -s $sh_slib $slib.so
44
45mv libRSAglue.a libRSAglue.a.orig
46mv libcrypto.a libcrypto.a.orig
47mv libssl.a libssl.a.orig
48
diff --git a/src/lib/libssl/src/shlib/svr5-shared-installed b/src/lib/libssl/src/shlib/svr5-shared-installed
deleted file mode 100644
index b1def35d5c..0000000000
--- a/src/lib/libssl/src/shlib/svr5-shared-installed
+++ /dev/null
@@ -1,27 +0,0 @@
1#!/usr/bin/sh
2
3major="0"
4minor="9.7b"
5
6slib=libssl
7sh_slib=$slib.so.$major.$minor
8
9clib=libcrypto
10sh_clib=$clib.so.$major.$minor
11
12# If you want them in /usr/local/lib then change INSTALLTOP to point there.
13#INSTALLTOP=/usr/local/ssl/lib
14INSTALLTOP=/usr/local/lib
15
16cp -p $sh_clib $INSTALLTOP
17cp -p $sh_slib $INSTALLTOP
18
19PWD=`pwd`
20cd $INSTALLTOP
21rm -f $INSTALLTOP/$clib.so
22ln -s $INSTALLTOP/$sh_clib $clib.so
23
24rm -f $INSTALLTOP/$slib.so
25ln -s $INSTALLTOP/$sh_slib $slib.so
26
27cd $PWD
diff --git a/src/lib/libssl/src/shlib/svr5-shared.sh b/src/lib/libssl/src/shlib/svr5-shared.sh
deleted file mode 100644
index 9edf26e9a7..0000000000
--- a/src/lib/libssl/src/shlib/svr5-shared.sh
+++ /dev/null
@@ -1,48 +0,0 @@
1#!/usr/bin/sh
2
3major="0"
4minor="9.7b"
5
6slib=libssl
7sh_slib=$slib.so.$major.$minor
8
9clib=libcrypto
10sh_clib=$clib.so.$major.$minor
11
12FLAGS="-O -DFILIO_H -Kalloca -Kthread"
13SHFLAGS="-Kpic -DPIC"
14
15touch $sh_clib
16touch $sh_slib
17
18echo collecting all object files for $clib.so
19OBJS=
20find . -name \*.o -print > allobjs
21for obj in `ar t libcrypto.a`
22do
23 OBJS="$OBJS `grep $obj allobjs`"
24done
25
26echo linking $clib.so
27cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket
28
29rm -f $clib.so
30ln -s $sh_clib $clib.so
31
32echo collecting all object files for $slib.so
33OBJS=
34for obj in `ar t libssl.a`
35do
36 OBJS="$OBJS `grep $obj allobjs`"
37done
38
39echo linking $slib.so
40cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto
41
42rm -f $slib.so
43ln -s $sh_slib $slib.so
44
45mv libRSAglue.a libRSAglue.a.orig
46mv libcrypto.a libcrypto.a.orig
47mv libssl.a libssl.a.orig
48
diff --git a/src/lib/libssl/src/shlib/win32.bat b/src/lib/libssl/src/shlib/win32.bat
deleted file mode 100644
index 2b0faaa17b..0000000000
--- a/src/lib/libssl/src/shlib/win32.bat
+++ /dev/null
@@ -1,18 +0,0 @@
1rem win32 dll build
2
3set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN
4set OPTIONS2=/W3 /WX /Ox /Gs0 /GF /Gy /nologo
5
6set OPTIONS=%OPTIONS1% %OPTIONS2%
7
8rem ml /coff /c crypto\bf\asm\b-win32.asm
9rem ml /coff /c crypto\des\asm\c-win32.asm
10rem ml /coff /c crypto\des\asm\d-win32.asm
11rem ml /coff /c crypto\bn\asm\x86nt32.asm
12
13cl /Focrypto.obj -DWIN32 %OPTIONS% -c crypto\crypto.c
14cl /Fossl.obj -DWIN32 %OPTIONS% -c ssl\ssl.c
15cl /Foeay.obj -DWIN32 %OPTIONS% -c apps\eay.c
16
17cl /Fessleay.exe %OPTIONS% eay.obj ssl.obj crypto.obj crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib
18
diff --git a/src/lib/libssl/src/shlib/win32dll.bat b/src/lib/libssl/src/shlib/win32dll.bat
deleted file mode 100644
index 844e3537c8..0000000000
--- a/src/lib/libssl/src/shlib/win32dll.bat
+++ /dev/null
@@ -1,13 +0,0 @@
1rem win32 dll build
2
3set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN
4set OPTIONS2=/W3 /WX /Ox /Gf /nologo
5
6set OPTIONS=%OPTIONS1% %OPTIONS2%
7
8cl /Felibeay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\libeay32.def crypto\crypto.c crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib
9
10cl /Fessleay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\ssleay32.def ssl\ssl.c libeay32.lib
11
12cl /Fessleay.exe /MD -DWIN32 %OPTIONS% apps\eay.c ssleay32.lib libeay32.lib user32.lib ws2_32.lib
13