mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
- Update site to https://marlam.de/msmtp/ (see https://sourceforge.net/projects/msmtp) - Replace libidn by libidn2:0d8be2a35f- Disable msmtpd (minimal SMTP server) as it uses fork:e0bc975fbfSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# msmtp
|
|
#
|
|
################################################################################
|
|
|
|
MSMTP_VERSION = 1.8.0
|
|
MSMTP_SITE = https://marlam.de/msmtp/releases
|
|
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz
|
|
MSMTP_DEPENDENCIES = host-pkgconf
|
|
MSMTP_CONF_OPTS = --disable-gai-idn --without-msmtpd
|
|
MSMTP_LICENSE = GPL-3.0+
|
|
MSMTP_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGSASL),y)
|
|
MSMTP_CONF_OPTS += --with-libgsasl
|
|
MSMTP_DEPENDENCIES += libgsasl
|
|
else
|
|
MSMTP_CONF_OPTS += --without-libgsasl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
|
|
MSMTP_CONF_OPTS += --with-libidn
|
|
MSMTP_DEPENDENCIES += libidn2
|
|
else
|
|
MSMTP_CONF_OPTS += --without-libidn
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
|
MSMTP_CONF_OPTS += --with-libsecret
|
|
MSMTP_DEPENDENCIES += libsecret
|
|
else
|
|
MSMTP_CONF_OPTS += --without-libsecret
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MSMTP_CONF_OPTS += --with-ssl=openssl
|
|
MSMTP_DEPENDENCIES += openssl
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
# openssl uses zlib, so we need to explicitly link with it when static
|
|
MSMTP_CONF_ENV += LIBS=-lz
|
|
endif
|
|
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
MSMTP_CONF_OPTS += --with-ssl=gnutls
|
|
MSMTP_DEPENDENCIES += gnutls
|
|
else
|
|
MSMTP_CONF_OPTS += --with-ssl=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|