pkgsrc-WIP-changes archive

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

nmh: Update to 1.8rc1



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Jan 1 18:52:40 2023 +0100
Changeset:	fa2d907c078898cffd56cbde172455d9f2b6f415

Modified Files:
	nmh/Makefile
	nmh/distinfo
	nmh/patches/patch-ca
	nmh/patches/patch-cd

Log Message:
nmh: Update to 1.8rc1

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 uses 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.

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, MIMI 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@localhost 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.

------------
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 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.

---------
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 see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fa2d907c078898cffd56cbde172455d9f2b6f415

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nmh/Makefile         |  4 ++--
 nmh/distinfo         | 10 +++++-----
 nmh/patches/patch-ca | 18 +++++++++---------
 nmh/patches/patch-cd |  8 ++++----
 4 files changed, 20 insertions(+), 20 deletions(-)

diffs:
diff --git a/nmh/Makefile b/nmh/Makefile
index 71b3bb526c..15de6b89b6 100644
--- a/nmh/Makefile
+++ b/nmh/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.114 2022/10/26 10:31:38 wiz Exp $
 
-DISTNAME=		nmh-1.7.1
-PKGREVISION=		16
+DISTNAME=		nmh-1.8-RC1
+PKGNAME=		${DISTNAME:S/-RC/rc/}
 CATEGORIES=		mail
 MASTER_SITES=		https://download.savannah.nongnu.org/releases/nmh/
 
diff --git a/nmh/distinfo b/nmh/distinfo
index 95e4539a55..67074eaf79 100644
--- a/nmh/distinfo
+++ b/nmh/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.23 2021/10/26 10:54:10 nia 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-RC1.tar.gz) = 92f047ebbf17d3b66f843ea9342cd932236feb8b620cc30239b27789627cefd1
+SHA512 (nmh-1.8-RC1.tar.gz) = 344946ba3aa49b9c84d7e34654956a4c373fc7f740c5f4fb4047625ff25cf5e3616b4ffd24bf9cd70f5b8b2cdca3aedc535c5f3a6f67bd02d0bd22eef321615a
+Size (nmh-1.8-RC1.tar.gz) = 1514434 bytes
+SHA1 (patch-ca) = 5cf595da9003e311fbcf0a9bf738520290495366
+SHA1 (patch-cd) = 2f9be94dab854f86b103088471bc6b5529fca29e
diff --git a/nmh/patches/patch-ca b/nmh/patches/patch-ca
index 473ad3b40f..345d44a50a 100644
--- a/nmh/patches/patch-ca
+++ b/nmh/patches/patch-ca
@@ -5,9 +5,9 @@ $NetBSD: patch-ca,v 1.10 2018/03/09 09:05:37 leot Exp $
 - 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:05:37 leot Exp $
  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:05:37 leot Exp $
  		    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:05:37 leot Exp $
  	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:05:37 leot Exp $
  	     } \
  	; 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:05:37 leot Exp $
  	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:05:37 leot Exp $
  	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 \
diff --git a/nmh/patches/patch-cd b/nmh/patches/patch-cd
index 57604fc019..c27378d292 100644
--- a/nmh/patches/patch-cd
+++ b/nmh/patches/patch-cd
@@ -2,12 +2,12 @@ $NetBSD: patch-cd,v 1.8 2017/11/21 10:32:02 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;


Home | Main Index | Thread Index | Old Index