msmtp: Update mail/msmtp to 1.8.0 pkgsrc changes: - Update HOMEPAGE and MASTER_SITES - Remove inet6 option (it was actually a no-op) - Adjust libidn dependency to libidn2 per 1.8.0 change - Cleanup the options.mk a bit: no need to add pkg-config to USE_TOOLS, it was already needed as tool and remove all --with-*-prefix= because pkg-config is used for that Changes: Version 1.8.0: - A minimal SMTP server called msmtpd was added that listens on the local host and pipes mails to msmtp (or another program). It is intended to be used with system services that cannot be configured to call msmtp directly. You can disable it with the configure option --without-msmtpd. - Using OpenSSL is discouraged and may not be supported in the future. Please use GnuTLS instead. The reasons are explained here: https://marlam.de/msmtp/news/openssl-discouraged/ - As using GNU SASL is most likely unnecessary, it is disabled by default now. Since everything uses TLS nowadays and thus can use PLAIN authentication, you really only need it for GSSAPI. - If your system requires a library for IDN support, libidn2 is now used instead of the older libidn. - The CRAM-MD5 authentication method is marked as obsolete / insecure and will not be chosen automatically anymore. - The passwordeval command does not require the password to be terminated by a new line character anymore. - The new logfile_time_format command allows to customize log file time stamps. - Builtin default port numbers are now used instead of consulting /etc/services. - Support for DJGPP and for systems lacking vasprintf(), mkstemp(), or tmpfile() is removed. Version 1.6.8: - Add --source-ip option and source_ip command to bind the outgoing connection to a specific source IP address. - Enable SNI for TLS Version 1.6.7: - Add support for ~/.config/msmtp/config as configuration file - Add network timeout handling on Windows - Fix command line handling of SHA256 TLS fingerprints - Fix SIGPIPE handling (affects at least Mac OS X) - Add french translation, and update german translation Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/mail/msmtp/Makefile,v retrieving revision 1.69 diff -u -p -r1.69 Makefile --- Makefile 17 Apr 2018 22:29:43 -0000 1.69 +++ Makefile 12 Sep 2018 17:11:18 -0000 @@ -1,13 +1,12 @@ # $NetBSD: Makefile,v 1.69 2018/04/17 22:29:43 wiz Exp $ -DISTNAME= msmtp-1.6.6 +DISTNAME= msmtp-1.8.0 CATEGORIES= mail -PKGREVISION= 2 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=msmtp/} +MASTER_SITES= https://marlam.de/msmtp/releases/ EXTRACT_SUFX= .tar.xz MAINTAINER= bcv@hub3.net -HOMEPAGE= http://msmtp.sourceforge.net/ +HOMEPAGE= https://marlam.de/msmtp/ COMMENT= SMTP plugin for MUAs LICENSE= gnu-gpl-v3 Index: PLIST =================================================================== RCS file: /cvsroot/pkgsrc/mail/msmtp/PLIST,v retrieving revision 1.11 diff -u -p -r1.11 PLIST --- PLIST 8 Apr 2015 05:31:59 -0000 1.11 +++ PLIST 12 Sep 2018 17:11:18 -0000 @@ -1,9 +1,12 @@ -@comment $NetBSD: PLIST,v 1.11 2015/04/08 05:31:59 wiz Exp $ +@comment $NetBSD$ bin/msmtp +bin/msmtpd info/msmtp.info man/man1/msmtp.1 +man/man1/msmtpd.1 share/examples/msmtp/msmtprc-user.example share/locale/de/LC_MESSAGES/msmtp.mo +share/locale/fr/LC_MESSAGES/msmtp.mo ${PLIST.scripts}share/msmtp/find_alias/find_alias_for_msmtp.sh ${PLIST.scripts}share/msmtp/msmtpq/README.msmtpq ${PLIST.scripts}share/msmtp/msmtpq/msmtp-queue Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/mail/msmtp/distinfo,v retrieving revision 1.35 diff -u -p -r1.35 distinfo --- distinfo 15 Nov 2016 08:54:40 -0000 1.35 +++ distinfo 12 Sep 2018 17:11:18 -0000 @@ -1,6 +1,6 @@ $NetBSD: distinfo,v 1.35 2016/11/15 08:54:40 leot Exp $ -SHA1 (msmtp-1.6.6.tar.xz) = f997f40dfb3f882df837cfd9a63bd4d271dcdc41 -RMD160 (msmtp-1.6.6.tar.xz) = 1977a10e6abeff9f435b018c1e546d0679421608 -SHA512 (msmtp-1.6.6.tar.xz) = 30f33648b66a6b230cd38d0eee4c916a631a51bddcc1a15c9f7b324305506cb83b9c95f95def9150d0b783d38000db409981331b3c6a756232f0ce49e9b343ab -Size (msmtp-1.6.6.tar.xz) = 283744 bytes +SHA1 (msmtp-1.8.0.tar.xz) = a6dbfa621b6399fdd7b103351599e70a38f275b7 +RMD160 (msmtp-1.8.0.tar.xz) = ea4c5d0f20a63688970b09e7078d9797b5dae69e +SHA512 (msmtp-1.8.0.tar.xz) = 986cf8ceca847b857f3884fcef26202429b3099820aa20e4e458768a80421bfb163d8aab9d950da2190ae0e2e95bafb80f4c2647d28dbd470d78c439bfba4f77 +Size (msmtp-1.8.0.tar.xz) = 302680 bytes Index: options.mk =================================================================== RCS file: /cvsroot/pkgsrc/mail/msmtp/options.mk,v retrieving revision 1.15 diff -u -p -r1.15 options.mk --- options.mk 7 Jun 2016 07:08:30 -0000 1.15 +++ options.mk 12 Sep 2018 17:11:18 -0000 @@ -5,8 +5,8 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.msmtp PKG_OPTIONS_OPTIONAL_GROUPS= ssl PKG_OPTIONS_GROUP.ssl= gnutls ssl -PKG_SUPPORTED_OPTIONS= gsasl idn inet6 scripts secret -PKG_SUGGESTED_OPTIONS= inet6 ssl +PKG_SUPPORTED_OPTIONS= gsasl idn scripts secret +PKG_SUGGESTED_OPTIONS= ssl .include "../../mk/bsd.options.mk" @@ -15,14 +15,12 @@ PKG_SUGGESTED_OPTIONS= inet6 ssl ### .if !empty(PKG_OPTIONS:Mssl) . include "../../security/openssl/buildlink3.mk" -CONFIGURE_ARGS+= --with-ssl=openssl -CONFIGURE_ARGS+= --with-libssl-prefix=${BUILDLINK_PREFIX.openssl} +CONFIGURE_ARGS+= --with-tls=openssl .elif !empty(PKG_OPTIONS:Mgnutls) . include "../../security/gnutls/buildlink3.mk" -CONFIGURE_ARGS+= --with-ssl=gnutls -CONFIGURE_ARGS+= --with-libgnutls-prefix=${BUILDLINK_PREFIX.gnutls} +CONFIGURE_ARGS+= --with-tls=gnutls .else -CONFIGURE_ARGS+= --disable-ssl +CONFIGURE_ARGS+= --with-tls=no .endif ### @@ -31,7 +29,6 @@ CONFIGURE_ARGS+= --disable-ssl .if !empty(PKG_OPTIONS:Mgsasl) . include "../../security/gsasl/buildlink3.mk" CONFIGURE_ARGS+= --with-libgsasl -CONFIGURE_ARGS+= --with-libgsasl-prefix=${BUILDLINK_PREFIX.gsasl} .else CONFIGURE_ARGS+= --without-libgsasl .endif @@ -40,9 +37,8 @@ CONFIGURE_ARGS+= --without-libgsasl ### Internationalized Domain Names (IDN) support ### .if !empty(PKG_OPTIONS:Midn) -. include "../../devel/libidn/buildlink3.mk" +. include "../../devel/libidn2/buildlink3.mk" CONFIGURE_ARGS+= --with-libidn -CONFIGURE_ARGS+= --with-libidn-prefix=${BUILDLINK_PREFIX.libidn} .else CONFIGURE_ARGS+= --without-libidn .endif @@ -53,7 +49,6 @@ CONFIGURE_ARGS+= --without-libidn .if !empty(PKG_OPTIONS:Msecret) . include "../../security/libsecret/buildlink3.mk" CONFIGURE_ARGS+= --with-libsecret -USE_TOOLS+= pkg-config .else CONFIGURE_ARGS+= --without-libsecret .endif