e2945d728e
Changes: Version 1.8.2: - To simplify TLS setup, the tls_trust_file command has a new default value 'system' that selects the system default trust. Now you just need tls=on to use TLS; the other TLS options are only required in special cases. To make this work without breaking compatibility with older msmtp versions, tls_fingerprint now overrides tls_trust_file, and tls_certcheck=off overrides both (previously, you could not specify contradicting options). - To simplify setup, a new option '--configure <mailaddress>' was added that automatically generates a configuration file for a given mail address. However, this only works if the mail domain publishes appropriate SRV records. Version 1.8.1: - Fixed our TLS code to support TLS 1.3 with GnuTLS.
38 lines
953 B
Makefile
38 lines
953 B
Makefile
# $NetBSD: Makefile,v 1.72 2019/01/17 18:39:54 leot Exp $
|
|
|
|
DISTNAME= msmtp-1.8.2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= https://marlam.de/msmtp/releases/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= bcv@hub3.net
|
|
HOMEPAGE= https://marlam.de/msmtp/
|
|
COMMENT= SMTP plugin for MUAs
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= pkg-config msgfmt xgettext
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS.Darwin+= --with-macosx-keyring
|
|
|
|
EGDIR= ${PREFIX}/share/examples/msmtp
|
|
CONF_FILES= ${EGDIR}/msmtprc-user.example \
|
|
${PKG_SYSCONFDIR}/msmtprc
|
|
|
|
INFO_FILES= yes
|
|
PLIST_VARS+= scripts
|
|
|
|
CPPFLAGS.Interix+= -D__WINSOCK
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
.include "options.mk"
|
|
|
|
.PHONY: install-msmtp-scripts
|
|
post-install: install-msmtp-scripts
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/msmtprc-user.example ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|