1 $! INSTALL.COM -- Installs the files in a given directory tree
3 $! Author: Richard Levitte <richard@levitte.org>
4 $! Time of creation: 22-MAY-1998 10:13
6 $! P1 root of the directory tree
10 $ WRITE SYS$OUTPUT "First argument missing."
12 "It should be the directory where you want things installed."
16 $ IF (F$GETSYI("CPU").LT.128)
20 $ ARCH = F$EDIT( F$GETSYI( "ARCH_NAME"), "UPCASE")
21 $ IF (ARCH .EQS. "") THEN ARCH = "UNK"
24 $ ROOT = F$PARSE(P1,"[]A.;0",,,"SYNTAX_ONLY,NO_CONCEAL") - "A.;0"
25 $ ROOT_DEV = F$PARSE(ROOT,,,"DEVICE","SYNTAX_ONLY")
26 $ ROOT_DIR = F$PARSE(ROOT,,,"DIRECTORY","SYNTAX_ONLY") -
27 - "[000000." - "][" - "[" - "]"
28 $ ROOT = ROOT_DEV + "[" + ROOT_DIR
30 $ DEFINE/NOLOG WRK_SSLROOT 'ROOT'.] /TRANS=CONC
31 $ DEFINE/NOLOG WRK_SSLLIB WRK_SSLROOT:['ARCH'_LIB]
32 $ DEFINE/NOLOG WRK_SSLINCLUDE WRK_SSLROOT:[INCLUDE]
34 $ IF F$PARSE("WRK_SSLROOT:[000000]") .EQS. "" THEN -
35 CREATE/DIR/LOG WRK_SSLROOT:[000000]
36 $ IF F$PARSE("WRK_SSLLIB:") .EQS. "" THEN -
37 CREATE/DIR/LOG WRK_SSLLIB:
38 $ IF F$PARSE("WRK_SSLINCLUDE:") .EQS. "" THEN -
39 CREATE/DIR/LOG WRK_SSLINCLUDE:
43 MD2,MD4,MD5,SHA,MDC2,HMAC,RIPEMD,WHRLPOOL,-
44 DES,AES,RC2,RC4,RC5,IDEA,BF,CAST,CAMELLIA,SEED,-
45 BN,EC,RSA,DSA,ECDSA,DH,ECDH,DSO,ENGINE,-
46 BUFFER,BIO,STACK,LHASH,RAND,ERR,-
47 EVP,ASN1,PEM,X509,X509V3,CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP,-
49 STORE,CMS,PQUEUE,TS,JPAKE
50 $ EXHEADER_ := crypto.h,tmdiff.h,opensslv.h,opensslconf.h,ebcdic.h,-
52 $ EXHEADER_OBJECTS := objects.h,obj_mac.h
53 $ EXHEADER_MD2 := md2.h
54 $ EXHEADER_MD4 := md4.h
55 $ EXHEADER_MD5 := md5.h
56 $ EXHEADER_SHA := sha.h
57 $ EXHEADER_MDC2 := mdc2.h
58 $ EXHEADER_HMAC := hmac.h
59 $ EXHEADER_RIPEMD := ripemd.h
60 $ EXHEADER_WHRLPOOL := whrlpool.h
61 $ EXHEADER_DES := des.h,des_old.h
62 $ EXHEADER_AES := aes.h
63 $ EXHEADER_RC2 := rc2.h
64 $ EXHEADER_RC4 := rc4.h
65 $ EXHEADER_RC5 := rc5.h
66 $ EXHEADER_IDEA := idea.h
67 $ EXHEADER_BF := blowfish.h
68 $ EXHEADER_CAST := cast.h
69 $ EXHEADER_CAMELLIA := camellia.h
70 $ EXHEADER_SEED := seed.h
71 $ EXHEADER_MODES := modes.h
74 $ EXHEADER_RSA := rsa.h
75 $ EXHEADER_DSA := dsa.h
76 $ EXHEADER_ECDSA := ecdsa.h
78 $ EXHEADER_ECDH := ecdh.h
79 $ EXHEADER_DSO := dso.h
80 $ EXHEADER_ENGINE := engine.h
81 $ EXHEADER_BUFFER := buffer.h
82 $ EXHEADER_BIO := bio.h
83 $ EXHEADER_STACK := stack.h,safestack.h
84 $ EXHEADER_LHASH := lhash.h
85 $ EXHEADER_RAND := rand.h
86 $ EXHEADER_ERR := err.h
87 $ EXHEADER_EVP := evp.h
88 $ EXHEADER_ASN1 := asn1.h,asn1_mac.h,asn1t.h
89 $ EXHEADER_PEM := pem.h,pem2.h
90 $ EXHEADER_X509 := x509.h,x509_vfy.h
91 $ EXHEADER_X509V3 := x509v3.h
92 $ EXHEADER_CONF := conf.h,conf_api.h
93 $ EXHEADER_TXT_DB := txt_db.h
94 $ EXHEADER_PKCS7 := pkcs7.h
95 $ EXHEADER_PKCS12 := pkcs12.h
96 $ EXHEADER_COMP := comp.h
97 $ EXHEADER_OCSP := ocsp.h
98 $ EXHEADER_UI := ui.h,ui_compat.h
99 $ EXHEADER_KRB5 := krb5_asn.h
100 $! EXHEADER_STORE := store.h,str_compat.h
101 $ EXHEADER_STORE := store.h
102 $ EXHEADER_CMS := cms.h
103 $ EXHEADER_PQUEUE := pqueue.h
104 $ EXHEADER_TS := ts.h
105 $ EXHEADER_JPAKE := jpake.h
108 $ VEXE_DIR := [-.VAX.EXE.CRYPTO]
109 $ AEXE_DIR := [-.AXP.EXE.CRYPTO]
113 $ D = F$EDIT(F$ELEMENT(I, ",", SDIRS),"TRIM")
115 $ IF D .EQS. "," THEN GOTO LOOP_SDIRS_END
119 $ COPY 'tmp' WRK_SSLINCLUDE: /LOG
121 $ COPY [.'D']'tmp' WRK_SSLINCLUDE: /LOG
123 $ SET FILE/PROT=WORLD:RE WRK_SSLINCLUDE:'tmp'
129 $ E = F$EDIT(F$ELEMENT(I, ",", LIBS),"TRIM")
131 $ IF E .EQS. "," THEN GOTO LOOP_LIB_END
133 $ IF F$SEARCH(VEXE_DIR+E+".OLB") .NES. ""
135 $ COPY 'VEXE_DIR''E'.OLB WRK_SSLLIB:'E'.OLB/log
136 $ SET FILE/PROT=W:RE WRK_SSLLIB:'E'.OLB
138 $ ! Preparing for the time when we have shareable images
139 $ IF F$SEARCH(VEXE_DIR+E+".EXE") .NES. ""
141 $ COPY 'VEXE_DIR''E'.EXE WRK_SSLLIB:'E'.EXE/log
142 $ SET FILE/PROT=W:RE WRK_SSLLIB:'E'.EXE