Olav Reinert
44c83411f5
OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=19
37 lines
901 B
Diff
37 lines
901 B
Diff
*** easyrsa3/easyrsa.orig 2017-07-18 23:46:26.431057777 +0200
|
|
--- easyrsa3/easyrsa 2017-07-19 05:24:59.583924924 +0200
|
|
***************
|
|
*** 1014,1020 ****
|
|
vars=
|
|
|
|
# set up program path
|
|
! prog_vars="${0%/*}/vars"
|
|
# set up PKI path
|
|
pki_vars="${EASYRSA_PKI:-$PWD/pki}/vars"
|
|
|
|
--- 1014,1020 ----
|
|
vars=
|
|
|
|
# set up program path
|
|
! prog_vars="/etc/easy-rsa/vars"
|
|
# set up PKI path
|
|
pki_vars="${EASYRSA_PKI:-$PWD/pki}/vars"
|
|
|
|
***************
|
|
*** 1041,1047 ****
|
|
fi
|
|
|
|
# Set defaults, preferring existing env-vars if present
|
|
! set_var EASYRSA "${0%/*}"
|
|
set_var EASYRSA_OPENSSL openssl
|
|
set_var EASYRSA_PKI "$PWD/pki"
|
|
set_var EASYRSA_DN cn_only
|
|
--- 1041,1047 ----
|
|
fi
|
|
|
|
# Set defaults, preferring existing env-vars if present
|
|
! set_var EASYRSA "/etc/easy-rsa"
|
|
set_var EASYRSA_OPENSSL openssl
|
|
set_var EASYRSA_PKI "$PWD/pki"
|
|
set_var EASYRSA_DN cn_only
|