diff options
author | ryker <ryker@cvs.openbsd.org> | 1998-10-05 20:13:15 +0000 |
---|---|---|
committer | ryker <ryker@cvs.openbsd.org> | 1998-10-05 20:13:15 +0000 |
commit | bff052ec2da81e414902f18d26192a16c8447863 (patch) | |
tree | 2f0c8beaf0cb7121398669e4313cb1a712609c78 /lib/libcrypto/util/sep_lib.sh | |
parent | 19903f9a5985cbd8ddc4123aff9263f1b9dd7e1b (diff) |
Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD build
functionality for shared libs.
Note that routines such as sslv2_init and friends that use RSA will
not work due to lack of RSA in this library.
Needs documentation and help from ports for easy upgrade to full
functionality where legally possible.
Diffstat (limited to 'lib/libcrypto/util/sep_lib.sh')
-rw-r--r-- | lib/libcrypto/util/sep_lib.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/libcrypto/util/sep_lib.sh b/lib/libcrypto/util/sep_lib.sh new file mode 100644 index 00000000000..2348db874e7 --- /dev/null +++ b/lib/libcrypto/util/sep_lib.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +cwd=`pwd` +/bin/rm -fr tmp/* + +cd crypto/des +make -f Makefile.uni tar +make -f Makefile.uni tar_lit +/bin/mv libdes.tgz $cwd/tmp +/bin/mv libdes-l.tgz $cwd/tmp +cd $cwd + +for name in md5 sha cast bf idea rc4 rc2 +do + echo doing $name + (cd crypto; tar cfh - $name)|(cd tmp; tar xf -) + cd tmp/$name + /bin/rm -f Makefile + /bin/rm -f Makefile.ssl + /bin/rm -f Makefile.ssl.orig + /bin/rm -f *.old + /bin/mv Makefile.uni Makefile + + cp $cwd/util/ranlib.sh . + chmod +x ranlib.sh + + if [ -d asm ]; then + mkdir asm/perlasm + cp $cwd/crypto/perlasm/*.pl asm/perlasm + fi + cd .. + tar cf - $name|gzip >$name.tgz +# /bin/rm -fr $name + cd $cwd +done + + |