diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2017-10-31 14:19:51 -0600 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-10-31 14:19:51 -0600 |
commit | e03dcf494e42f85395d299769953b3c37618f0c4 (patch) | |
tree | 63afb669a7c65aaaa9923cf1e70af1f009b09880 /package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch | |
parent | bd60c9063d1cc80631101f65a905ba6d397029f8 (diff) | |
download | mtk-20170518-e03dcf494e42f85395d299769953b3c37618f0c4.zip mtk-20170518-e03dcf494e42f85395d299769953b3c37618f0c4.tar.gz mtk-20170518-e03dcf494e42f85395d299769953b3c37618f0c4.tar.bz2 |
iperf3: update to 3.3 and refresh patches
Taking the same patchset I've submitted upstream for inclusion.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat (limited to 'package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch')
-rw-r--r-- | package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch b/package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch deleted file mode 100644 index d49e421..0000000 --- a/package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch +++ /dev/null @@ -1,41 +0,0 @@ -commit 3fd1a2ae907bff2d7593c0bb9944aa05eca7b58d -Author: ralcini <roberto.alcini@gmail.com> -Date: Mon Aug 14 22:43:38 2017 +0200 - - fix for issue #624 - force build without openssl (#631) - - * fix: now --without-openssl configure flags works - enh: if openssl support is required and no valid installation is found, now it raise an error - - * enh: added warning if building without openssl (iperf_auth disabled) - -diff --git a/configure.ac b/configure.ac -index 3c56cb3..79f3869 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -101,13 +101,18 @@ AC_CHECK_HEADERS([netinet/sctp.h], - #endif - ]) - --# Check for OPENSSL support --AX_CHECK_OPENSSL( -- AC_DEFINE([HAVE_SSL], [1], [OpenSSL Is Available]) --) --LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" --LIBS="$OPENSSL_LIBS $LIBS" --CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" -+if test "x$with_openssl" = "xno"; then -+ AC_MSG_WARN( [Building without OpenSSL; disabling iperf_auth functionality.] ) -+else -+ # Check for OPENSSL support -+ AX_CHECK_OPENSSL( -+ [ AC_DEFINE([HAVE_SSL], [1], [OpenSSL Is Available]) ], -+ [ AC_MSG_FAILURE([--with-openssl was given, but test for openssl failed]) ] -+ ) -+ LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" -+ LIBS="$OPENSSL_LIBS $LIBS" -+ CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" -+fi - - # Check for TCP_CONGESTION sockopt (believed to be Linux and FreeBSD only) - AC_CACHE_CHECK([TCP_CONGESTION socket option], |