aboutsummaryrefslogtreecommitdiff
path: root/net/openvpn-easy-rsa/files
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2020-12-07 18:00:37 -0300
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>2020-12-10 15:59:56 -0300
commitde8b7ddc8cacff4b0c575fc60f48129c72a56544 (patch)
tree0fd676309bc3a06ad1f411d409b628cadbfe46f1 /net/openvpn-easy-rsa/files
parent8310fc5a177bc4eea2be44a066ccb8eab1755a42 (diff)
openvpn-easy-rsa: bump to 3.0.8
New easyrsa will look for missing vars and x509-types where easyrsa is located (following symlink). /usr/bin/easyrsa is now a link to /usr/lib/easyrsa/easyrsa and /usr/lib/easyrsa/{vars,x509-types} a link to /etc/easyrsa/{vars,x509-types}. This keeps the same previous OpenWrt easyrsa behavior which tries to use $PWD/pki and /etc/easyrsa/{vars,x509-types}, but without patching it. Easyrsa can also use env vars to set pki root path (instead of /usr/lib/easyrsa), pki path (instead of $PWD/pki) and vars path. Those variables are commented in /etc/profile.d/50-openvpn-easy-rsa.sh as an example of how to make easyrsa run independent of $PWD. That scriptlet also sets $EASYRSA_TEMP_DIR from $EASYRSA_PKI/tmp to /tmp in order to avoid writing to persistent media (normally flash). However, as a profile scriptlet, it will only be used after session is restarted. The "build" tgz was replaced by the "source" tar. "build" version has a different file structure, making any patch backports too complex. I'm also putting myself as maintainer. Closes openwrt/openwrt#2926, since it moved to openwrt/packages. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'net/openvpn-easy-rsa/files')
-rw-r--r--net/openvpn-easy-rsa/files/openvpn-easy-rsa.profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/openvpn-easy-rsa/files/openvpn-easy-rsa.profile b/net/openvpn-easy-rsa/files/openvpn-easy-rsa.profile
new file mode 100644
index 000000000..99a824ae5
--- /dev/null
+++ b/net/openvpn-easy-rsa/files/openvpn-easy-rsa.profile
@@ -0,0 +1,5 @@
+# default PKI dir
+#export EASYRSA=${EASYRSA:-/etc/easy-rsa}
+#export EASYRSA_PKI=${EASYRSA_PKI:-$EASYRSA/pki}
+#export EASYRSA_VARS_FILE=${EASYRSA_VARS_FILE:-$EASYRSA/vars}
+export EASYRSA_TEMP_DIR=${EASYRSA_TEMP_DIR:-${TMPDIR:-/tmp/}}