Subject: CVS commit: cryptosrc-intl
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 07/23/1999 04:33:07
Module Name:	cryptosrc-intl
Committed By:	mrg
Date:		Fri Jul 23 01:33:02 UTC 1999

Modified Files:
	cryptosrc-intl/crypto-intl/dist/openssl/ssl: s23_clnt.c s23_lib.c
	    s23_srvr.c
	cryptosrc-intl/crypto-intl/lib/libcrypto: Makefile
	cryptosrc-intl/crypto-intl/regress/lib/libdes/destest: Makefile
Added Files:
	cryptosrc-intl/crypto-intl: Makefile.openssl README
	cryptosrc-intl/crypto-intl/bin: Makefile.frag
	cryptosrc-intl/crypto-intl/dist/openssl: extsrcs.pl
	cryptosrc-intl/crypto-intl/lib: Makefile.frag
	cryptosrc-intl/crypto-intl/lib/libcrypto: asn1.inc bf.inc bio.inc
	    bn.inc buffer.inc cast.inc comp.inc conf.inc crypto.inc des.inc
	    dh.inc dsa.inc err.inc evp.inc hmac.inc idea.inc lhash.inc md2.inc
	    md5.inc mdc2.inc objects.inc pem.inc pkcs12.inc pkcs7.inc psrcs.inc
	    rand.inc rc2.inc rc4.inc rc5.inc ripemd.inc rsa.inc sha.inc
	    shlib_version srcs.inc stack.inc txt_db.inc x509.inc x509v3.inc
	cryptosrc-intl/crypto-intl/lib/libssl: Makefile shlib_version srcs.inc
	    ssl.diff ssl.inc
	cryptosrc-intl/crypto-intl/libexec: Makefile.frag
	cryptosrc-intl/crypto-intl/regress: Makefile.frag
	cryptosrc-intl/crypto-intl/usr.bin: Makefile.frag Makefile.inc
	cryptosrc-intl/crypto-intl/usr.bin/openssl: Makefile
Removed Files:
	cryptosrc-intl/crypto-intl: Makefile
	cryptosrc-intl/crypto-intl/lib: Makefile
	cryptosrc-intl/crypto-intl/regress: Makefile

Log Message:
OK, time to build some real crypto for the Free World.

from the OpenSSL sources imported we build `libcrypto' and `libssl',
normally without the IDEA, RC5 or RSA ciphers (these are the patented,
removed sources).  this means that there is no SSLv2 support, so help
OpenSSL deal with that a bit.  we build and install /usr/bin/openssl
also (we could also install dozens of links for each mode of
operation, but perhaps not yet).

if PATENTEDOPENSSLSRC is set and points to an real OpenSSL source
tree, such as 0.9.3a, then the sources from $PATENTEDOPENSSLSRC/crypto/
{idea,rc5,rsa} will be used in the build, and a completely OpenSSL
compatible libcrypto/libssl will be installed.

add several Makefile.frag's to compliment the new multi-sourced crypto
tree by thorpej.  all of the above happens in the normal build tree.

much of these makefile were taken from work by simon gerraty in
building ssleay with BSD make, including a nifty perl script to
extract the various sources from the openssl/crypto directory,
the current version i used in dist/openssl/extsrcs.pl.


To generate a diff of this commit:
cvs rdiff -r1.1 -r0 cryptosrc-intl/crypto-intl/Makefile
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/Makefile.openssl \
    cryptosrc-intl/crypto-intl/README
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/bin/Makefile.frag
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/dist/openssl/extsrcs.pl
cvs rdiff -r1.1.1.1 -r1.2 \
    cryptosrc-intl/crypto-intl/dist/openssl/ssl/s23_clnt.c \
    cryptosrc-intl/crypto-intl/dist/openssl/ssl/s23_lib.c \
    cryptosrc-intl/crypto-intl/dist/openssl/ssl/s23_srvr.c
cvs rdiff -r1.1 -r0 cryptosrc-intl/crypto-intl/lib/Makefile
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/lib/Makefile.frag
cvs rdiff -r1.1 -r1.2 cryptosrc-intl/crypto-intl/lib/libcrypto/Makefile
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/lib/libcrypto/asn1.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/bf.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/bio.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/bn.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/buffer.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/cast.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/comp.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/conf.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/crypto.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/des.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/dh.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/dsa.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/err.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/evp.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/hmac.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/idea.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/lhash.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/md2.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/md5.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/mdc2.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/objects.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/pem.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/pkcs12.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/pkcs7.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/psrcs.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/rand.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/rc2.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/rc4.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/rc5.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/ripemd.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/rsa.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/sha.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/shlib_version \
    cryptosrc-intl/crypto-intl/lib/libcrypto/srcs.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/stack.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/txt_db.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/x509.inc \
    cryptosrc-intl/crypto-intl/lib/libcrypto/x509v3.inc
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/lib/libssl/Makefile \
    cryptosrc-intl/crypto-intl/lib/libssl/shlib_version \
    cryptosrc-intl/crypto-intl/lib/libssl/srcs.inc \
    cryptosrc-intl/crypto-intl/lib/libssl/ssl.diff \
    cryptosrc-intl/crypto-intl/lib/libssl/ssl.inc
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/libexec/Makefile.frag
cvs rdiff -r1.1 -r0 cryptosrc-intl/crypto-intl/regress/Makefile
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/regress/Makefile.frag
cvs rdiff -r1.2 -r1.3 \
    cryptosrc-intl/crypto-intl/regress/lib/libdes/destest/Makefile
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/usr.bin/Makefile.frag \
    cryptosrc-intl/crypto-intl/usr.bin/Makefile.inc
cvs rdiff -r0 -r1.1 cryptosrc-intl/crypto-intl/usr.bin/openssl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.