diff options
author | Richard Levitte <levitte@openssl.org> | 2016-08-01 23:18:25 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-08-02 00:55:46 +0200 |
commit | cb926df2fa42bd1e396a600ff6212ee4f4e04118 (patch) | |
tree | 73a61d90d3def542a58a7972ecf08e4da19f3c17 /Configurations/descrip.mms.tmpl | |
parent | 66c2eb8b802c78dc9050779601e356a2f20cefe8 (diff) |
Don't overwrite existing installed openssl.cnf
Instead, install the new one as openssl.cnf.dist (openssl.cnf-dist on
VMS), and only install it as openssl.cnf if that file doesn't already
exist.
Also, don't install with exec privileges on VMS.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations/descrip.mms.tmpl')
-rw-r--r-- | Configurations/descrip.mms.tmpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 89930972a8..40e04bbb17 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -375,8 +375,11 @@ install_ssldirs : check_INSTALLTOP CREATE/DIR/PROT=(S:RWED,O:RWE,G,W) OSSL_DATAROOT:[MISC] COPY/PROT=W:RE $(MISC_SCRIPTS) OSSL_DATAROOT:[MISC] @ ! Install configuration file - COPY/PROT=W:RE {- sourcefile("apps", "openssl-vms.cnf") -} - - ossl_dataroot:[000000]openssl.cnf + COPY/PROT=W:R {- sourcefile("apps", "openssl-vms.cnf") -} - + ossl_dataroot:[000000]openssl.cnf-dist + IF F$SEARCH("OSSL_DATAROOT:[000000]openssl.cnf") .EQS. "" THEN - + COPY/PROT=W:R {- sourcefile("apps", "openssl-vms.cnf") -} - + ossl_dataroot:[000000]openssl.cnf install_shared : check_INSTALLTOP @ {- output_off() if $disabled{shared}; "" -} ! |