[Buildroot] [git commit] msmtp: don't try to use IDN feature

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 18 12:18:01 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=ef7a8c7903046be1ee4d7f43a53c2a4e9dae1574
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

autoconf can't detect if AI_IDN is really supported
(http://sourceforge.net/p/msmtp/code/ci/907916e8089ea9303a7c091b763087530c88a063/),
so a --disable-gai-idn flag was added to explicitly disable the usage
of IDN.

Before this patch, msmtp failed to send mail with the following
output:

  msmtp: cannot locate host smtp.mandrillapp.com: Bad value for ai_flags

[Thomas: tweak commit log.]

Signed-off-by: Anthony Viallard <viallard at syscom-instruments.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/msmtp/msmtp.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/msmtp/msmtp.mk b/package/msmtp/msmtp.mk
index aa75dd4..09d57bf 100644
--- a/package/msmtp/msmtp.mk
+++ b/package/msmtp/msmtp.mk
@@ -10,6 +10,7 @@ MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz
 MSMTP_DEPENDENCIES = host-pkgconf
 MSMTP_CONF_OPTS = \
 	--without-libidn \
+	--disable-gai-idn \
 	--without-libgsasl
 MSMTP_LICENSE = GPLv3+
 MSMTP_LICENSE_FILES = COPYING


More information about the buildroot mailing list