Commit Graph

6 Commits

Author SHA1 Message Date
Luiz Angelo Daros de Luca 7b71d000da openvpn-easy-rsa: update to 3.1.3
Version 3.0.9 of EasyRSA introduces OpenSSL 3 (3.0.3) support.

For other changes, see:
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.0.9
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.0
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.1
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.2
- https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.3

Closes #21142

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2023-05-26 06:28:38 +03:00
Luiz Angelo Daros de Luca 4e0d54f4d2 openvpn-easy-rsa: make it reproducible
The "build" script was replacing a ~DATE~ with current date.
Now it uses $(SOURCE_DATE_EPOCH).

Fixes #17848

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2022-02-15 16:41:50 -08:00
Luiz Angelo Daros de Luca 2fe47aff5b openvpn-easy-rsa: add missing configfile
/etc/profile.d/50-openvpn-easy-rsa.sh was not listed as configfile
and changes were lost during upgrades.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2021-04-14 19:10:27 -07:00
Rosen Penev 2756e72598
openvpn-easy-rsa: use relative symlinks
Fixes dead symlinks under InstallDev.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-17 22:00:20 -08:00
Luiz Angelo Daros de Luca de8b7ddc8c 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>
2020-12-10 15:59:56 -03:00
Rosen Penev 0e77d0264e
openvpn-easy-rsa: import from base
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-01 12:37:37 -08:00