From patchwork Tue Apr 17 15:46:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 153240 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 11F49B6FBB for ; Wed, 18 Apr 2012 01:47:31 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A4480A0284; Tue, 17 Apr 2012 15:47:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uh4x3E-Gxdxo; Tue, 17 Apr 2012 15:47:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 717B5A020A; Tue, 17 Apr 2012 15:47:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 997658F75B for ; Tue, 17 Apr 2012 15:47:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8A2E88CA34 for ; Tue, 17 Apr 2012 15:47:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPc+C+NczFOc for ; Tue, 17 Apr 2012 15:47:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by whitealder.osuosl.org (Postfix) with ESMTP id 607728D086 for ; Tue, 17 Apr 2012 15:47:18 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id DBD76158; Tue, 17 Apr 2012 17:46:40 +0200 (CEST) Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id 24F8415C for ; Tue, 17 Apr 2012 17:46:23 +0200 (CEST) From: Thomas Petazzoni To: buildroot@busybox.net Date: Tue, 17 Apr 2012 17:46:57 +0200 Message-Id: <9e08699205fdbcb212100ec3fb7597004c526456.1334677614.git.thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 2/2] msmtp: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/msmtp/Config.in | 10 ++++++++++ package/msmtp/msmtp.mk | 28 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 0 deletions(-) create mode 100644 package/msmtp/Config.in create mode 100644 package/msmtp/msmtp.mk diff --git a/package/Config.in b/package/Config.in index 1fb6c4a..f3d26d1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -479,6 +479,7 @@ source "package/links/Config.in" source "package/lrzsz/Config.in" source "package/mii-diag/Config.in" source "package/mrouted/Config.in" +source "package/msmtp/Config.in" source "package/mutt/Config.in" source "package/nbd/Config.in" source "package/ncftp/Config.in" diff --git a/package/msmtp/Config.in b/package/msmtp/Config.in new file mode 100644 index 0000000..385ad90 --- /dev/null +++ b/package/msmtp/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_MSMTP + bool "msmtp" + help + msmtp is an SMTP client. In the default mode, it transmits a + mail to an SMTP server (for example at a free mail provider) + which takes care of further delivery. + + Note that msmtp is licensed under GPLv3. + + http://msmtp.sourceforge.net/ diff --git a/package/msmtp/msmtp.mk b/package/msmtp/msmtp.mk new file mode 100644 index 0000000..2c71229 --- /dev/null +++ b/package/msmtp/msmtp.mk @@ -0,0 +1,28 @@ +############################################################# +# +# msmtp +# +############################################################# + +MSMTP_VERSION = 1.4.27 +MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION) +MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2 + +MSMTP_DEPENDENCIES += host-pkg-config + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MSMTP_CONF_OPT += --with-ssl=openssl +MSMTP_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +MSMTP_CONF_OPT += --with-ssl=gnutls +MSMTP_DEPENDENCIES += gnutls +else +MSMTP_CONF_OPT += --with-ssl=no +endif + +MSMTP_CONF_OPT += \ + --without-libidn \ + --without-libgsasl \ + --without-gnome-keyring + +$(eval $(call AUTOTARGETS))