diff options
author | Christian Hesse | 2017-01-25 22:22:38 +0100 |
---|---|---|
committer | Christian Hesse | 2017-01-25 22:22:38 +0100 |
commit | e4a4095ee9af63dfb4093e98d13c5f8844caa560 (patch) | |
tree | 14e407619d6b6fdccb85f5bad0577159f2d48bd5 /0001-plugin.patch | |
parent | 878384b4e20d8f6a30fd3484d948c0ca9dc394c0 (diff) | |
download | aur-e4a4095ee9af63dfb4093e98d13c5f8844caa560.tar.gz |
commit openvpn-git 2.4.rc2.r26.g4590c383-1
Diffstat (limited to '0001-plugin.patch')
-rw-r--r-- | 0001-plugin.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/0001-plugin.patch b/0001-plugin.patch deleted file mode 100644 index 803c7c5510b1..000000000000 --- a/0001-plugin.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index f4073d0..5fe652e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -301,13 +301,12 @@ AC_ARG_WITH( - [with_crypto_library="openssl"] - ) - --AC_ARG_WITH( -- [plugindir], -- [AS_HELP_STRING([--with-plugindir], [plugin directory @<:@default=LIBDIR/openvpn@:>@])], -- , -- [with_plugindir="\$(libdir)/openvpn/plugins"] --) -- -+AC_ARG_VAR([PLUGINDIR], [Path of plug-in directory @<:@default=LIBDIR/openvpn/plugins@:>@]) -+if test -n "${PLUGINDIR}"; then -+ plugindir="${PLUGINDIR}" -+else -+ plugindir="\${libdir}/openvpn/plugins" -+fi - - AC_DEFINE_UNQUOTED([TARGET_ALIAS], ["${host}"], [A string representing our host]) - case "$host" in -@@ -1245,7 +1244,6 @@ AM_CONDITIONAL([ENABLE_PLUGIN_AUTH_PAM], [test "${enable_plugin_auth_pam}" = "ye - AM_CONDITIONAL([ENABLE_PLUGIN_DOWN_ROOT], [test "${enable_plugin_down_root}" = "yes"]) - AM_CONDITIONAL([ENABLE_CRYPTO], [test "${enable_crypto}" = "yes"]) - --plugindir="${with_plugindir}" - sampledir="\$(docdir)/sample" - AC_SUBST([plugindir]) - AC_SUBST([sampledir]) -diff --git a/src/openvpn/Makefile.am b/src/openvpn/Makefile.am -index 4c18449..188834a 100644 ---- a/src/openvpn/Makefile.am -+++ b/src/openvpn/Makefile.am -@@ -27,7 +27,8 @@ AM_CFLAGS = \ - $(OPTIONAL_CRYPTO_CFLAGS) \ - $(OPTIONAL_LZO_CFLAGS) \ - $(OPTIONAL_LZ4_CFLAGS) \ -- $(OPTIONAL_PKCS11_HELPER_CFLAGS) -+ $(OPTIONAL_PKCS11_HELPER_CFLAGS) \ -+ -DPLUGIN_LIBDIR=\"${plugindir}\" - if WIN32 - # we want unicode entry point but not the macro - AM_CFLAGS += -municode -UUNICODE |