msmtp: don't try to use IDN feature
authorViallard Anthony <viallard@syscom-instruments.com>
Thu, 13 Aug 2015 12:36:01 +0000 (14:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Aug 2015 12:18:01 +0000 (14:18 +0200)
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@syscom-instruments.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/msmtp/msmtp.mk

index aa75dd4883e4417ad206bfd7228a3dd6f4f78ed4..09d57bf2420b872ba5ed961daaf699abaf82a02a 100644 (file)
@@ -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