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."
11 $ WRITE SYS$OUTPUT "Should be the directory where you want things installed."
15 $ ROOT = F$PARSE(P1,"[]A.;0",,,"SYNTAX_ONLY,NO_CONCEAL") - "A.;0"
16 $ ROOT_DEV = F$PARSE(ROOT,,,"DEVICE","SYNTAX_ONLY")
17 $ ROOT_DIR = F$PARSE(ROOT,,,"DIRECTORY","SYNTAX_ONLY") -
18 - "[000000." - "][" - "[" - "]"
19 $ ROOT = ROOT_DEV + "[" + ROOT_DIR
21 $ DEFINE/NOLOG WRK_SSLROOT 'ROOT'.] /TRANS=CONC
22 $ DEFINE/NOLOG WRK_SSLVLIB WRK_SSLROOT:[VAX_LIB]
23 $ DEFINE/NOLOG WRK_SSLALIB WRK_SSLROOT:[ALPHA_LIB]
24 $ DEFINE/NOLOG WRK_SSLINCLUDE WRK_SSLROOT:[INCLUDE]
26 $ IF F$PARSE("WRK_SSLROOT:[000000]") .EQS. "" THEN -
27 CREATE/DIR/LOG WRK_SSLROOT:[000000]
28 $ IF F$PARSE("WRK_SSLVLIB:") .EQS. "" THEN -
29 CREATE/DIR/LOG WRK_SSLVLIB:
30 $ IF F$PARSE("WRK_SSLALIB:") .EQS. "" THEN -
31 CREATE/DIR/LOG WRK_SSLALIB:
32 $ IF F$PARSE("WRK_SSLINCLUDE:") .EQS. "" THEN -
33 CREATE/DIR/LOG WRK_SSLINCLUDE:
35 $ SDIRS := ,MD2,MD4,MD5,SHA,MDC2,HMAC,RIPEMD,-
36 DES,RC2,RC4,RC5,IDEA,BF,CAST,-
37 BN,EC,RSA,DSA,DH,DSO,ENGINE,RIJNDAEL,-
38 BUFFER,BIO,STACK,LHASH,RAND,ERR,OBJECTS,-
39 EVP,ASN1,PEM,X509,X509V3,CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP,UI
40 $ EXHEADER_ := crypto.h,tmdiff.h,opensslv.h,opensslconf.h,ebcdic.h,symhacks.h
41 $ EXHEADER_MD2 := md2.h
42 $ EXHEADER_MD4 := md4.h
43 $ EXHEADER_MD5 := md5.h
44 $ EXHEADER_SHA := sha.h
45 $ EXHEADER_MDC2 := mdc2.h
46 $ EXHEADER_HMAC := hmac.h
47 $ EXHEADER_RIPEMD := ripemd.h
48 $ EXHEADER_DES := des.h
49 $ EXHEADER_RC2 := rc2.h
50 $ EXHEADER_RC4 := rc4.h
51 $ EXHEADER_RC5 := rc5.h
52 $ EXHEADER_IDEA := idea.h
53 $ EXHEADER_BF := blowfish.h
54 $ EXHEADER_CAST := cast.h
57 $ EXHEADER_RSA := rsa.h
58 $ EXHEADER_DSA := dsa.h
60 $ EXHEADER_DSO := dso.h
61 $ EXHEADER_ENGINE := engine.h
62 $ EXHEADER_RIJNDAEL := rd_fst.h,rijndael.h
63 $ EXHEADER_BUFFER := buffer.h
64 $ EXHEADER_BIO := bio.h
65 $ EXHEADER_STACK := stack.h,safestack.h
66 $ EXHEADER_LHASH := lhash.h
67 $ EXHEADER_RAND := rand.h
68 $ EXHEADER_ERR := err.h
69 $ EXHEADER_OBJECTS := objects.h,obj_mac.h
70 $ EXHEADER_EVP := evp.h
71 $ EXHEADER_ASN1 := asn1.h,asn1_mac.h,asn1t.h
72 $ EXHEADER_PEM := pem.h,pem2.h
73 $ EXHEADER_X509 := x509.h,x509_vfy.h
74 $ EXHEADER_X509V3 := x509v3.h
75 $ EXHEADER_CONF := conf.h,conf_api.h
76 $ EXHEADER_TXT_DB := txt_db.h
77 $ EXHEADER_PKCS7 := pkcs7.h
78 $ EXHEADER_PKCS12 := pkcs12.h
79 $ EXHEADER_COMP := comp.h
80 $ EXHEADER_OCSP := ocsp.h
81 $ EXHEADER_UI := ui.h,ui_compat.h
84 $ VEXE_DIR := [-.VAX.EXE.CRYPTO]
85 $ AEXE_DIR := [-.AXP.EXE.CRYPTO]
89 $ D = F$EDIT(F$ELEMENT(I, ",", SDIRS),"TRIM")
91 $ IF D .EQS. "," THEN GOTO LOOP_SDIRS_END
95 $ COPY 'tmp' WRK_SSLINCLUDE: /LOG
97 $ COPY [.'D']'tmp' WRK_SSLINCLUDE: /LOG
99 $ SET FILE/PROT=WORLD:RE WRK_SSLINCLUDE:'tmp'
105 $ E = F$EDIT(F$ELEMENT(I, ",", LIBS),"TRIM")
107 $ IF E .EQS. "," THEN GOTO LOOP_LIB_END
109 $ IF F$SEARCH(VEXE_DIR+E+".OLB") .NES. ""
111 $ COPY 'VEXE_DIR''E'.OLB WRK_SSLVLIB:'E'.OLB/log
112 $ SET FILE/PROT=W:RE WRK_SSLVLIB:'E'.OLB
114 $ ! Preparing for the time when we have shareable images
115 $ IF F$SEARCH(VEXE_DIR+E+".EXE") .NES. ""
117 $ COPY 'VEXE_DIR''E'.EXE WRK_SSLVLIB:'E'.EXE/log
118 $ SET FILE/PROT=W:RE WRK_SSLVLIB:'E'.EXE
120 $ IF F$SEARCH(AEXE_DIR+E+".OLB") .NES. ""
122 $ COPY 'AEXE_DIR''E'.OLB WRK_SSLALIB:'E'.OLB/log
123 $ SET FILE/PROT=W:RE WRK_SSLALIB:'E'.OLB
125 $ ! Preparing for the time when we have shareable images
126 $ IF F$SEARCH(AEXE_DIR+E+".EXE") .NES. ""
128 $ COPY 'AEXE_DIR''E'.EXE WRK_SSLALIB:'E'.EXE/log
129 $ SET FILE/PROT=W:RE WRK_SSLALIB:'E'.EXE