pkgsrc/mail/msmtp/Makefile

26 lines
572 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2005/04/11 21:46:21 tv Exp $
DISTNAME= msmtp-1.4.0
Changes 1.2.4: - Changed return code in case of authentication error from EX_DATAERR to EX_NOPERM - Changed return code in case of missing/invalid configuration file or nonexistent account from EX_NOINPUT/EX_DATAERR to EX_CONFIG - Test return value of localtime(3) in msmtp_log() - Windows specific code in net.c: moved translation of error code from WSAStartup() from net_lib_init() to wsa_strerror() - OpenSSL specific code in tls.c: minor cleanup in openssl_io_error() - Always keep control of the format string in calls to merror(). (There were four cases where the result of strerror() was passed as the format string in smtp.c.) - Clarified usage instructions of merror() in merror.h - Check at initialization time whether support for a manually requested authentication mechanism is compiled, *before* establishing a network connection. This required a change from smtp_auth_caps() to the (equally trivial) smtp_authmech_is_supported() function. Made the output of both "not compiled in" messages (TLS and auth mech) consistent. The return code for these error conditions is EX_UNAVAILABLE now. - Make the output of -h/--help and -v/--version consistent with the GNU utilities by including copyright and no-warranty notice (version) and a short description and the bug report address (--help). - Add missing declarations of optarg and optind to msmtp.c, needed for getopt() handling. No compiler complained so far, though. - Fixed stupid error in smtp.c that prevented the detection of output errors when sending the RCPT TO command (highly unlikely to occur). - Cosmetic change in -v/--version output that avoids lines longer than 80 characters - Fixed some man page typos - Fixed typos in conffile.c error message - Fixed typo in tls.c error message (OpenSSL code only) - Changed error messages: "bla [blub]" -> "bla: blub" - Improved some TLS error messages - Corrected short description in man page, README and code comments - Updated README.dos
2005-01-19 16:30:25 +01:00
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=msmtp/}
EXTRACT_SUFX= .tar.bz2
Changes 1.2.4: - Changed return code in case of authentication error from EX_DATAERR to EX_NOPERM - Changed return code in case of missing/invalid configuration file or nonexistent account from EX_NOINPUT/EX_DATAERR to EX_CONFIG - Test return value of localtime(3) in msmtp_log() - Windows specific code in net.c: moved translation of error code from WSAStartup() from net_lib_init() to wsa_strerror() - OpenSSL specific code in tls.c: minor cleanup in openssl_io_error() - Always keep control of the format string in calls to merror(). (There were four cases where the result of strerror() was passed as the format string in smtp.c.) - Clarified usage instructions of merror() in merror.h - Check at initialization time whether support for a manually requested authentication mechanism is compiled, *before* establishing a network connection. This required a change from smtp_auth_caps() to the (equally trivial) smtp_authmech_is_supported() function. Made the output of both "not compiled in" messages (TLS and auth mech) consistent. The return code for these error conditions is EX_UNAVAILABLE now. - Make the output of -h/--help and -v/--version consistent with the GNU utilities by including copyright and no-warranty notice (version) and a short description and the bug report address (--help). - Add missing declarations of optarg and optind to msmtp.c, needed for getopt() handling. No compiler complained so far, though. - Fixed stupid error in smtp.c that prevented the detection of output errors when sending the RCPT TO command (highly unlikely to occur). - Cosmetic change in -v/--version output that avoids lines longer than 80 characters - Fixed some man page typos - Fixed typos in conffile.c error message - Fixed typo in tls.c error message (OpenSSL code only) - Changed error messages: "bla [blub]" -> "bla: blub" - Improved some TLS error messages - Corrected short description in man page, README and code comments - Updated README.dos
2005-01-19 16:30:25 +01:00
MAINTAINER= bcv@hub3.net
HOMEPAGE= http://msmtp.sourceforge.net/
COMMENT= SMTP plugin for MUAs
GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/msmtp
INFO_FILES= msmtp.info
Update to 1.2.3, provided by Sergio Jimenez in PR 26975. Changes since 1.0.0: Version 1.2.3: - IPv6 support on Windows systems - The configuration file supports all commands and arguments related to TLS and authentication, even if TLS and/or GNU SASL support is not compiled in - The GNU SASL library is not required to support DIGEST-MD5 and NTLM anymore. This means you can now use the packaged versions of the library from Gentoo or Debian sarge. - You can use the -v/--version option to find out which authentication methods are supported. Version 1.2.2: - Enhancements to the logfile command: - All available information is now written to the logfile (new fields: mailsize=..., smtpmsg='...', errormsg='...'). - Logging to standard output is possible by using "logfile -" Version 1.2.1: - No new features. Version 1.2.0: - This version can be compiled without TLS/SSL support; use --disable-ssl if you really want that. - Read the entries for versions 1.1.x for more changes since the last stable version 1.0.0. Version 1.1.3: - New option -i for compatibility with mail(1). - New 'logfile' command; see man page for details. Version 1.1.2: - No user visible changes. Version 1.1.1: - The tls_nostarttls command now sets the default port to 465 (ssmtp). Version 1.1.0: - Support for SMTP command pipelining. On high latency networks, this may increase transmission speed, especially when sending to many recipients. - The short option for --file, -f, has changed to -F - A new option --from/-f is available to set the envelope from address. - A new option --serverinfo/-S is available to print information about the capabilities and limitations of an SMTP server
2004-09-19 15:02:00 +02:00
.include "options.mk"
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/doc/msmtprc-system.example ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/doc/msmtprc-user.example ${EGDIR}
.include "../../mk/bsd.pkg.mk"