easy-rsa/easy-rsa-packaging.patch
Olav Reinert bb0fc22518 Accepting request 497926 from home:bruno_friedmann:branches:network:vpn
- Include upstream patches 
  + f174800.patch 
     Generate random serial number for all certificates 
  + 29d4dee.patch
     Fixes #91 basename: invalid option -- 's'   
  + b93d0a1.patch
     Spelling fixes and sentence structure improvements   
  + fb4d8d8.patch
     Fix comment indicating the end of the function verify_file()    
  + b75faa4.patch
     Convert README and COPYING into markdown files 
- Rename openSUSE specific patch easyrsa.packaging.patch to
  easy-rsa-packaging.patch
- spec-cleaner -m (Add also SUSE copyrights)

OBS-URL: https://build.opensuse.org/request/show/497926
OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=3
2017-05-26 17:07:13 +00:00

13 lines
453 B
Diff

--- easyrsa3/easyrsa.orig 2015-04-05 21:42:25.422949081 +0200
+++ easyrsa3/easyrsa 2015-04-05 21:43:55.493395425 +0200
@@ -972,6 +972,9 @@
# command-line path:
if [ -f "$EASYRSA_VARS_FILE" ]; then
vars="$EASYRSA_VARS_FILE"
+ # packaging defaults
+ elif [ -f "/etc/easy-rsa/vars" ]; then
+ vars="/etc/easy-rsa/vars"
# EASYRSA_PKI, if defined:
elif [ -n "$EASYRSA_PKI" ] && [ -f "$EASYRSA_PKI/vars" ]; then
vars="$EASYRSA_PKI/vars"