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_SSLVEXE WRK_SSLROOT:[VAX_EXE]
23 $ DEFINE/NOLOG WRK_SSLAEXE WRK_SSLROOT:[ALPHA_EXE]
24 $ DEFINE/NOLOG WRK_SSLLIB WRK_SSLROOT:[LIB]
26 $ IF F$PARSE("WRK_SSLROOT:[000000]") .EQS. "" THEN -
27 CREATE/DIR/LOG WRK_SSLROOT:[000000]
28 $ IF F$PARSE("WRK_SSLVEXE:") .EQS. "" THEN -
29 CREATE/DIR/LOG WRK_SSLVEXE:
30 $ IF F$PARSE("WRK_SSLAEXE:") .EQS. "" THEN -
31 CREATE/DIR/LOG WRK_SSLAEXE:
32 $ IF F$PARSE("WRK_SSLLIB:") .EQS. "" THEN -
33 CREATE/DIR/LOG WRK_SSLLIB:
37 $ VEXE_DIR := [-.VAX.EXE.APPS]
38 $ AEXE_DIR := [-.AXP.EXE.APPS]
42 $ E = F$EDIT(F$ELEMENT(I, ",", EXE),"TRIM")
44 $ IF E .EQS. "," THEN GOTO LOOP_EXE_END
46 $ IF F$SEARCH(VEXE_DIR+E+".EXE") .NES. ""
48 $ COPY 'VEXE_DIR''E'.EXE WRK_SSLVEXE:'E'.EXE/log
49 $ SET FILE/PROT=W:RE WRK_SSLVEXE:'E'.EXE
51 $ IF F$SEARCH(AEXE_DIR+E+".EXE") .NES. ""
53 $ COPY 'AEXE_DIR''E'.EXE WRK_SSLAEXE:'E'.EXE/log
54 $ SET FILE/PROT=W:RE WRK_SSLAEXE:'E'.EXE
61 $ COPY CA.COM WRK_SSLAEXE:CA.COM/LOG
62 $ SET FILE/PROT=W:RE WRK_SSLAEXE:CA.COM
63 $ COPY CA.COM WRK_SSLVEXE:CA.COM/LOG
64 $ SET FILE/PROT=W:RE WRK_SSLVEXE:CA.COM
65 $ COPY OPENSSL-VMS.CNF WRK_SSLROOT:[000000]OPENSSL.CNF/LOG
66 $ SET FILE/PROT=W:R WRK_SSLROOT:[000000]OPENSSL.CNF