diff options
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index ebf687cc54..aa40c1e09a 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -137,7 +137,7 @@ GEOIP_VERSION=1.4.8 CARES_VERSION=1.12.0 -LIBSSH_VERSION=0.7.2 +LIBSSH_VERSION=0.7.3 NGHTTP2_VERSION=1.14.0 @@ -1473,7 +1473,7 @@ uninstall_c_ares() { install_libssh() { if [ "$LIBSSH_VERSION" -a ! -f libssh-$LIBSSH_VERSION-done ] ; then echo "Downloading, building, and installing libssh:" - [ -f libssh-$LIBSSH_VERSION.tar.xz ] || curl -L -O https://red.libssh.org/attachments/download/177/libssh-$LIBSSH_VERSION.tar.xz || exit 1 + [ -f libssh-$LIBSSH_VERSION.tar.xz ] || curl -L -O https://red.libssh.org/attachments/download/195/libssh-$LIBSSH_VERSION.tar.xz || exit 1 xzcat libssh-$LIBSSH_VERSION.tar.xz | tar xf - || exit 1 cd libssh-$LIBSSH_VERSION mkdir build @@ -1488,22 +1488,7 @@ install_libssh() { uninstall_libssh() { if [ ! -z "$installed_libssh_version" ] ; then - echo "Uninstalling libssh:" - cd libssh-$installed_libssh_version - $DO_MAKE_UNINSTALL || exit 1 - make distclean || exit 1 - cd .. - rm libssh-$installed_libssh_version-done - - if [ "$#" -eq 1 -a "$1" = "-r" ] ; then - # - # Get rid of the previously downloaded and unpacked version. - # - rm -rf libssh-$installed_libssh_version - rm -rf libssh-$installed_libssh_version.tar.xz - fi - - installed_libssh_version="" + echo "Sadly, libssh uses cmake, and doesn't support uninstall." fi } |