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