Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Viallard <viallard@syscom-instruments.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] msmtp: don't try to use IDN feature
Date: Thu, 13 Aug 2015 14:36:01 +0200	[thread overview]
Message-ID: <1439469361-31920-1-git-send-email-viallard@syscom-instruments.com> (raw)

I don't known if there is a consensus about IDN usage for buildroot. I
didn't see an option in the config about it. I presume IDN should be
disabled for all package, am I right ?

autoconf can't see if AI_IDN is really supported (http://sourceforge.net/p/msmtp/code/ci/907916e8089ea9303a7c091b763087530c88a063/).
It seems weird but this is the case apparently.

Before I did the above patch, msmtp failed to send mail. The output was:

msmtp: cannot locate host smtp.mandrillapp.com: Bad value for ai_flags
Signed-off-by: Anthony Viallard <viallard@syscom-instruments.com>
---
 package/msmtp/msmtp.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/msmtp/msmtp.mk b/package/msmtp/msmtp.mk
index bff2620..7c8261e 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
-- 
2.4.6

             reply	other threads:[~2015-08-13 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13 12:36 Anthony Viallard [this message]
2015-08-18 10:54 ` [Buildroot] [PATCH 1/1] msmtp: don't try to use IDN feature Baruch Siach
2015-08-18 12:18 ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2015-08-13 10:50 Anthony Viallard
2015-08-13 10:52 ` Baruch Siach
2015-08-13 11:04 ` Viallard Anthony
2015-08-13 11:22   ` Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439469361-31920-1-git-send-email-viallard@syscom-instruments.com \
    --to=viallard@syscom-instruments.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox