mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Update VMS build procedures to match the current status.
This commit is contained in:
parent
73e92de577
commit
66a0def81b
@ -91,7 +91,7 @@ $ ENCRYPT_TYPES = "Basic,MD2,MD4,MD5,SHA,MDC2,HMAC,RIPEMD,"+ -
|
||||
"BN,RSA,DSA,DH,DSO,ENGINE,RIJNDAEL,"+ -
|
||||
"BUFFER,BIO,STACK,LHASH,RAND,ERR,OBJECTS,"+ -
|
||||
"EVP,EVP_2,ASN1,ASN1_2,PEM,X509,X509V3,"+ -
|
||||
"CONF,TXT_DB,PKCS7,PKCS12,COMP"
|
||||
"CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP"
|
||||
$ ENCRYPT_PROGRAMS = "DES,PKCS7"
|
||||
$!
|
||||
$! Check To Make Sure We Have Valid Command Line Parameters.
|
||||
@ -196,18 +196,19 @@ $ LIB_BF = "bf_skey,bf_ecb,bf_enc,bf_cfb64,bf_ofb64"
|
||||
$ LIB_CAST = "c_skey,c_ecb,c_enc,c_cfb64,c_ofb64"
|
||||
$ LIB_BN_ASM = "[.asm]vms.mar,vms-helper"
|
||||
$ IF F$TRNLNM("OPENSSL_NO_ASM").OR.ARCH.EQS."AXP" THEN LIB_BN_ASM = "bn_asm"
|
||||
$ LIB_BN = "bn_add,bn_div,bn_exp,bn_lib,bn_ctx,bn_mul,bn_mod,bn_kron,bn_sqrt"+ -
|
||||
$ LIB_BN = "bn_add,bn_div,bn_exp,bn_lib,bn_ctx,bn_mul,bn_mod,"+ -
|
||||
"bn_print,bn_rand,bn_shift,bn_word,bn_blind,"+ -
|
||||
"bn_gcd,bn_prime,bn_err,bn_sqr,"+LIB_BN_ASM+",bn_recp,bn_mont,"+ -
|
||||
"bn_mpi,bn_exp2"
|
||||
"bn_kron,bn_sqrt,bn_gcd,bn_prime,bn_err,bn_sqr,"+LIB_BN_ASM+","+ -
|
||||
"bn_recp,bn_mont,bn_mpi,bn_exp2"
|
||||
$ LIB_RSA = "rsa_eay,rsa_gen,rsa_lib,rsa_sign,rsa_saos,rsa_err,"+ -
|
||||
"rsa_pk1,rsa_ssl,rsa_none,rsa_oaep,rsa_chk,rsa_null"
|
||||
"rsa_pk1,rsa_ssl,rsa_none,rsa_oaep,rsa_chk,rsa_null,"+ -
|
||||
"rsa_asn1"
|
||||
$ LIB_DSA = "dsa_gen,dsa_key,dsa_lib,dsa_asn1,dsa_vrf,dsa_sign,dsa_err,dsa_ossl"
|
||||
$ LIB_DH = "dh_gen,dh_key,dh_lib,dh_check,dh_err"
|
||||
$ LIB_DH = "dh_asn1,dh_gen,dh_key,dh_lib,dh_check,dh_err"
|
||||
$ LIB_DSO = "dso_dl,dso_dlfcn,dso_err,dso_lib,dso_null,"+ -
|
||||
"dso_openssl,dso_win32,dso_vms"
|
||||
$ LIB_ENGINE = "engine_err,engine_lib,engine_list,engine_all,engine_openssl,"+ -
|
||||
"hw_atalla,hw_cswift,hw_ncipher,hw_nuron"
|
||||
"hw_atalla,hw_cswift,hw_ncipher,hw_nuron,hw_ubsec"
|
||||
$ LIB_RIJNDAEL = "rd_fst"
|
||||
$ LIB_BUFFER = "buffer,buf_err"
|
||||
$ LIB_BIO = "bio_lib,bio_cb,bio_err,"+ -
|
||||
@ -232,17 +233,16 @@ $ LIB_EVP_2 = "m_null,m_md2,m_md4,m_md5,m_sha,m_sha1," + -
|
||||
"c_all,c_allc,c_alld,evp_lib,bio_ok,"+-
|
||||
"evp_pkey,evp_pbe,p5_crpt,p5_crpt2"
|
||||
$ LIB_ASN1 = "a_object,a_bitstr,a_utctm,a_gentm,a_time,a_int,a_octet,"+ -
|
||||
"a_null,a_print,a_type,a_set,a_dup,a_d2i_fp,a_i2d_fp,a_bmp,"+ -
|
||||
"a_enum,a_vis,a_utf8,a_sign,a_digest,a_verify,a_mbstr,a_strex,"+ -
|
||||
"x_algor,x_val,x_pubkey,x_sig,x_req,x_attrib,"+ -
|
||||
"a_print,a_type,a_set,a_dup,a_d2i_fp,a_i2d_fp,"+ -
|
||||
"a_enum,a_utf8,a_sign,a_digest,a_verify,a_mbstr,a_strex,"+ -
|
||||
"x_algor,x_val,x_pubkey,x_sig,x_req,x_attrib,x_bignum,"+ -
|
||||
"x_name,x_cinf,x_x509,x_x509a,x_crl,x_info,x_spki,nsseq,"+ -
|
||||
"d2i_r_pr,i2d_r_pr,d2i_r_pu,i2d_r_pu,"+ -
|
||||
"d2i_s_pr,i2d_s_pr,d2i_s_pu,i2d_s_pu,"+ -
|
||||
"d2i_pu,d2i_pr,i2d_pu,i2d_pr"
|
||||
$ LIB_ASN1_2 = "t_req,t_x509,t_x509a,t_crl,t_pkey,t_spki,t_bitst,"+ -
|
||||
"p7_i_s,p7_signi,p7_signd,p7_recip,p7_enc_c,p7_evp,"+ -
|
||||
"p7_dgst,p7_s_e,p7_enc,p7_lib,"+ -
|
||||
"f_int,f_string,i2d_dhp,i2d_dsap,d2i_dhp,d2i_dsap,n_pkey,"+ -
|
||||
"tasn_new,tasn_free,tasn_enc,tasn_dec,tasn_utl,tasn_typ,"+ -
|
||||
"f_int,f_string,n_pkey,"+ -
|
||||
"f_enum,a_hdr,x_pkey,a_bool,x_exten,"+ -
|
||||
"asn1_par,asn1_lib,asn1_err,a_meth,a_bytes,a_strnid,"+ -
|
||||
"evp_asn1,asn_pack,p5_pbe,p5_pbev2,p8_pkey"
|
||||
@ -255,15 +255,19 @@ $ LIB_X509 = "x509_def,x509_d2,x509_r2x,x509_cmp,"+ -
|
||||
"x509_trs,by_file,by_dir"
|
||||
$ LIB_X509V3 = "v3_bcons,v3_bitst,v3_conf,v3_extku,v3_ia5,v3_lib,"+ -
|
||||
"v3_prn,v3_utl,v3err,v3_genn,v3_alt,v3_skey,v3_akey,v3_pku,"+ -
|
||||
"v3_int,v3_enum,v3_sxnet,v3_cpols,v3_crld,v3_purp,v3_info"
|
||||
"v3_int,v3_enum,v3_sxnet,v3_cpols,v3_crld,v3_purp,v3_info,"+ -
|
||||
"v3_ocsp"
|
||||
$ LIB_CONF = "conf_err,conf_lib,conf_api,conf_def"
|
||||
$ LIB_TXT_DB = "txt_db"
|
||||
$ LIB_PKCS7 = "pk7_lib,pkcs7err,pk7_doit,pk7_smime,pk7_attr,pk7_mime"
|
||||
$ LIB_PKCS12 = "p12_add,p12_attr,p12_bags,p12_crpt,p12_crt,p12_decr,"+ -
|
||||
"p12_init,p12_key,p12_kiss,p12_lib,p12_mac,p12_mutl,"+ -
|
||||
"p12_sbag,p12_utl,p12_npas,pk12err"
|
||||
$ LIB_PKCS7 = "pk7_asn1,pk7_lib,pkcs7err,pk7_doit,pk7_smime,pk7_attr,"+ -
|
||||
"pk7_mime"
|
||||
$ LIB_PKCS12 = "p12_add,p12_asn,p12_attr,p12_crpt,p12_crt,p12_decr,"+ -
|
||||
"p12_init,p12_key,p12_kiss,p12_mutl,"+ -
|
||||
"p12_utl,p12_npas,pk12err"
|
||||
$ LIB_COMP = "comp_lib,"+ -
|
||||
"c_rle,c_zlib"
|
||||
$ LIB_OCSP = ocsp_asn,ocsp_ext,"+ -
|
||||
"ocsp_lib,ocsp_prn,ocsp_err"
|
||||
$!
|
||||
$! Setup exceptional compilations
|
||||
$!
|
||||
|
@ -67,7 +67,7 @@ $ EXHEADER_RAND := rand.h
|
||||
$ EXHEADER_ERR := err.h
|
||||
$ EXHEADER_OBJECTS := objects.h,obj_mac.h
|
||||
$ EXHEADER_EVP := evp.h
|
||||
$ EXHEADER_ASN1 := asn1.h,asn1_mac.h
|
||||
$ EXHEADER_ASN1 := asn1.h,asn1_mac.h,asn1t.h
|
||||
$ EXHEADER_PEM := pem.h,pem2.h
|
||||
$ EXHEADER_X509 := x509.h,x509_vfy.h
|
||||
$ EXHEADER_X509V3 := x509v3.h
|
||||
|
@ -398,7 +398,7 @@ $ EXHEADER_RAND := rand.h
|
||||
$ EXHEADER_ERR := err.h
|
||||
$ EXHEADER_OBJECTS := objects.h,obj_mac.h
|
||||
$ EXHEADER_EVP := evp.h
|
||||
$ EXHEADER_ASN1 := asn1.h,asn1_mac.h
|
||||
$ EXHEADER_ASN1 := asn1.h,asn1_mac.h,asn1t.h
|
||||
$ EXHEADER_PEM := pem.h,pem2.h
|
||||
$ EXHEADER_X509 := x509.h,x509_vfy.h
|
||||
$ EXHEADER_X509V3 := x509v3.h
|
||||
@ -430,7 +430,7 @@ $! COPY SYS$DISK:[.RSAREF]'EXHEADER' SYS$DISK:[.INCLUDE.OPENSSL]
|
||||
$!
|
||||
$! Copy All The ".H" Files From The [.SSL] Directory.
|
||||
$!
|
||||
$ EXHEADER := ssl.h,ssl2.h,ssl3.h,ssl23.h,tls1.h
|
||||
$ EXHEADER := ssl.h,ssl2.h,ssl3.h,ssl23.h,tls1.h,kssl.h
|
||||
$ COPY SYS$DISK:[.SSL]'EXHEADER' SYS$DISK:[.INCLUDE.OPENSSL]
|
||||
$!
|
||||
$! Purge all doubles
|
||||
|
@ -38,7 +38,7 @@ $ IF F$PARSE("WRK_SSLVEXE:") .EQS. "" THEN -
|
||||
$ IF F$PARSE("WRK_SSLAEXE:") .EQS. "" THEN -
|
||||
CREATE/DIR/LOG WRK_SSLAEXE:
|
||||
$
|
||||
$ EXHEADER := ssl.h,ssl2.h,ssl3.h,ssl23.h,tls1.h
|
||||
$ EXHEADER := ssl.h,ssl2.h,ssl3.h,ssl23.h,tls1.h,kssl.h
|
||||
$ E_EXE := ssl_task
|
||||
$ LIBS := LIBSSL
|
||||
$
|
||||
|
@ -192,7 +192,7 @@ $ LIB_SSL = "s2_meth,s2_srvr,s2_clnt,s2_lib,s2_enc,s2_pkt,"+ -
|
||||
"ssl_lib,ssl_err2,ssl_cert,ssl_sess,"+ -
|
||||
"ssl_ciph,ssl_stat,ssl_rsa,"+ -
|
||||
"ssl_asn1,ssl_txt,ssl_algs,"+ -
|
||||
"bio_ssl,ssl_err"
|
||||
"bio_ssl,ssl_err,kssl"
|
||||
$!
|
||||
$! Tell The User That We Are Compiling The Library.
|
||||
$!
|
||||
|
@ -21,10 +21,10 @@ $ else
|
||||
$ tests := -
|
||||
test_des,test_idea,test_sha,test_md4,test_md5,test_hmac,-
|
||||
test_md2,test_mdc2,-
|
||||
test_rmd,test_rc2,test_rc4,test_rc5,test_bf,test_cast,-
|
||||
test_rmd,test_rc2,test_rc4,test_rc5,test_bf,test_cast,test_rd,-
|
||||
test_rand,test_bn,test_enc,test_x509,test_rsa,test_crl,test_sid,-
|
||||
test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,-
|
||||
test_ss,test_ca,test_engine,test_ssl,test_rd
|
||||
test_ss,test_ca,test_engine,test_engine,test_ssl
|
||||
$ endif
|
||||
$ tests = f$edit(tests,"COLLAPSE")
|
||||
$
|
||||
@ -158,7 +158,7 @@ RECORD
|
||||
$ create/fdl=bntest-vms.fdl bntest-vms.sh
|
||||
$ open/append foo bntest-vms.sh
|
||||
$ type/output=foo: sys$input:
|
||||
<< __FOO__ bc | perl -e 'while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $1";} elsif (!/^0$/) {die "\nFailed! bc: $_";} print STDERR "."; $i++;} print STDERR "\n$i tests passed\n"'
|
||||
<< __FOO__ sh -c "`sh ./bctest`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
|
||||
$ define/user sys$output bntest-vms.tmp
|
||||
$ mcr 'texe_dir''bntest'
|
||||
$ copy bntest-vms.tmp foo:
|
||||
@ -225,7 +225,7 @@ $ write sys$output "Generate and certify a test certificate via the 'ca' pro
|
||||
$ @testca.com
|
||||
$ endif
|
||||
$ return
|
||||
$ test_engine:
|
||||
$ test_rd:
|
||||
$ write sys$output "test Rijndael"
|
||||
$ !mcr 'texe_dir''rdtest'
|
||||
$ return
|
||||
|
Loading…
Reference in New Issue
Block a user