Commit 72713672 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

msmtp: new package

parent 7ee5f448
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+10 −0
Original line number Diff line number Diff line
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/

package/msmtp/msmtp.mk

0 → 100644
+28 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))