From patchwork Thu Aug 13 12:36:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Viallard X-Patchwork-Id: 507011 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E52FA1401E7 for ; Thu, 13 Aug 2015 22:36:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1785D338FC; Thu, 13 Aug 2015 12:36:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kb8DgFU8MOYR; Thu, 13 Aug 2015 12:36:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 49C8C338F2; Thu, 13 Aug 2015 12:36:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AF9A31BFC06 for ; Thu, 13 Aug 2015 12:36:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A9FE391B2F for ; Thu, 13 Aug 2015 12:36:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NOu1wBW2xM9f for ; Thu, 13 Aug 2015 12:36:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-sh2.infomaniak.ch (smtp-sh2.infomaniak.ch [128.65.195.6]) by whitealder.osuosl.org (Postfix) with ESMTPS id CD29391B2B for ; Thu, 13 Aug 2015 12:36:17 +0000 (UTC) Received: from smtp3.infomaniak.ch (smtp3.infomaniak.ch [84.16.68.91]) by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id t7DCaFMI021694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Aug 2015 14:36:15 +0200 Received: from localhost.localdomain (mail.borm.ch [213.200.221.18] (may be forged)) (authenticated bits=0) by smtp3.infomaniak.ch (8.14.5/8.14.5) with ESMTP id t7DCaBtQ002193 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NO); Thu, 13 Aug 2015 14:36:15 +0200 From: Anthony Viallard To: buildroot@buildroot.org Date: Thu, 13 Aug 2015 14:36:01 +0200 Message-Id: <1439469361-31920-1-git-send-email-viallard@syscom-instruments.com> X-Mailer: git-send-email 2.4.6 X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8 X-Antivirus-Code: 0x100000 Subject: [Buildroot] [PATCH 1/1] msmtp: don't try to use IDN feature X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- 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