pkgsrc/mail/msmtp/Makefile
schmonz c92da85e1c Update to 1.8.19. From the changelog:
- Fixed a security problem in msmtpd: mail addresses starting with '-'
  could be interpreted as options of the pipe command.
- msmtpd now supports logging to syslog or to a file with the
  option --log, and authentication (for special use cases) with the
  option --auth.
- The 'from' command now accepts patterns (as in shell file name
  matching) so that many envelope from addresses given with --from can
  match the same account
- Added support for %H, %C, %M in the domain command
- msmtpd now supports sysexits.h error codes from the pipe command
2021-12-12 10:41:48 +00:00

38 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.88 2021/12/12 10:41:48 schmonz Exp $
DISTNAME= msmtp-1.8.19
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"