1################################################################################ 2# 3# msmtp 4# 5################################################################################ 6 7MSMTP_VERSION = 1.8.14 8MSMTP_SITE = https://marlam.de/msmtp/releases 9MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz 10MSMTP_DEPENDENCIES = host-pkgconf 11MSMTP_CONF_OPTS = --disable-gai-idn 12MSMTP_LICENSE = GPL-3.0+ 13MSMTP_LICENSE_FILES = COPYING 14MSMTP_CPE_ID_VENDOR = marlam 15 16# msmtpd needs fork 17ifeq ($(BR2_USE_MMU),y) 18MSMTP_CONF_OPTS += --with-msmtpd 19else 20MSMTP_CONF_OPTS += --without-msmtpd 21endif 22 23ifeq ($(BR2_PACKAGE_LIBGSASL),y) 24MSMTP_CONF_OPTS += --with-libgsasl 25MSMTP_DEPENDENCIES += libgsasl 26else 27MSMTP_CONF_OPTS += --without-libgsasl 28endif 29 30ifeq ($(BR2_PACKAGE_LIBIDN2),y) 31MSMTP_CONF_OPTS += --with-libidn 32MSMTP_DEPENDENCIES += libidn2 33else 34MSMTP_CONF_OPTS += --without-libidn 35endif 36 37ifeq ($(BR2_PACKAGE_LIBSECRET),y) 38MSMTP_CONF_OPTS += --with-libsecret 39MSMTP_DEPENDENCIES += libsecret 40else 41MSMTP_CONF_OPTS += --without-libsecret 42endif 43 44ifeq ($(BR2_PACKAGE_GNUTLS),y) 45MSMTP_CONF_OPTS += --with-tls=gnutls 46MSMTP_DEPENDENCIES += gnutls 47else ifeq ($(BR2_PACKAGE_OPENSSL),y) 48MSMTP_CONF_OPTS += --with-tls=openssl 49MSMTP_DEPENDENCIES += openssl 50else 51MSMTP_CONF_OPTS += --with-tls=no 52endif 53 54$(eval $(autotools-package)) 55