summaryrefslogtreecommitdiff
path: root/package/openvpn/patches/patch-easy-rsa_2_0_vars.orig
diff options
context:
space:
mode:
Diffstat (limited to 'package/openvpn/patches/patch-easy-rsa_2_0_vars.orig')
-rw-r--r--package/openvpn/patches/patch-easy-rsa_2_0_vars.orig20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/openvpn/patches/patch-easy-rsa_2_0_vars.orig b/package/openvpn/patches/patch-easy-rsa_2_0_vars.orig
new file mode 100644
index 000000000..d0cac2069
--- /dev/null
+++ b/package/openvpn/patches/patch-easy-rsa_2_0_vars.orig
@@ -0,0 +1,20 @@
+--- openvpn-2.2.1.orig/easy-rsa/2.0/vars 2011-07-01 10:31:26.000000000 +0200
++++ openvpn-2.2.1/easy-rsa/2.0/vars 2011-12-01 19:12:55.000000000 +0100
+@@ -12,7 +12,7 @@
+ # This variable should point to
+ # the top level of the easy-rsa
+ # tree.
+-export EASY_RSA="`pwd`"
++export EASY_RSA="/etc/easy-rsa"
+
+ #
+ # This variable should point to
+@@ -26,7 +26,7 @@ export GREP="grep"
+ # This variable should point to
+ # the openssl.cnf file included
+ # with easy-rsa.
+-export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`
++export KEY_CONFIG=/etc/easy-rsa/openssl.cnf
+
+ # Edit this variable to point to
+ # your soon-to-be-created key