2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-17 07:46:57 +02:00
|
|
|
#
|
|
|
|
# msmtp
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-17 07:46:57 +02:00
|
|
|
|
2020-06-05 09:53:05 +02:00
|
|
|
MSMTP_VERSION = 1.8.11
|
2018-11-18 12:58:40 +01:00
|
|
|
MSMTP_SITE = https://marlam.de/msmtp/releases
|
2015-01-02 23:45:07 +01:00
|
|
|
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz
|
|
|
|
MSMTP_DEPENDENCIES = host-pkgconf
|
2018-11-18 12:58:41 +01:00
|
|
|
MSMTP_CONF_OPTS = --disable-gai-idn
|
2017-03-30 15:43:33 +02:00
|
|
|
MSMTP_LICENSE = GPL-3.0+
|
2013-05-07 13:29:21 +02:00
|
|
|
MSMTP_LICENSE_FILES = COPYING
|
2012-04-17 07:46:57 +02:00
|
|
|
|
2018-11-18 12:58:41 +01:00
|
|
|
# msmtpd needs fork
|
|
|
|
ifeq ($(BR2_USE_MMU),y)
|
|
|
|
MSMTP_CONF_OPTS += --with-msmtpd
|
|
|
|
else
|
|
|
|
MSMTP_CONF_OPTS += --without-msmtpd
|
|
|
|
endif
|
|
|
|
|
2018-05-01 21:01:32 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGSASL),y)
|
|
|
|
MSMTP_CONF_OPTS += --with-libgsasl
|
|
|
|
MSMTP_DEPENDENCIES += libgsasl
|
|
|
|
else
|
|
|
|
MSMTP_CONF_OPTS += --without-libgsasl
|
|
|
|
endif
|
|
|
|
|
2018-11-18 12:58:40 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
2018-05-01 21:49:10 +02:00
|
|
|
MSMTP_CONF_OPTS += --with-libidn
|
2018-11-18 12:58:40 +01:00
|
|
|
MSMTP_DEPENDENCIES += libidn2
|
2018-05-01 21:49:10 +02:00
|
|
|
else
|
|
|
|
MSMTP_CONF_OPTS += --without-libidn
|
|
|
|
endif
|
|
|
|
|
2015-01-02 23:45:07 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
|
|
|
MSMTP_CONF_OPTS += --with-libsecret
|
|
|
|
MSMTP_DEPENDENCIES += libsecret
|
|
|
|
else
|
|
|
|
MSMTP_CONF_OPTS += --without-libsecret
|
|
|
|
endif
|
2012-04-17 07:46:57 +02:00
|
|
|
|
2018-12-29 16:31:57 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
MSMTP_CONF_OPTS += --with-tls=gnutls
|
|
|
|
MSMTP_DEPENDENCIES += gnutls
|
|
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2018-12-29 02:21:34 +01:00
|
|
|
MSMTP_CONF_OPTS += --with-tls=openssl
|
2012-04-17 07:46:57 +02:00
|
|
|
MSMTP_DEPENDENCIES += openssl
|
|
|
|
else
|
2018-12-29 02:21:34 +01:00
|
|
|
MSMTP_CONF_OPTS += --with-tls=no
|
2012-04-17 07:46:57 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|