easy-rsa/suse-packaging.patch
Stefan Jakobs 512e30e743 Accepting request 850786 from home:oreinert:branches:network:vpn
- update to 3.0.8 (2020-09-09)
  * Provide --version option (#372)
  * Version information now within generated certificates like on *nix
  * Fixed issue where gen-dh overwrote existing files without warning (#373)
  * Fixed issue with ED/EC certificates were still signed by RSA (#374)
  * Added support for export-p8 (#339)
  * Clarified error message (#384)
  * 2->3 upgrade now errors and prints message when vars isn't found (#377)
  * Update OpenSSL Windows binaries to 1.1.1g
  * Reverted OpenSSL back to 1.1.0j

OBS-URL: https://build.opensuse.org/request/show/850786
OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=29
2020-11-26 07:01:50 +00:00

15 lines
486 B
Diff

--- easyrsa.orig 2020-11-20 15:05:31.051230522 +0100
+++ easyrsa 2020-11-20 15:08:45.769207521 +0100
@@ -1664,10 +1664,7 @@
vars=
# set up program path
- prog_file="$0"
- prog_file2="$(which -- "$prog_file" 2>/dev/null)" && prog_file="$prog_file2"
- prog_file2="$(readlink -f "$prog_file" 2>/dev/null)" && prog_file="$prog_file2"
- prog_dir="${prog_file%/*}"
+ prog_dir="/etc/easy-rsa"
prog_vars="${prog_dir}/vars"
# set up PKI path
pki_vars="${EASYRSA_PKI:-$PWD/pki}/vars"