summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2020-11-08 17:42:45 +0000
committertron <tron@pkgsrc.org>2020-11-08 17:42:45 +0000
commit4f6aefe2421e53827a4bf864ce8d747ef011e0ed (patch)
tree946bc365c1a18d2fb16ac005b1291b8d59319265 /mail/mutt
parentdee4ece35409fc026ec79be182ffb50208510806 (diff)
downloadpkgsrc-4f6aefe2421e53827a4bf864ce8d747ef011e0ed.tar.gz
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 (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile5
-rw-r--r--mail/mutt/PLIST4
-rw-r--r--mail/mutt/distinfo19
-rw-r--r--mail/mutt/patches/patch-Makefile.in (renamed from mail/mutt/patches/patch-ab)13
-rw-r--r--mail/mutt/patches/patch-color.c15
-rw-r--r--mail/mutt/patches/patch-configure (renamed from mail/mutt/patches/patch-al)15
-rw-r--r--mail/mutt/patches/patch-doc_Makefile.in (renamed from mail/mutt/patches/patch-ag)10
-rw-r--r--mail/mutt/patches/patch-lib.h (renamed from mail/mutt/patches/patch-af)6
8 files changed, 56 insertions, 31 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 6091b056391..24521c6205d 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -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 --git a/mail/mutt/PLIST b/mail/mutt/PLIST
index 9420430f60a..43c30985aa0 100644
--- a/mail/mutt/PLIST
+++ b/mail/mutt/PLIST
@@ -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-cjk.rc
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 --git a/mail/mutt/distinfo b/mail/mutt/distinfo
index 652c79b92cd..d20e1d5da67 100644
--- a/mail/mutt/distinfo
+++ b/mail/mutt/distinfo
@@ -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 --git a/mail/mutt/patches/patch-ab b/mail/mutt/patches/patch-Makefile.in
index 9bdc2c700f2..85d34a3dcae 100644
--- a/mail/mutt/patches/patch-ab
+++ b/mail/mutt/patches/patch-Makefile.in
@@ -1,8 +1,11 @@
-$NetBSD: patch-ab,v 1.18 2018/11/26 12:26:19 tron Exp $
+$NetBSD: patch-Makefile.in,v 1.1 2020/11/08 17:42:45 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 @@
+- 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)\" \
@@ -11,7 +14,7 @@ $NetBSD: patch-ab,v 1.18 2018/11/26 12:26:19 tron Exp $
-DHAVE_CONFIG_H=1
DEPDIR = @DEPDIR@
-@@ -1667,11 +1667,6 @@
+@@ -1680,11 +1680,6 @@
rm -f $(DESTDIR)$(bindir)/mutt.dotlock ; \
ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
fi
diff --git a/mail/mutt/patches/patch-color.c b/mail/mutt/patches/patch-color.c
new file mode 100644
index 00000000000..1265952c518
--- /dev/null
+++ b/mail/mutt/patches/patch-color.c
@@ -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 --git a/mail/mutt/patches/patch-al b/mail/mutt/patches/patch-configure
index ed98446911d..81f3ac612d5 100644
--- a/mail/mutt/patches/patch-al
+++ b/mail/mutt/patches/patch-configure
@@ -1,8 +1,11 @@
-$NetBSD: patch-al,v 1.12 2018/11/26 12:26:19 tron Exp $
+$NetBSD: patch-configure,v 1.1 2020/11/08 17:42:45 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 @@
+- 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'
@@ -11,7 +14,7 @@ $NetBSD: patch-al,v 1.12 2018/11/26 12:26:19 tron Exp $
else
DOTLOCK_GROUP=''
DOTLOCK_PERMISSION=755
-@@ -10022,6 +10022,7 @@
+@@ -10382,6 +10382,7 @@
case "`$KRB5CFGPATH --version`" in
"Kerberos 5 "*) GSSAPI_IMPL="MIT";;
?eimdal*) GSSAPI_IMPL="Heimdal";;
@@ -19,7 +22,7 @@ $NetBSD: patch-al,v 1.12 2018/11/26 12:26:19 tron Exp $
*) GSSAPI_IMPL="Unknown";;
esac
else
-@@ -10271,7 +10272,7 @@
+@@ -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
diff --git a/mail/mutt/patches/patch-ag b/mail/mutt/patches/patch-doc_Makefile.in
index b8d5c3f8c69..14af89a0fcb 100644
--- a/mail/mutt/patches/patch-ag
+++ b/mail/mutt/patches/patch-doc_Makefile.in
@@ -1,8 +1,10 @@
-$NetBSD: patch-ag,v 1.11 2020/06/22 06:24:15 wiz Exp $
+$NetBSD: patch-doc_Makefile.in,v 1.1 2020/11/08 17:42:46 tron 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
+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
diff --git a/mail/mutt/patches/patch-af b/mail/mutt/patches/patch-lib.h
index 09390f1a330..a20b4cf62ce 100644
--- a/mail/mutt/patches/patch-af
+++ b/mail/mutt/patches/patch-lib.h
@@ -1,10 +1,10 @@
-$NetBSD: patch-af,v 1.8 2018/11/26 12:26:19 tron Exp $
+$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 2018-10-06 23:43:41.000000000 +0100
-+++ lib.h 2018-11-26 12:02:07.000000000 +0000
+--- 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