easy-rsa/suse-packaging.patch
Olav Reinert 7818d26efd Accepting request 1039861 from home:dirkmueller:Factory
- update to 3.1.1:
   * Remove command 'renewable' (#715)
   * Expand 'show-renew', include 'renewed/certs_by_serial' (#700)
   * Resolve long-standing issue with --subca-len=N (#691)
   *  ++ NOTICE: Add EasyRSA-Renew-and-Revoke.md (#690)
   * Require 'openssl-easyrsa.cnf' is up to date (#695}
   * Introduce 'renew' (version 3). Only renew cert (#688)
   * Always ensure X509-types files exist (#581 #696)
   * Expand alias '--days' to all suitable options with a period (#674)
   * Introduce --keep-tmp, keep temp files for debugging (#667)
   * Introduce Option -q|--quiet, disable information output (#703)
   * Add serialNumber (OID 2.5.4.5) to DN 'org' mode (#606)
   * Support ampersand and dollar-sign in vars file (#590)
   * Introduce 'rewind-renew' (#579)
   * Expand status reports to include checking a single cert (#577)
   * Introduce 'revoke-renewed' (#547)
   * update OpenSSL for Windows to 3.0.5

OBS-URL: https://build.opensuse.org/request/show/1039861
OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=35
2022-12-13 22:54:13 +00:00

14 lines
512 B
Diff

Index: easyrsa
===================================================================
--- easyrsa.orig
+++ easyrsa
@@ -4012,7 +4012,7 @@ vars_setup() {
# Removed for basic sanity - To re-enable provide a REASON
#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"
if [ "$prog_dir" = . ] || [ "$prog_dir" = "$PWD" ]; then
prog_in_pwd=1
else