Skip to content

Commit ec65f1d

Browse files
author
Joerg Mayer
committed
macos-setup.sh: Update GNUTLS, NETTLE and GMP versions
Fix patch location for non-default build directory Change-Id: I8454e77de1cec53609bd7ab7f565b06b1ad79923 Reviewed-on: https://code.wireshark.org/review/37325 Reviewed-by: Jörg Mayer <[email protected]>
1 parent 885ac0c commit ec65f1d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/macos-setup.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fi
129129
# the optional libraries are required by other optional libraries.
130130
#
131131
LIBSMI_VERSION=0.4.8
132-
GNUTLS_VERSION=3.4.17
132+
GNUTLS_VERSION=3.6.14
133133
if [ "$GNUTLS_VERSION" ]; then
134134
#
135135
# We'll be building GnuTLS, so we may need some additional libraries.
@@ -138,12 +138,12 @@ if [ "$GNUTLS_VERSION" ]; then
138138
#
139139
GNUTLS_MAJOR_VERSION="`expr $GNUTLS_VERSION : '\([0-9][0-9]*\).*'`"
140140
GNUTLS_MINOR_VERSION="`expr $GNUTLS_VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\).*'`"
141-
NETTLE_VERSION=3.3
141+
NETTLE_VERSION=3.6
142142

143143
#
144144
# And, in turn, Nettle requires GMP.
145145
#
146-
GMP_VERSION=6.1.2
146+
GMP_VERSION=6.2.0
147147
fi
148148
# Use 5.2.4, not 5.3, for now; lua_bitop.c hasn't been ported to 5.3
149149
# yet, and we need to check for compatibility issues (we'd want Lua
@@ -1139,7 +1139,7 @@ install_gnutls() {
11391139
bzcat gnutls-$GNUTLS_VERSION.tar.bz2 | tar xf - || exit 1
11401140
fi
11411141
cd gnutls-$GNUTLS_VERSION
1142-
CFLAGS="$CFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" CXXFLAGS="$CXXFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" LDFLAGS="$LDFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" ./configure --with-included-libtasn1 --with-included-unistring --without-p11-kit || exit 1
1142+
CFLAGS="$CFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" CXXFLAGS="$CXXFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" LDFLAGS="$LDFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" ./configure --with-included-libtasn1 --with-included-unistring --without-p11-kit --disable-guile || exit 1
11431143
make $MAKE_BUILD_OPTS || exit 1
11441144
$DO_MAKE_INSTALL || exit 1
11451145
cd ..
@@ -1637,7 +1637,7 @@ install_spandsp() {
16371637
# by all the gcc versions in the versions of Xcode that we
16381638
# support.
16391639
#
1640-
patch -p0 <../../macosx-support-lib-patches/spandsp-configure-patch || exit 1
1640+
patch -p0 <${topdir}/macosx-support-lib-patches/spandsp-configure-patch || exit 1
16411641
CFLAGS="$CFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" CXXFLAGS="$CXXFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" LDFLAGS="$LDFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" ./configure || exit 1
16421642
make $MAKE_BUILD_OPTS || exit 1
16431643
$DO_MAKE_INSTALL || exit 1

0 commit comments

Comments
 (0)