pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/msmtp msmtp: Update mail/msmtp to 1.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff4dc80a02ee
branches:  trunk
changeset: 312915:ff4dc80a02ee
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Sep 19 09:26:45 2018 +0000

description:
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

diffstat:

 mail/msmtp/Makefile   |   9 ++++-----
 mail/msmtp/PLIST      |   5 ++++-
 mail/msmtp/distinfo   |  10 +++++-----
 mail/msmtp/options.mk |  19 +++++++------------
 4 files changed, 20 insertions(+), 23 deletions(-)

diffs (117 lines):

diff -r fa646833d888 -r ff4dc80a02ee mail/msmtp/Makefile
--- a/mail/msmtp/Makefile       Tue Sep 18 20:52:49 2018 +0000
+++ b/mail/msmtp/Makefile       Wed Sep 19 09:26:45 2018 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.69 2018/04/17 22:29:43 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2018/09/19 09:26:45 leot 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@localhost
-HOMEPAGE=      http://msmtp.sourceforge.net/
+HOMEPAGE=      https://marlam.de/msmtp/
 COMMENT=       SMTP plugin for MUAs
 LICENSE=       gnu-gpl-v3
 
diff -r fa646833d888 -r ff4dc80a02ee mail/msmtp/PLIST
--- a/mail/msmtp/PLIST  Tue Sep 18 20:52:49 2018 +0000
+++ b/mail/msmtp/PLIST  Wed Sep 19 09:26:45 2018 +0000
@@ -1,9 +1,12 @@
-@comment $NetBSD: PLIST,v 1.11 2015/04/08 05:31:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2018/09/19 09:26:45 leot Exp $
 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
diff -r fa646833d888 -r ff4dc80a02ee mail/msmtp/distinfo
--- a/mail/msmtp/distinfo       Tue Sep 18 20:52:49 2018 +0000
+++ b/mail/msmtp/distinfo       Wed Sep 19 09:26:45 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.35 2016/11/15 08:54:40 leot Exp $
+$NetBSD: distinfo,v 1.36 2018/09/19 09:26:45 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
diff -r fa646833d888 -r ff4dc80a02ee mail/msmtp/options.mk
--- a/mail/msmtp/options.mk     Tue Sep 18 20:52:49 2018 +0000
+++ b/mail/msmtp/options.mk     Wed Sep 19 09:26:45 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.15 2016/06/07 07:08:30 leot Exp $
+# $NetBSD: options.mk,v 1.16 2018/09/19 09:26:45 leot Exp $
 
 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 @@
 ###
 .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 @@
 .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 @@
 ### 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 @@
 .if !empty(PKG_OPTIONS:Msecret)
 .  include "../../security/libsecret/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-libsecret
-USE_TOOLS+=            pkg-config
 .else
 CONFIGURE_ARGS+=       --without-libsecret
 .endif



Home | Main Index | Thread Index | Old Index