SHA256
1
0
forked from pool/easy-rsa
Files
easy-rsa/easyrsa.packaging.patch
Marius Tomaschewski 1ec4d7a9ce Accepting request 411583 from home:stefjakobs
Hi,

I'm not sure if this is the right location for this package, but as easy-rsa is a sub project of openvpn it might fit in the vpn project.

Thanks for considering to accept this package.
Stefan

OBS-URL: https://build.opensuse.org/request/show/411583
OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=1
2016-11-29 08:34:59 +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"