[Buildroot] [git commit] msmtp: new package

Peter Korsgaard jacmet at sunsite.dk
Sun Apr 29 18:27:38 UTC 2012


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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/Config.in       |    1 +
 package/msmtp/Config.in |   10 ++++++++++
 package/msmtp/msmtp.mk  |   28 ++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 7d145c3..4dcae53 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -483,6 +483,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))


More information about the buildroot mailing list