Received: by mail.netbsd.org (Postfix, from userid 605) id 7E41E84D52; Sat, 11 Mar 2023 18:16:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B16EB84D39 for ; Sat, 11 Mar 2023 18:16:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id GmFaDQMuhEVj for ; Sat, 11 Mar 2023 18:16:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6A57A84CE3 for ; Sat, 11 Mar 2023 18:16:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 63B8CFA90; Sat, 11 Mar 2023 18:16:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1678558577168880" MIME-Version: 1.0 Date: Sat, 11 Mar 2023 18:16:17 +0000 From: "Leonardo Taccari" Subject: CVS commit: pkgsrc/mail/nmh To: pkgsrc-changes@NetBSD.org Reply-To: leot@netbsd.org X-Mailer: log_accum Message-Id: <20230311181617.63B8CFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1678558577168880 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: leot Date: Sat Mar 11 18:16:17 UTC 2023 Modified Files: pkgsrc/mail/nmh: Makefile distinfo pkgsrc/mail/nmh/patches: patch-ca patch-cd Log Message: nmh: Update to 1.8 Changes: === 1.8 === Welcome to nmh, the new version of the classic MH mail handling system. It's been nearly five years since the last release of nmh, and there have been a number of significant changes since that last release. Long-time MH and nmh users should read carefully the NOTABLE CHANGES section, as there are some significant changes to nmh behavior. Otherwise, please see the README and INSTALL files for help on getting started with nmh. This release is dedicated to Norman Z. Shapiro, co-designer of the MH Message Handling System. MH is the predecessor of nmh. Norm was an active supporter of nmh development until he passed away in October of 2021. We are most grateful to Norm for his stewardship of MH and nmh. https://en.wikipedia.org/wiki/Norman_Shapiro For news of future releases, subscribe to the low-volume https://lists.nongnu.org/mailman/listinfo/nmh-announce --------------- NOTABLE CHANGES --------------- - Support for Content-MD5 header fields, MIME content cache functionality, and the message/partial MIME type have been removed. - Gmail OAuth2/XOAUTH support for desktop applications has been effectively dropped, so nmh no longer supports it. nmh support for Gmail API access is experimental, please post to nmh-workers@nongnu.org if you'd like to help with test and development. - repl(1) -convertargs now allows editing of the composition draft between translation and any encoding of text content. Because encoding can wrap long lines, the use of a paragraph formatter has been removed from mhn.defaults. ------------ NEW FEATURES ------------ - The default editor has been changed from 'vi' to 'prompter', to align with historical practice and reduce packaging dependencies on external programs. - A new -checkbase64 switch has been added to mhfixmsg(1). - inc(1)/msgchk(1) now support STARTTLS for the POP protocol. - All TLS-supported protocols now will send the SNI (server name indicator) TLS extension. - A new mh-format function %(ordinal) has been implemented to output the appropriate ordinal suffix for numbers. Example: "%(num 22)%(ordinal)" will output "22nd". - show and mhl now decode more addresses in header fields. - Added warning from all programs that read the profile if the profile contains a post entry, which is ignored, but does not contain a postproc entry. In other words, if you get this warning and want to suppress it, your options include: 1) Remove your post profile entry. 2) Make your post profile entry a comment by prepending it with the #: comment indicator. 3) Add a postproc entry that points to the post that you use. That can be viewed with "mhparam postproc". - scan(1) -file argument can be a Maildir directory. - Updated mhn.defaults to prefer mpv(1) over xv(1) and replace mpeg_play(1), and to use it for all video types, not just video/mpeg. And prefer all other searched-for pdf viewers over acroread(1). - Added mhshow-suffix-video.mp4 to mhn.defaults, for use by mhshow(1) and send(1). - Removed support from mhn.defaults for application/x-ivs and text/richtext. - Changed interpretation of argument to mhfixmsg(1) -decodeheaderfieldbodies switch to specify character set of the decoded field bodies. - repl(1) -convertargs now allows editing of the composition draft between translation and any encoding of text content. - install-mh(1) now enables the mh-draft(5) draft folder facility. ----------------- OBSOLETE FEATURES ----------------- - The generation and verification of a Content-MD5 field has been removed without deprecation. The related -check and -nocheck options now error. - The MIME content cache functionality has been mostly non-functional since the development on nmh, and consequently all of the content caching code and related switches (-cache/-rcache/-wcache) have been removed. - Support for generating and reassembling message/partial messages has been removed; it seems that this has been broken since 1.5 and there is very little support across MUAs. - Marked Gmail OAuth2/XOAUTH support as being unsupported. - Support for the MHPDEBUG environment variable was removed. It was deprecated in nmh 1.7. The pick(1) -debug switch replaced it. - The 'libdir' mhparam(1) component was removed. It was deprecated in nmh 1.7, when it was replaced by a new 'libexecdir' component. --------- BUG FIXES --------- - Fixed bcc to work with sendmail/pipe, and better documented that dcc doesn't work with it [Bug 55700]. - An -attendee switch has been added to mhical(1), for use when more than one (or zero) attendees match a user's mailbox. - Fixed inc(1) and %(me) function escape to not obey Local-Mailbox profile component. - Fixed source charset in mhfixmsg textcharset verbose output. - Fixed mhfixmsg charset determination of content added with -reformat. - Fixed file descriptor leak in mhfixmsg when run on multiple input files. - Fixed mhfixmsg(1) -decodeheaderfilebodies to support mixed encoded/undecoded. - Fixed memory corruption in post(1) and inc(1) when using XOAUTH2, with 4 or more entries in the oauth-authservice file. - Added alias expansion to From: address for use by sendfrom. - Removed extra space added before header field bodies by dist(1) to $mhdraft. - Fixed display of iCalendar object with multiple VEVENTS using a VTIMEZONE. - Fixed allowable encodings with MIME message types to get closer to RFC 2046. - Detect other files regardless of backup prefix [Bug #49476]. - Copy if hard link by refile(1) or send(1) fails with EACESS [Bug 56575]. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 pkgsrc/mail/nmh/Makefile cvs rdiff -u -r1.23 -r1.24 pkgsrc/mail/nmh/distinfo cvs rdiff -u -r1.10 -r1.11 pkgsrc/mail/nmh/patches/patch-ca cvs rdiff -u -r1.8 -r1.9 pkgsrc/mail/nmh/patches/patch-cd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1678558577168880 Content-Disposition: inline Content-Length: 6281 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mail/nmh/Makefile diff -u pkgsrc/mail/nmh/Makefile:1.114 pkgsrc/mail/nmh/Makefile:1.115 --- pkgsrc/mail/nmh/Makefile:1.114 Wed Oct 26 10:31:38 2022 +++ pkgsrc/mail/nmh/Makefile Sat Mar 11 18:16:17 2023 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.114 2022/10/26 10:31:38 wiz Exp $ +# $NetBSD: Makefile,v 1.115 2023/03/11 18:16:17 leot Exp $ -DISTNAME= nmh-1.7.1 -PKGREVISION= 16 +DISTNAME= nmh-1.8 CATEGORIES= mail MASTER_SITES= https://download.savannah.nongnu.org/releases/nmh/ Index: pkgsrc/mail/nmh/distinfo diff -u pkgsrc/mail/nmh/distinfo:1.23 pkgsrc/mail/nmh/distinfo:1.24 --- pkgsrc/mail/nmh/distinfo:1.23 Tue Oct 26 10:54:10 2021 +++ pkgsrc/mail/nmh/distinfo Sat Mar 11 18:16:17 2023 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.23 2021/10/26 10:54:10 nia Exp $ +$NetBSD: distinfo,v 1.24 2023/03/11 18:16:17 leot Exp $ -BLAKE2s (nmh-1.7.1.tar.gz) = 5ef6a8a1d7322e1935392123213db872eb26f275e9249f48bfc2aaebc87f0e27 -SHA512 (nmh-1.7.1.tar.gz) = f2130243924174c9b965adbfdf1582a5caae2dc730e8731760b143c481e2174699f62ef0014218ec2698d1927cc94d1789f82823ee31d587602cc2c7d1d8918b -Size (nmh-1.7.1.tar.gz) = 1400083 bytes -SHA1 (patch-ca) = 6fd7cda9424a02d3efb53b03bd078b26df7f5f3e -SHA1 (patch-cd) = 5a775091713bca2597a01fcd267d56e2a175588a +BLAKE2s (nmh-1.8.tar.gz) = e90284c81c6e135c0f031e185b3ed9d291b62369fa2d2c570aecc6f1a10c5949 +SHA512 (nmh-1.8.tar.gz) = 12fc28d6a11da9e5a7d0ec1ca2811906ccdecdace94c06e17825d0029f6fbd1e5e1b81e82fe991ba1b7f8f045c2b60007473de0e2387e96d19262e94f0cafbf6 +Size (nmh-1.8.tar.gz) = 1513206 bytes +SHA1 (patch-ca) = 5cf595da9003e311fbcf0a9bf738520290495366 +SHA1 (patch-cd) = 2f9be94dab854f86b103088471bc6b5529fca29e Index: pkgsrc/mail/nmh/patches/patch-ca diff -u pkgsrc/mail/nmh/patches/patch-ca:1.10 pkgsrc/mail/nmh/patches/patch-ca:1.11 --- pkgsrc/mail/nmh/patches/patch-ca:1.10 Fri Mar 9 09:05:37 2018 +++ pkgsrc/mail/nmh/patches/patch-ca Sat Mar 11 18:16:17 2023 @@ -1,13 +1,13 @@ -$NetBSD: patch-ca,v 1.10 2018/03/09 09:05:37 leot Exp $ +$NetBSD: patch-ca,v 1.11 2023/03/11 18:16:17 leot Exp $ - Introduce $egdir and install all configuration files in it, in order to properly use CONF_FILES to manage configuration files for pkgsrc. - Adjust TEST_ENVIRONMENT in order to use $egdir instead of $nmhetcdir and adjust $nmhetcdirinst to fix the `mhparam etcdir' test. ---- Makefile.in.orig 2018-01-21 23:04:05.000000000 +0000 +--- Makefile.in.orig 2023-01-01 16:30:07.000000000 +0000 +++ Makefile.in -@@ -865,6 +865,7 @@ smtpserver = @smtpserver@ +@@ -988,6 +988,7 @@ smtpserver = @smtpserver@ srcdir = @srcdir@ supported_locks = @supported_locks@ sysconfdir = @sysconfdir@ @@ -15,7 +15,7 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:0 target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ -@@ -882,8 +883,8 @@ TESTS_ENVIRONMENT = MH_OBJ_DIR="@abs_bui +@@ -1003,8 +1004,8 @@ TESTS_ENVIRONMENT = MH_OBJ_DIR="@abs_bui CURL_USER_AGENT='@CURL_USER_AGENT@' \ MH_TEST_DIR=`cd "@abs_builddir@" && pwd -P`/test/testdir \ nmhlibexecdir="$(nmhlibexecdir)" bindir="$(bindir)" \ @@ -26,7 +26,7 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:0 supported_locks="$(supported_locks)" \ default_locking="${default_locking}" \ MULTIBYTE_ENABLED=$(MULTIBYTE_ENABLED) \ -@@ -2504,10 +2505,10 @@ uninstall-dist_docs_contribSCRIPTS: +@@ -2756,10 +2757,10 @@ uninstall-dist_docs_contribSCRIPTS: dir='$(DESTDIR)$(docs_contribdir)'; $(am__uninstall_files_from_dir) install-dist_nmhetcSCRIPTS: $(dist_nmhetc_SCRIPTS) @$(NORMAL_INSTALL) @@ -40,7 +40,7 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:0 fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -@@ -2526,8 +2527,8 @@ install-dist_nmhetcSCRIPTS: $(dist_nmhet +@@ -2778,8 +2779,8 @@ install-dist_nmhetcSCRIPTS: $(dist_nmhet while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ @@ -51,7 +51,7 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:0 } \ ; done -@@ -4659,18 +4660,18 @@ uninstall-dist_docs_contribDATA: +@@ -4871,18 +4872,18 @@ uninstall-dist_docs_contribDATA: dir='$(DESTDIR)$(docs_contribdir)'; $(am__uninstall_files_from_dir) install-dist_nmhetcDATA: $(dist_nmhetc_DATA) @$(NORMAL_INSTALL) @@ -75,7 +75,7 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:0 done uninstall-dist_nmhetcDATA: -@@ -4680,18 +4681,18 @@ uninstall-dist_nmhetcDATA: +@@ -4892,18 +4893,18 @@ uninstall-dist_nmhetcDATA: dir='$(DESTDIR)$(nmhetcdir)'; $(am__uninstall_files_from_dir) install-nmhetcDATA: $(nmhetc_DATA) @$(NORMAL_INSTALL) @@ -99,8 +99,8 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:0 done uninstall-nmhetcDATA: -@@ -5022,7 +5023,7 @@ check: check-am - all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \ +@@ -5242,7 +5243,7 @@ check: check-am + all-am: Makefile $(PROGRAMS) $(LIBRARIES) $(SCRIPTS) $(MANS) $(DATA) \ $(HEADERS) config.h installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(nmhlibexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docs_contribdir)" "$(DESTDIR)$(nmhetcdir)" "$(DESTDIR)$(nmhlibexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man7dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(docs_contribdir)" "$(DESTDIR)$(nmhetcdir)" "$(DESTDIR)$(nmhetcdir)"; do \ Index: pkgsrc/mail/nmh/patches/patch-cd diff -u pkgsrc/mail/nmh/patches/patch-cd:1.8 pkgsrc/mail/nmh/patches/patch-cd:1.9 --- pkgsrc/mail/nmh/patches/patch-cd:1.8 Tue Nov 21 10:32:02 2017 +++ pkgsrc/mail/nmh/patches/patch-cd Sat Mar 11 18:16:17 2023 @@ -1,13 +1,13 @@ -$NetBSD: patch-cd,v 1.8 2017/11/21 10:32:02 leot Exp $ +$NetBSD: patch-cd,v 1.9 2023/03/11 18:16:17 leot Exp $ make sure a time_t fits in ---- sbr/fmt_scan.c.orig 2017-05-17 01:03:54.000000000 +0000 +--- sbr/fmt_scan.c.orig 2022-12-09 02:34:01.000000000 +0000 +++ sbr/fmt_scan.c -@@ -365,7 +365,7 @@ fmt_scan (struct format *format, charstr - char *savestr, *str; +@@ -369,7 +369,7 @@ fmt_scan (struct format *format, charstr char buffer[NMH_BUFSIZ], buffer2[NMH_BUFSIZ]; - int i, c, rjust; + int i, c; + bool rjust; - int value; + long long value; time_t t; --_----------=_1678558577168880--