diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1999-09-29 04:37:46 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1999-09-29 04:37:46 +0000 |
commit | d0f14bc756471a5b3305d279f0b7339afe806522 (patch) | |
tree | 020675e0d8e5e92f88e60464e0e571c7bc7354b9 /lib/libssl/ssl-patent | |
parent | 1ada263ccff52b4c5ec0cf4617010ffc76a1395a (diff) |
OpenSSL 0.9.4 merge
Diffstat (limited to 'lib/libssl/ssl-patent')
-rw-r--r-- | lib/libssl/ssl-patent/Makefile | 78 | ||||
-rw-r--r-- | lib/libssl/ssl-patent/shlib_version | 2 |
2 files changed, 26 insertions, 54 deletions
diff --git a/lib/libssl/ssl-patent/Makefile b/lib/libssl/ssl-patent/Makefile index 3816de81ea2..b3ab9042987 100644 --- a/lib/libssl/ssl-patent/Makefile +++ b/lib/libssl/ssl-patent/Makefile @@ -9,13 +9,10 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto .if ${MACHINE_ARCH} == "i386" CFLAGS+= -DL_ENDIAN -DBN_ASM .else -.if ${MACHINE} == "arc" +.if ${MACHINE_ARCH} == "arc" CFLAGS+= -DL_ENDIAN .else -.if ${MACHINE} == "galileo" -CFLAGS+= -DL_ENDIAN -.else -.if ${MACHINE} == "pmax" +.if ${MACHINE_ARCH} == "pmax" CFLAGS+= -DL_ENDIAN .else .if ${MACHINE_ARCH} == "alpha" @@ -25,66 +22,41 @@ CFLAGS+= -DB_ENDIAN .endif .endif .endif -.endif .endif CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE -CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} -CFLAGS+= -I${LSSL_SRC} -I${LCRYPTO_SRC} -CFLAGS+= -I${LCRYPTO_SRC}/md2 -CFLAGS+= -I${LCRYPTO_SRC}/md5 -CFLAGS+= -I${LCRYPTO_SRC}/sha -CFLAGS+= -I${LCRYPTO_SRC}/mdc2 -CFLAGS+= -I${LCRYPTO_SRC}/hmac -CFLAGS+= -I${LCRYPTO_SRC}/ripemd -CFLAGS+= -I${LCRYPTO_SRC}/des -CFLAGS+= -I${LCRYPTO_SRC}/rc2 -CFLAGS+= -I${LCRYPTO_SRC}/rc4 -CFLAGS+= -I${LCRYPTO_SRC}/rc5 -CFLAGS+= -I${LCRYPTO_SRC}/idea -CFLAGS+= -I${LCRYPTO_SRC}/bf -CFLAGS+= -I${LCRYPTO_SRC}/cast -CFLAGS+= -I${LCRYPTO_SRC}/bn -CFLAGS+= -I${LCRYPTO_SRC}/rsa -CFLAGS+= -I${LCRYPTO_SRC}/dsa -CFLAGS+= -I${LCRYPTO_SRC}/dh -CFLAGS+= -I${LCRYPTO_SRC}/buffer -CFLAGS+= -I${LCRYPTO_SRC}/bio -CFLAGS+= -I${LCRYPTO_SRC}/stack -CFLAGS+= -I${LCRYPTO_SRC}/lhash -CFLAGS+= -I${LCRYPTO_SRC}/rand -CFLAGS+= -I${LCRYPTO_SRC}/err -CFLAGS+= -I${LCRYPTO_SRC}/objects -CFLAGS+= -I${LCRYPTO_SRC}/evp -CFLAGS+= -I${LCRYPTO_SRC}/pem -CFLAGS+= -I${LCRYPTO_SRC}/asn1 -CFLAGS+= -I${LCRYPTO_SRC}/x509 -CFLAGS+= -I${LCRYPTO_SRC}/conf -CFLAGS+= -I${LCRYPTO_SRC}/txt_db -CFLAGS+= -I${LCRYPTO_SRC}/pkcs7 +CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}/include -SRCS= s2_meth.c s2_srvr.c s2_clnt.c s2_lib.c s2_enc.c s2_pkt.c \ - s3_meth.c s3_srvr.c s3_clnt.c s3_lib.c s3_enc.c s3_pkt.c s3_both.c \ - s23_meth.c s23_srvr.c s23_clnt.c s23_lib.c s23_pkt.c \ - t1_meth.c t1_srvr.c t1_clnt.c t1_lib.c t1_enc.c \ - ssl_lib.c ssl_err2.c ssl_cert.c ssl_sess.c \ - ssl_ciph.c ssl_stat.c ssl_rsa.c \ - ssl_asn1.c ssl_txt.c ssl_algs.c \ - bio_ssl.c ssl_err.c +SRCS= bio_ssl.c s2_clnt.c s3_both.c s3_srvr.c ssl_err2.c ssl_txt.c \ + t1_srvr.c s23_clnt.c s2_enc.c s3_clnt.c ssl_algs.c ssl_lib.c \ + ssltest.c s23_lib.c s2_lib.c s3_enc.c ssl_asn1.c ssl_rsa.c \ + t1_clnt.c s23_meth.c s2_meth.c s3_lib.c ssl_cert.c ssl_sess.c \ + t1_enc.c s23_pkt.c s2_pkt.c s3_meth.c ssl_ciph.c ssl_stat.c \ + t1_lib.c s23_srvr.c s2_srvr.c s3_pkt.c ssl_err.c \ + t1_meth.c -HDRS= ssl.h ssl2.h ssl3.h ssl23.h tls1.h +HDRS= ssl.h ssl2.h ssl3.h ssl23.h ssl_locl.h tls1.h .PATH: ${LSSL_SRC} includes: @test -d ${DESTDIR}/usr/include/ssl || mkdir ${DESTDIR}/usr/include/ssl - @cd ${LSSL_SRC}; for i in $(HDRS); do \ - j="cmp -s $$i ${DESTDIR}/usr/include/ssl/`basename $$i` || \ + @d=`mktemp -d /tmp/libsslXXXXXXXXXX`; \ + cd ${LSSL_SRC}; for i in $(HDRS); do \ + f=`basename $$i`; \ + j="sed 's/<openssl/<ssl/' \ + $$i >$$d/$$f && \ + (cmp -s $$d/$$f ${DESTDIR}/usr/include/ssl/$$f || \ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ - $$i ${DESTDIR}/usr/include/ssl"; \ + $$d/$$f ${DESTDIR}/usr/include/ssl)"; \ echo $$j; \ eval "$$j"; \ - done - + done; \ + rm -rf $$d .include <bsd.lib.mk> + + + + + diff --git a/lib/libssl/ssl-patent/shlib_version b/lib/libssl/ssl-patent/shlib_version index 893819d18ff..c6e3f4d3fc0 100644 --- a/lib/libssl/ssl-patent/shlib_version +++ b/lib/libssl/ssl-patent/shlib_version @@ -1,2 +1,2 @@ -major=1 +major=2 minor=1 |