summaryrefslogtreecommitdiff
path: root/net-misc/sstp-client/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /net-misc/sstp-client/files
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'net-misc/sstp-client/files')
-rw-r--r--net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch b/net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch
new file mode 100644
index 000000000000..a3a41fb206a9
--- /dev/null
+++ b/net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch
@@ -0,0 +1,23 @@
+https://gitlab.com/eivnaes/sstp-client/-/merge_requests/2
+
+From 3cae209750549b17c547c3025859c0468cd5fcf6 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 10 May 2022 18:04:20 +0000
+Subject: [PATCH] configure.ac: fix bashism
+
+configure scripts are expected to work with POSIX compliant shells providing
+/bin/sh so use = instead of == to work with both Bash and other shells.
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/configure.ac
++++ b/configure.ac
+@@ -129,7 +129,7 @@ PKG_CHECK_EXISTS([pppd],
+ AM_CONDITIONAL(WITH_PPP_PLUGIN, test "${enable_ppp_plugin}" = "yes")
+ AC_ARG_WITH([pppd-auth-notify-support],
+ AS_HELP_STRING([--with-pppd-auth-notify-support], [is the auth-notifier supported in this pppd version]))
+-AS_IF([test "x$with_pppd_auth_notify_support" == "xyes" ],
++AS_IF([test "x$with_pppd_auth_notify_support" = "xyes" ],
+ [AC_DEFINE(USE_PPPD_AUTH_HOOK,1,[Define if pppd has support for client side authentication complete notification])
+ PPPD_AUTH_NOTIFIER="yes"],
+ [PPPD_AUTH_NOTIFIER="no"])
+GitLab