69ef562811
- Include upstream patches: + 4eac410.patch Fix string comprehension + a138c0d.patch Fix incorrect "openssl rand" usage + 83a1a21.patch Add --copy-ext option - Include upstream patches: + d20d2b3.patch Update docs and examples to fit changes in 534f673 - Adapted easy-rsa-packaging.patch to work with upstream patch - Include upstream patches: + 534f673.patch Make $PWD/pki the default PKI location - Adapted easy-rsa-packaging.patch to work with upstream patch - Treat /etc/easy-rsa as public default config, no default vars OBS-URL: https://build.opensuse.org/request/show/518428 OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=10
37 lines
937 B
Diff
37 lines
937 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 ****
|
|
local vars=
|
|
|
|
# set up program path
|
|
! local prog_vars="${0%/*}/vars"
|
|
# set up PKI path
|
|
local pki_vars="${EASYRSA_PKI:-$PWD/pki}/vars"
|
|
|
|
--- 1014,1020 ----
|
|
local vars=
|
|
|
|
# set up program path
|
|
! local prog_vars="/etc/easy-rsa/vars"
|
|
# set up PKI path
|
|
local 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
|