pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/mutt mutt: Update to version 2.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/7ca50dc5001e
branches: trunk
changeset: 441661:7ca50dc5001e
user: tron <tron%pkgsrc.org@localhost>
date: Sun Nov 08 17:42:45 2020 +0000
description:
mutt: Update to version 2.0.0
Change since version 1.14.7:
+ Domain-literal support for email addresses, e.g user@[IPv6:fcXX:...]
! Buffy completion only occurs for the "change-folder" set of functions.
It has been disabled for <attach-message>, <write-fcc>, the fcc
mailbox prompt, and the autocrypt scan mailbox prompt.
! The "save/copy message to mailbox" set of functions use the "mailbox"
history list, instead of the "filename" list.
! Message-ID extraction permits values missing angle brackets and '@'
to allow properly threading the garbage sent by some providers.
Mutt will add missing angle brackets when sending out replies, however.
! When adding multiple attachments, via <attach-file> in the compose menu,
the browser menu can be exiting via <quit> after tagging the files.
Previously, <select-entry> had to be used.
! ctrl-p/ctrl-n are by default bound to <history-up>/<history-down> in the
editor menu.
+ The "cd" command allows changing the current working directory.
As part of this, Mutt expands relative paths internally. There
may be a change to some "prettified" relative paths because of this.
! Some configuration variable default values are localizable by
translators. Currently these are: $attribution, $compose_format,
$forward_attribution_intro, $forward_attribution_trailer, $status_format,
$ts_icon_format, $ts_status_format.
+ Mutt will try to automatically reconnect to an IMAP mailbox on error,
and will merge unsync'ed changes if possible.
! $crypt_protected_headers_subject defaults to "...", following the
protected headers revised specification.
! Date, From, To, Cc, and Reply-To headers are stored as protected headers.
+ XOAUTH2 support. Please see the manual, contrib script mutt_oauth2.py,
and mutt_oauth.py.README for more details.
+ $tunnel_is_secure, default set, assumes a connection via $tunnel is
encrypted. Unsetting this will cause $ssl_starttls and $ssl_force_tls
to be respected.
+ Patterns are tab-completable in the editor menu.
! $reply_to is consulted before $reply_self.
+ $copy_decode_weed, default unset, controls header weeding for <decode-copy>
and <decode-save>.
+ $pipe_decode_weed, default set, enables header weeding for <pipe-message>.
+ $print_decode_weed, default set, enables header weeding for <print-message>.
! format=flowed attachments are space-unstuffed when viewed, saved,
piped, and printed.
+ The "run" command will execute MuttLisp. $muttlisp_inline_eval, if set, will
execute unquoted parenthesized command arguments as MuttLisp. Please see
the manual for more details about both.
+ $cursor_overlay, when set, will overlay the indicator, tree,
sidebar_highlight, and sidebar_indicator colors onto the current line.
"default" colors will be overridden and attributes will be merged.
! The message-id generation algorithm uses a random number instead of
the step counter and PID.
! $ssl_force_tls defaults set. (Trying this again for 2.0).
! $hostname is set *after* muttrc processing. It can be manually set
in the muttrc to avoid using DNS calls to obtain the FQDN.
+ $attach_save_dir specifies a directory to use when saving attachments.
diffstat:
mail/mutt/Makefile | 5 ++---
mail/mutt/PLIST | 4 +++-
mail/mutt/distinfo | 19 ++++++++++---------
mail/mutt/patches/patch-Makefile.in | 28 ++++++++++++++++++++++++++++
mail/mutt/patches/patch-ab | 25 -------------------------
mail/mutt/patches/patch-af | 22 ----------------------
mail/mutt/patches/patch-ag | 13 -------------
mail/mutt/patches/patch-al | 30 ------------------------------
mail/mutt/patches/patch-color.c | 15 +++++++++++++++
mail/mutt/patches/patch-configure | 33 +++++++++++++++++++++++++++++++++
mail/mutt/patches/patch-doc_Makefile.in | 15 +++++++++++++++
mail/mutt/patches/patch-lib.h | 22 ++++++++++++++++++++++
12 files changed, 128 insertions(+), 103 deletions(-)
diffs (294 lines):
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/Makefile
--- a/mail/mutt/Makefile Sun Nov 08 15:25:58 2020 +0000
+++ b/mail/mutt/Makefile Sun Nov 08 17:42:45 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.235 2020/09/12 05:23:25 kim Exp $
+# $NetBSD: Makefile,v 1.236 2020/11/08 17:42:45 tron Exp $
-DISTNAME= mutt-1.14.7
-PKGREVISION= 2
+DISTNAME= mutt-2.0.0
CATEGORIES= mail
MASTER_SITES= http://ftp.mutt.org/pub/mutt/
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/PLIST
--- a/mail/mutt/PLIST Sun Nov 08 15:25:58 2020 +0000
+++ b/mail/mutt/PLIST Sun Nov 08 17:42:45 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2020/06/22 06:24:15 wiz Exp $
+@comment $NetBSD: PLIST,v 1.29 2020/11/08 17:42:45 tron Exp $
bin/flea
bin/mutt
bin/mutt_dotlock
@@ -67,6 +67,8 @@
share/doc/mutt/samples/iconv/iconv.solaris-2.6.rc
share/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
share/doc/mutt/samples/markdown2html
+share/doc/mutt/samples/mutt_oauth2.py
+share/doc/mutt/samples/mutt_oauth2.py.README
share/doc/mutt/samples/mutt_xtitle
share/doc/mutt/samples/pgp2.rc
share/doc/mutt/samples/pgp5.rc
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/distinfo
--- a/mail/mutt/distinfo Sun Nov 08 15:25:58 2020 +0000
+++ b/mail/mutt/distinfo Sun Nov 08 17:42:45 2020 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.85 2020/08/30 07:32:30 tron Exp $
+$NetBSD: distinfo,v 1.86 2020/11/08 17:42:45 tron Exp $
-SHA1 (mutt-1.14.7.tar.gz) = 10927a00d0f9e6e53036937098764476a96e2c96
-RMD160 (mutt-1.14.7.tar.gz) = 9bc17efb20a73cb8fd4b01fdfdb702fc97a3781e
-SHA512 (mutt-1.14.7.tar.gz) = dc9739b5f0a99ca70fcbd495c71fbead23e3481f9c9e426feb827997c9c42e5f28355084f54788820c96a079dedb649fcc20e69436fb3c4df7e46f372b533e7c
-Size (mutt-1.14.7.tar.gz) = 5009968 bytes
-SHA1 (patch-ab) = 3d094b6bdb2b2ffac8ce6a1d3a306714c9f01835
-SHA1 (patch-af) = fd9eb93b580ce4f2115c3db16b199578fa99ce94
-SHA1 (patch-ag) = a9bfc6041a9b763e77d9174073a3cd905c7b5f93
-SHA1 (patch-al) = 0cb26ce9f89c1f0651eb46117f62ae6275bfaf97
+SHA1 (mutt-2.0.0.tar.gz) = 2554e214f2f0e6ff148a33805af6b00bb57ee988
+RMD160 (mutt-2.0.0.tar.gz) = 778578909487e7182dd0418416e63a002832ca6b
+SHA512 (mutt-2.0.0.tar.gz) = 2f48bf7eb9bb79a477e3fb9bf4bcde6033d7aaa8922eee20b6e6a05f49a1aea152a7987b99f335343175d87180062064c90c5a7b5bfa82aed188eeab0ac4a90b
+Size (mutt-2.0.0.tar.gz) = 5287742 bytes
+SHA1 (patch-Makefile.in) = 646eab10790053fff80bf8012ea85f40412b330c
+SHA1 (patch-color.c) = 69964830c13d4113e78a19539aad1e560825182a
+SHA1 (patch-configure) = cbd7ff52b0b358fff41988d286267046f56ee8d5
+SHA1 (patch-doc_Makefile.in) = 8086887afeec554d0c78047a48ec3eb33d38f26c
+SHA1 (patch-lib.h) = f10c32fc891a3c70c7379e092159e207b6c27b8b
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt/patches/patch-Makefile.in Sun Nov 08 17:42:45 2020 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/11/08 17:42:45 tron Exp $
+
+- Fix location of locale files
+- Allow build as an unpriviliged user
+
+--- Makefile.in.orig 2020-11-07 20:18:32.000000000 +0000
++++ Makefile.in 2020-11-08 14:57:59.053299992 +0000
+@@ -393,7 +393,7 @@
+ DBX = @DBX@
+ DEBUGGER = @DEBUGGER@
+ DEFS = -DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
+- -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \
++ -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(localedir)\" \
+ -DHAVE_CONFIG_H=1
+
+ DEPDIR = @DEPDIR@
+@@ -1680,11 +1680,6 @@
+ rm -f $(DESTDIR)$(bindir)/mutt.dotlock ; \
+ ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
+ fi
+- if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x$(DOTLOCK_GROUP) != x ; then \
+- chgrp $(DOTLOCK_GROUP) $(DESTDIR)$(bindir)/mutt_dotlock && \
+- chmod $(DOTLOCK_PERMISSION) $(DESTDIR)$(bindir)/mutt_dotlock || \
+- { echo "Can't fix mutt_dotlock's permissions! This is required to lock mailboxes in the mail spool directory." >&2 ; exit 1 ; } \
+- fi
+
+ install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(sysconfdir)
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-ab
--- a/mail/mutt/patches/patch-ab Sun Nov 08 15:25:58 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-ab,v 1.18 2018/11/26 12:26:19 tron Exp $
-
---- Makefile.in.orig 2018-11-25 17:43:43.000000000 +0000
-+++ Makefile.in 2018-11-26 12:03:30.000000000 +0000
-@@ -398,7 +398,7 @@
- DBX = @DBX@
- DEBUGGER = @DEBUGGER@
- DEFS = -DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
-- -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \
-+ -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(localedir)\" \
- -DHAVE_CONFIG_H=1
-
- DEPDIR = @DEPDIR@
-@@ -1667,11 +1667,6 @@
- rm -f $(DESTDIR)$(bindir)/mutt.dotlock ; \
- ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
- fi
-- if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x$(DOTLOCK_GROUP) != x ; then \
-- chgrp $(DOTLOCK_GROUP) $(DESTDIR)$(bindir)/mutt_dotlock && \
-- chmod $(DOTLOCK_PERMISSION) $(DESTDIR)$(bindir)/mutt_dotlock || \
-- { echo "Can't fix mutt_dotlock's permissions! This is required to lock mailboxes in the mail spool directory." >&2 ; exit 1 ; } \
-- fi
-
- install-data-local:
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-af
--- a/mail/mutt/patches/patch-af Sun Nov 08 15:25:58 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-af,v 1.8 2018/11/26 12:26:19 tron Exp $
-
-On some systems, curses.h defines TRUE and FALSE, so conditionalise
-them here to avoid compiler complaints about duplicate definitions.
-
---- lib.h.orig 2018-10-06 23:43:41.000000000 +0100
-+++ lib.h 2018-11-26 12:02:07.000000000 +0000
-@@ -54,8 +54,12 @@
- # define N_(a) a
- # endif
-
--# define TRUE 1
--# define FALSE 0
-+# ifndef TRUE
-+# define TRUE 1
-+# endif
-+# ifndef FALSE
-+# define FALSE 0
-+# endif
-
- # define HUGE_STRING 8192
- # define LONG_STRING 1024
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-ag
--- a/mail/mutt/patches/patch-ag Sun Nov 08 15:25:58 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.11 2020/06/22 06:24:15 wiz Exp $
-
---- doc/Makefile.in.orig 2020-06-18 21:30:08.000000000 +0000
-+++ doc/Makefile.in
-@@ -561,7 +561,7 @@ install-data-local: makedoc-all instdoc
- elif [ -f $(srcdir)/muttrc.man ] ; then \
- ./instdoc $(srcdir)/muttrc.man $(DESTDIR)$(mandir)/man5/muttrc.5 ; \
- fi
-- ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/mbox.5
-+ ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/mutt-mbox.5
- ./instdoc $(srcdir)/mmdf.man $(DESTDIR)$(mandir)/man5/mmdf.5
- $(MKDIR_P) $(DESTDIR)$(docdir)
- for f in $(topsrcdir_DOCFILES) ; do \
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-al
--- a/mail/mutt/patches/patch-al Sun Nov 08 15:25:58 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-al,v 1.12 2018/11/26 12:26:19 tron Exp $
-
---- configure.orig 2018-11-25 17:43:07.000000000 +0000
-+++ configure 2018-11-26 11:59:44.000000000 +0000
-@@ -9712,7 +9712,7 @@
-
- if test x$mutt_cv_setgid = xyes; then
- DOTLOCK_GROUP='mail'
-- DOTLOCK_PERMISSION=2755
-+ DOTLOCK_PERMISSION=2555
- else
- DOTLOCK_GROUP=''
- DOTLOCK_PERMISSION=755
-@@ -10022,6 +10022,7 @@
- case "`$KRB5CFGPATH --version`" in
- "Kerberos 5 "*) GSSAPI_IMPL="MIT";;
- ?eimdal*) GSSAPI_IMPL="Heimdal";;
-+ Solaris*) GSSAPI_IMPL="Solaris";;
- *) GSSAPI_IMPL="Unknown";;
- esac
- else
-@@ -10271,7 +10272,7 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: GSSAPI libraries not found" >&5
- $as_echo "GSSAPI libraries not found" >&6; }
- fi
-- if test "$GSSAPI_IMPL" = "Heimdal"
-+ if test "$GSSAPI_IMPL" = "Heimdal" || test "$GSSAPI_IMPL" = "Solaris"
- then
-
- $as_echo "#define HAVE_HEIMDAL 1" >>confdefs.h
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-color.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt/patches/patch-color.c Sun Nov 08 17:42:45 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-color.c,v 1.1 2020/11/08 17:42:45 tron Exp $
+
+Fix build under NetBSD
+
+--- color.c.orig 2020-11-03 17:50:37.000000000 +0000
++++ color.c 2020-11-08 16:39:21.085043268 +0000
+@@ -119,7 +119,7 @@
+
+ #define COLOR_QUOTE_INIT 8
+
+-#ifdef NCURSES_VERSION
++#if defined(NCURSES_VERSION) || defined(__NetBSD__)
+ #define ATTR_MASK (A_ATTRIBUTES ^ A_COLOR)
+ #elif defined (USE_SLANG_CURSES)
+ #define ATTR_MASK (~(unsigned int)A_NORMAL ^ (A_CHARTEXT | A_UNUSED | A_COLOR))
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt/patches/patch-configure Sun Nov 08 17:42:45 2020 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-configure,v 1.1 2020/11/08 17:42:45 tron Exp $
+
+- Allow build as an unpriviliged user
+- Fix Kerberos related build failure under Solaris
+
+--- configure.orig 2020-11-07 20:18:30.000000000 +0000
++++ configure 2020-11-08 15:02:04.178022629 +0000
+@@ -10072,7 +10072,7 @@
+
+ if test x$mutt_cv_setgid = xyes; then
+ DOTLOCK_GROUP='mail'
+- DOTLOCK_PERMISSION=2755
++ DOTLOCK_PERMISSION=2555
+ else
+ DOTLOCK_GROUP=''
+ DOTLOCK_PERMISSION=755
+@@ -10382,6 +10382,7 @@
+ case "`$KRB5CFGPATH --version`" in
+ "Kerberos 5 "*) GSSAPI_IMPL="MIT";;
+ ?eimdal*) GSSAPI_IMPL="Heimdal";;
++ Solaris*) GSSAPI_IMPL="Solaris";;
+ *) GSSAPI_IMPL="Unknown";;
+ esac
+ else
+@@ -10631,7 +10632,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: GSSAPI libraries not found" >&5
+ $as_echo "GSSAPI libraries not found" >&6; }
+ fi
+- if test "$GSSAPI_IMPL" = "Heimdal"
++ if test "$GSSAPI_IMPL" = "Heimdal" || test "$GSSAPI_IMPL" = "Solaris"
+ then
+
+ $as_echo "#define HAVE_HEIMDAL 1" >>confdefs.h
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-doc_Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt/patches/patch-doc_Makefile.in Sun Nov 08 17:42:45 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-doc_Makefile.in,v 1.1 2020/11/08 17:42:46 tron Exp $
+
+Install manual package under unique name to avoid package conflicts
+
+--- doc/Makefile.in.orig 2020-11-07 20:18:32.000000000 +0000
++++ doc/Makefile.in 2020-11-08 15:01:59.064036129 +0000
+@@ -561,7 +561,7 @@
+ elif [ -f $(srcdir)/muttrc.man ] ; then \
+ ./instdoc $(srcdir)/muttrc.man $(DESTDIR)$(mandir)/man5/muttrc.5 ; \
+ fi
+- ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/mbox.5
++ ./instdoc $(srcdir)/mbox.man $(DESTDIR)$(mandir)/man5/mutt-mbox.5
+ ./instdoc $(srcdir)/mmdf.man $(DESTDIR)$(mandir)/man5/mmdf.5
+ $(MKDIR_P) $(DESTDIR)$(docdir)
+ for f in $(topsrcdir_DOCFILES) ; do \
diff -r 52712bb7a824 -r 7ca50dc5001e mail/mutt/patches/patch-lib.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mutt/patches/patch-lib.h Sun Nov 08 17:42:45 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-lib.h,v 1.1 2020/11/08 17:42:46 tron Exp $
+
+On some systems, curses.h defines TRUE and FALSE, so conditionalise
+them here to avoid compiler complaints about duplicate definitions.
+
+--- lib.h.orig 2020-11-03 17:50:37.000000000 +0000
++++ lib.h 2020-11-08 15:01:50.511710523 +0000
+@@ -54,8 +54,12 @@
+ # define N_(a) a
+ # endif
+
+-# define TRUE 1
+-# define FALSE 0
++# ifndef TRUE
++# define TRUE 1
++# endif
++# ifndef FALSE
++# define FALSE 0
++# endif
+
+ # define HUGE_STRING 8192
+ # define LONG_STRING 1024
Home |
Main Index |
Thread Index |
Old Index