From 95f60426cb8283fc0e5aec16f9b0f181cb69baad Mon Sep 17 00:00:00 2001 From: "Frederico F. de Oliveira" Date: Thu, 31 Dec 2020 22:31:50 +0000 Subject: [PATCH] Add --enable-login flag to libsasl build.sh configure args (#6203) * Add --enable-login flag to build.sh configure args Some email servers, like Microsoft's live.com (used by Hotmail and Outlook) only accept `AUTH LOGIN` as SMTP authentication method. The `--enable-login` flag builds the `liblogin.so` lib so neomutt/mutt can use it. Without it, sending an email would fail with `No authenticators available` error. --- packages/libsasl/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/libsasl/build.sh b/packages/libsasl/build.sh index 5e713db21..667c5bf40 100644 --- a/packages/libsasl/build.sh +++ b/packages/libsasl/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Cyrus SASL - authentication abstraction library" TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.1.27 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/cyrus-sasl-$TERMUX_PKG_VERSION.tar.xz TERMUX_PKG_SHA256=6eaf75ce1e73be63894fb04d1fd0bfa9f54f33e88269743dd8f2ff54e27ea043 TERMUX_PKG_BREAKS="libsasl-dev" @@ -22,6 +22,7 @@ ac_cv_header_syslog_h=no --without-des --without-saslauthd --with-plugindir=$TERMUX_PREFIX/lib/sasl2 +--enable-login " TERMUX_PKG_RM_AFTER_INSTALL="bin/pluginviewer" @@ -32,7 +33,7 @@ termux_step_post_configure() { } termux_step_post_massage() { - for sub in anonymous crammd5 digestmd5 plain; do + for sub in anonymous crammd5 digestmd5 plain login; do local base=lib/sasl2/lib${sub} if [ ! -f ${base}.so ]; then termux_error_exit "libsasl not packaged with $base"