f523f2ca10
New Features: * Added --dump-mail option. * Added --xclient-delim, --xclient-destaddr, --xclient-destport, --xclient-no-verify, and --xclient-before-starttls options. Notable Changes: * XCLIENT can now send multiple XCLIENT requests. Because of this, --xclient and --xclient-ATTR values are no longer merged into one string. This breaks previously documented behavior. * Numerous improvements to the output of --dump and --dump-as-body, including the ability to limit output by section, layout improvements, adding missing options to output, and fixing bugs. Notable Bugs Fixed: * Fixed bug preventing Proxy from working with --tls-on-connect. * XCLIENT is now sent after STARTTLS to match with Postfix's expectations. * Fixed bug which could allow mail sending to proceed without a valid recipient. * Replacing a multi-line header via --header or --h-HEADER now replaces the entire header, not just the first line. * The option for specifying the local port was documented as --local-port but implemented as --lport. Both are now documented and implemented. * Fixed two bugs which prevented interactions between --dump, --auth-hide-password, --dump-as-body, and --dump-as-body-shows-password from producing consistent output.
33 lines
959 B
Makefile
33 lines
959 B
Makefile
# $NetBSD: Makefile,v 1.3 2018/11/05 18:22:11 schmonz Exp $
|
|
|
|
DISTNAME= swaks-20181104.0
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://www.jetmore.org/john/code/swaks/
|
|
COMMENT= Featureful, flexible, scriptable SMTP test tool
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
|
|
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
|
|
DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
|
|
#DEPENDS+= p5-Authen-NTLM (not in pkgsrc)
|
|
DEPENDS+= p5-Authen-SASL-[0-9]*:../../security/p5-Authen-SASL
|
|
DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
|
|
DEPENDS+= p5-Time-Local-[0-9]*:../../time/p5-Time-Local
|
|
|
|
USE_TOOLS+= perl:run
|
|
USE_LANGUAGES= # none
|
|
REPLACE_PERL= ${PKGBASE}
|
|
|
|
NO_BUILD= yes
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin/${PKGBASE}
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|