bf85592a46
cpe:2.3🅰️marlam:msmtp is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Amarlam%3Amsmtp Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# msmtp
|
|
#
|
|
################################################################################
|
|
|
|
MSMTP_VERSION = 1.8.14
|
|
MSMTP_SITE = https://marlam.de/msmtp/releases
|
|
MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz
|
|
MSMTP_DEPENDENCIES = host-pkgconf
|
|
MSMTP_CONF_OPTS = --disable-gai-idn
|
|
MSMTP_LICENSE = GPL-3.0+
|
|
MSMTP_LICENSE_FILES = COPYING
|
|
MSMTP_CPE_ID_VENDOR = marlam
|
|
|
|
# msmtpd needs fork
|
|
ifeq ($(BR2_USE_MMU),y)
|
|
MSMTP_CONF_OPTS += --with-msmtpd
|
|
else
|
|
MSMTP_CONF_OPTS += --without-msmtpd
|
|
endif
|
|
|
|
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_GNUTLS),y)
|
|
MSMTP_CONF_OPTS += --with-tls=gnutls
|
|
MSMTP_DEPENDENCIES += gnutls
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MSMTP_CONF_OPTS += --with-tls=openssl
|
|
MSMTP_DEPENDENCIES += openssl
|
|
else
|
|
MSMTP_CONF_OPTS += --with-tls=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|