diff options
author | deraadt <> | 2014-04-13 20:07:16 +0000 |
---|---|---|
committer | deraadt <> | 2014-04-13 20:07:16 +0000 |
commit | e0370e1b204879a309238acd0f6e19a421575d0c (patch) | |
tree | 70187d2ea3d84dacf313c259759e1ecb1f926c3e /src | |
parent | 9aec7ef22b892c9edc0ccdcd23f9793914c1915f (diff) | |
download | openbsd-e0370e1b204879a309238acd0f6e19a421575d0c.tar.gz openbsd-e0370e1b204879a309238acd0f6e19a421575d0c.tar.bz2 openbsd-e0370e1b204879a309238acd0f6e19a421575d0c.zip |
We do not need historical shared library build goo for other operating
systems, most of which in any sane world will want to do something
more modern anyways.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/src/shlib/Makefile.hpux10-cc | 34 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/README | 1 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/hpux10-cc.sh | 92 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/irix.sh | 7 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/sco5-shared-gcc.sh | 48 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/sco5-shared-installed | 28 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/sco5-shared.sh | 48 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/solaris-sc4.sh | 42 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/solaris.sh | 36 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/sun.sh | 8 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/svr5-shared-gcc.sh | 48 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/svr5-shared-installed | 27 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/svr5-shared.sh | 48 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/win32.bat | 18 | ||||
-rw-r--r-- | src/lib/libssl/src/shlib/win32dll.bat | 13 |
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 | |||
3 | major=0.9.8 | ||
4 | |||
5 | slib=libssl | ||
6 | sh_slib=$(slib).sl.$(major) | ||
7 | |||
8 | clib=libcrypto | ||
9 | sh_clib=$(clib).sl.$(major) | ||
10 | |||
11 | all : $(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 @@ | |||
1 | Only 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 | # | ||
35 | SITEFLAGS="+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 | # | ||
42 | MYFLAGS="-D_REENTRANT +Oall $SITEFLAGS" | ||
43 | |||
44 | # Configure for pic and build the static pic libraries | ||
45 | perl5 Configure no-shared hpux-parisc-cc-o4 +Z ${MYFLAGS} | ||
46 | make clean | ||
47 | make 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 | # | ||
54 | make -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. | ||
59 | mkdir /usr/local | ||
60 | mkdir /usr/local/ssl | ||
61 | mkdir /usr/local/ssl/lib | ||
62 | chmod 444 lib*_pic.a | ||
63 | chmod 555 lib*.sl.0.9.8 | ||
64 | cp -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 | # | ||
71 | perl5 Configure no-shared hpux-parisc-cc-o4 ${MYFLAGS} | ||
72 | |||
73 | make clean | ||
74 | |||
75 | # Hack the Makefiles to pick up the dynamic libraries during linking | ||
76 | # | ||
77 | sed 's/^PEX_LIBS=.*$/PEX_LIBS=-L\/usr\/local\/ssl\/lib/' Makefile.ssl >xxx; mv xxx Makefile.ssl | ||
78 | sed 's/-L\.\.//' apps/Makefile.ssl >xxx; mv xxx apps/Makefile.ssl | ||
79 | sed 's/-L\.\.//' test/Makefile.ssl >xxx; mv xxx test/Makefile.ssl | ||
80 | # Build the static libs and the executables in one make. | ||
81 | make | ||
82 | # Install everything | ||
83 | make 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 | # | ||
88 | perl5 Configure no-shared hpux-parisc-cc ${MYFLAGS} | ||
89 | make clean | ||
90 | make DIRS="crypto ssl" | ||
91 | chmod 644 libcrypto.a libssl.a | ||
92 | cp -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 @@ | |||
1 | FLAGS="-DTERMIOS -O2 -mips2 -DB_ENDIAN -fomit-frame-pointer -Wall -Iinclude" | ||
2 | SHFLAGS="-DPIC -fpic" | ||
3 | |||
4 | gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c | ||
5 | ld -shared -o libcrypto.so crypto.o | ||
6 | gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c | ||
7 | ld -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 | |||
3 | major="0" | ||
4 | minor="9.7b" | ||
5 | |||
6 | slib=libssl | ||
7 | sh_slib=$slib.so.$major.$minor | ||
8 | |||
9 | clib=libcrypto | ||
10 | sh_clib=$clib.so.$major.$minor | ||
11 | |||
12 | FLAGS="-O3 -fomit-frame-pointer" | ||
13 | SHFLAGS="-DPIC -fPIC" | ||
14 | |||
15 | touch $sh_clib | ||
16 | touch $sh_slib | ||
17 | |||
18 | echo collecting all object files for $clib.so | ||
19 | OBJS= | ||
20 | find . -name \*.o -print > allobjs | ||
21 | for obj in `ar t libcrypto.a` | ||
22 | do | ||
23 | OBJS="$OBJS `grep $obj allobjs`" | ||
24 | done | ||
25 | |||
26 | echo linking $clib.so | ||
27 | gcc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket | ||
28 | |||
29 | rm -f $clib.so | ||
30 | ln -s $sh_clib $clib.so | ||
31 | |||
32 | echo collecting all object files for $slib.so | ||
33 | OBJS= | ||
34 | for obj in `ar t libssl.a` | ||
35 | do | ||
36 | OBJS="$OBJS `grep $obj allobjs`" | ||
37 | done | ||
38 | |||
39 | echo linking $slib.so | ||
40 | gcc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto | ||
41 | |||
42 | rm -f $slib.so | ||
43 | ln -s $sh_slib $slib.so | ||
44 | |||
45 | mv libRSAglue.a libRSAglue.a.orig | ||
46 | mv libcrypto.a libcrypto.a.orig | ||
47 | mv 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 | |||
3 | major="0" | ||
4 | minor="9.7b" | ||
5 | |||
6 | slib=libssl | ||
7 | sh_slib=$slib.so.$major.$minor | ||
8 | |||
9 | clib=libcrypto | ||
10 | sh_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 | ||
14 | INSTALLTOP=/usr/local/lib | ||
15 | |||
16 | cp -p $sh_clib $INSTALLTOP | ||
17 | cp -p $sh_slib $INSTALLTOP | ||
18 | |||
19 | PWD=`pwd` | ||
20 | cd $INSTALLTOP | ||
21 | rm -f $INSTALLTOP/$clib.so | ||
22 | ln -s $INSTALLTOP/$sh_clib $clib.so | ||
23 | |||
24 | rm -f $INSTALLTOP/$slib.so | ||
25 | ln -s $INSTALLTOP/$sh_slib $slib.so | ||
26 | |||
27 | cd $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 | |||
3 | major="0" | ||
4 | minor="9.7b" | ||
5 | |||
6 | slib=libssl | ||
7 | sh_slib=$slib.so.$major.$minor | ||
8 | |||
9 | clib=libcrypto | ||
10 | sh_clib=$clib.so.$major.$minor | ||
11 | |||
12 | FLAGS="-O -DFILIO_H -Kalloca" | ||
13 | SHFLAGS="-Kpic -DPIC" | ||
14 | |||
15 | touch $sh_clib | ||
16 | touch $sh_slib | ||
17 | |||
18 | echo collecting all object files for $clib.so | ||
19 | OBJS= | ||
20 | find . -name \*.o -print > allobjs | ||
21 | for obj in `ar t libcrypto.a` | ||
22 | do | ||
23 | OBJS="$OBJS `grep $obj allobjs`" | ||
24 | done | ||
25 | |||
26 | echo linking $clib.so | ||
27 | cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket | ||
28 | |||
29 | rm -f $clib.so | ||
30 | ln -s $sh_clib $clib.so | ||
31 | |||
32 | echo collecting all object files for $slib.so | ||
33 | OBJS= | ||
34 | for obj in `ar t libssl.a` | ||
35 | do | ||
36 | OBJS="$OBJS `grep $obj allobjs`" | ||
37 | done | ||
38 | |||
39 | echo linking $slib.so | ||
40 | cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto | ||
41 | |||
42 | rm -f $slib.so | ||
43 | ln -s $sh_slib $slib.so | ||
44 | |||
45 | mv libRSAglue.a libRSAglue.a.orig | ||
46 | mv libcrypto.a libcrypto.a.orig | ||
47 | mv 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 | |||
3 | major="1" | ||
4 | |||
5 | slib=libssl | ||
6 | sh_slib=$slib.so.$major | ||
7 | |||
8 | clib=libcrypto | ||
9 | sh_clib=$clib.so.$major | ||
10 | |||
11 | echo collecting all object files for $clib.so | ||
12 | OBJS= | ||
13 | find . -name \*.o -print > allobjs | ||
14 | for obj in `ar t libcrypto.a` | ||
15 | do | ||
16 | OBJS="$OBJS `grep $obj allobjs`" | ||
17 | done | ||
18 | |||
19 | echo linking $clib.so | ||
20 | cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket | ||
21 | |||
22 | rm -f $clib.so | ||
23 | ln -s $sh_clib $clib.so | ||
24 | |||
25 | echo collecting all object files for $slib.so | ||
26 | OBJS= | ||
27 | for obj in `ar t libssl.a` | ||
28 | do | ||
29 | OBJS="$OBJS `grep $obj allobjs`" | ||
30 | done | ||
31 | |||
32 | echo linking $slib.so | ||
33 | cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto | ||
34 | |||
35 | rm -f $slib.so | ||
36 | ln -s $sh_slib $slib.so | ||
37 | |||
38 | rm -f allobjs | ||
39 | |||
40 | mv libRSAglue.a libRSAglue.a.orig | ||
41 | mv libcrypto.a libcrypto.a.orig | ||
42 | mv 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 | |||
3 | echo "#define DATE \"`date`\"" >crypto/date.h | ||
4 | |||
5 | major="0" | ||
6 | minor="8.0" | ||
7 | slib=libssl | ||
8 | clib=libcrypto | ||
9 | CC=gcc | ||
10 | CPP='gcc -E' | ||
11 | AS=as | ||
12 | #FLAGS='-DTERMIO -O3 -DL_ENDIAN -fomit-frame-pointer -mv8 -Wall' | ||
13 | FLAGS='-DTERMIO -g2 -ggdb -DL_ENDIAN -Wall -DREF_CHECK -DCRYPTO_MDEBUG' | ||
14 | INCLUDE='-Iinclude -Icrypto -Issl' | ||
15 | SHFLAGS='-DPIC -fpic' | ||
16 | |||
17 | CFLAGS="$FLAGS $INCLUDE $SHFLAGS" | ||
18 | ASM_OBJ=""; | ||
19 | |||
20 | echo compiling bignum assember | ||
21 | $AS -o bn_asm.o crypto/bn/asm/sparc.s | ||
22 | CFLAGS="$CFLAGS -DBN_ASM" | ||
23 | ASM_OBJ="$ASM_OBJ bn_asm.o" | ||
24 | |||
25 | echo compiling $clib | ||
26 | $CC -c $CFLAGS -DCFLAGS="\"$FLAGS\"" -o crypto.o crypto/crypto.c | ||
27 | |||
28 | echo linking $clib.so | ||
29 | gcc $CFLAGS -shared -o $clib.so.$major.$minor crypto.o $ASM_OBJ -lnsl -lsocket | ||
30 | |||
31 | echo compiling $slib.so | ||
32 | $CC -c $CFLAGS -o ssl.o ssl/ssl.c | ||
33 | |||
34 | echo building $slib.so | ||
35 | gcc $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 @@ | |||
1 | FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude" | ||
2 | SHFLAGS="-DPIC -fpic" | ||
3 | |||
4 | gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c | ||
5 | ld -G -z text -o libcrypto.so crypto.o | ||
6 | |||
7 | gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c | ||
8 | ld -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 | |||
3 | major="0" | ||
4 | minor="9.7b" | ||
5 | |||
6 | slib=libssl | ||
7 | sh_slib=$slib.so.$major.$minor | ||
8 | |||
9 | clib=libcrypto | ||
10 | sh_clib=$clib.so.$major.$minor | ||
11 | |||
12 | FLAGS="-O3 -DFILIO_H -fomit-frame-pointer -pthread" | ||
13 | SHFLAGS="-DPIC -fPIC" | ||
14 | |||
15 | touch $sh_clib | ||
16 | touch $sh_slib | ||
17 | |||
18 | echo collecting all object files for $clib.so | ||
19 | OBJS= | ||
20 | find . -name \*.o -print > allobjs | ||
21 | for obj in `ar t libcrypto.a` | ||
22 | do | ||
23 | OBJS="$OBJS `grep $obj allobjs`" | ||
24 | done | ||
25 | |||
26 | echo linking $clib.so | ||
27 | gcc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket | ||
28 | |||
29 | rm -f $clib.so | ||
30 | ln -s $sh_clib $clib.so | ||
31 | |||
32 | echo collecting all object files for $slib.so | ||
33 | OBJS= | ||
34 | for obj in `ar t libssl.a` | ||
35 | do | ||
36 | OBJS="$OBJS `grep $obj allobjs`" | ||
37 | done | ||
38 | |||
39 | echo linking $slib.so | ||
40 | gcc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto | ||
41 | |||
42 | rm -f $slib.so | ||
43 | ln -s $sh_slib $slib.so | ||
44 | |||
45 | mv libRSAglue.a libRSAglue.a.orig | ||
46 | mv libcrypto.a libcrypto.a.orig | ||
47 | mv 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 | |||
3 | major="0" | ||
4 | minor="9.7b" | ||
5 | |||
6 | slib=libssl | ||
7 | sh_slib=$slib.so.$major.$minor | ||
8 | |||
9 | clib=libcrypto | ||
10 | sh_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 | ||
14 | INSTALLTOP=/usr/local/lib | ||
15 | |||
16 | cp -p $sh_clib $INSTALLTOP | ||
17 | cp -p $sh_slib $INSTALLTOP | ||
18 | |||
19 | PWD=`pwd` | ||
20 | cd $INSTALLTOP | ||
21 | rm -f $INSTALLTOP/$clib.so | ||
22 | ln -s $INSTALLTOP/$sh_clib $clib.so | ||
23 | |||
24 | rm -f $INSTALLTOP/$slib.so | ||
25 | ln -s $INSTALLTOP/$sh_slib $slib.so | ||
26 | |||
27 | cd $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 | |||
3 | major="0" | ||
4 | minor="9.7b" | ||
5 | |||
6 | slib=libssl | ||
7 | sh_slib=$slib.so.$major.$minor | ||
8 | |||
9 | clib=libcrypto | ||
10 | sh_clib=$clib.so.$major.$minor | ||
11 | |||
12 | FLAGS="-O -DFILIO_H -Kalloca -Kthread" | ||
13 | SHFLAGS="-Kpic -DPIC" | ||
14 | |||
15 | touch $sh_clib | ||
16 | touch $sh_slib | ||
17 | |||
18 | echo collecting all object files for $clib.so | ||
19 | OBJS= | ||
20 | find . -name \*.o -print > allobjs | ||
21 | for obj in `ar t libcrypto.a` | ||
22 | do | ||
23 | OBJS="$OBJS `grep $obj allobjs`" | ||
24 | done | ||
25 | |||
26 | echo linking $clib.so | ||
27 | cc -G -o $sh_clib -h $sh_clib $OBJS -lnsl -lsocket | ||
28 | |||
29 | rm -f $clib.so | ||
30 | ln -s $sh_clib $clib.so | ||
31 | |||
32 | echo collecting all object files for $slib.so | ||
33 | OBJS= | ||
34 | for obj in `ar t libssl.a` | ||
35 | do | ||
36 | OBJS="$OBJS `grep $obj allobjs`" | ||
37 | done | ||
38 | |||
39 | echo linking $slib.so | ||
40 | cc -G -o $sh_slib -h $sh_slib $OBJS -L. -lcrypto | ||
41 | |||
42 | rm -f $slib.so | ||
43 | ln -s $sh_slib $slib.so | ||
44 | |||
45 | mv libRSAglue.a libRSAglue.a.orig | ||
46 | mv libcrypto.a libcrypto.a.orig | ||
47 | mv 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 @@ | |||
1 | rem win32 dll build | ||
2 | |||
3 | set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN | ||
4 | set OPTIONS2=/W3 /WX /Ox /Gs0 /GF /Gy /nologo | ||
5 | |||
6 | set OPTIONS=%OPTIONS1% %OPTIONS2% | ||
7 | |||
8 | rem ml /coff /c crypto\bf\asm\b-win32.asm | ||
9 | rem ml /coff /c crypto\des\asm\c-win32.asm | ||
10 | rem ml /coff /c crypto\des\asm\d-win32.asm | ||
11 | rem ml /coff /c crypto\bn\asm\x86nt32.asm | ||
12 | |||
13 | cl /Focrypto.obj -DWIN32 %OPTIONS% -c crypto\crypto.c | ||
14 | cl /Fossl.obj -DWIN32 %OPTIONS% -c ssl\ssl.c | ||
15 | cl /Foeay.obj -DWIN32 %OPTIONS% -c apps\eay.c | ||
16 | |||
17 | cl /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 @@ | |||
1 | rem win32 dll build | ||
2 | |||
3 | set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN | ||
4 | set OPTIONS2=/W3 /WX /Ox /Gf /nologo | ||
5 | |||
6 | set OPTIONS=%OPTIONS1% %OPTIONS2% | ||
7 | |||
8 | cl /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 | |||
10 | cl /Fessleay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\ssleay32.def ssl\ssl.c libeay32.lib | ||
11 | |||
12 | cl /Fessleay.exe /MD -DWIN32 %OPTIONS% apps\eay.c ssleay32.lib libeay32.lib user32.lib ws2_32.lib | ||
13 | |||