pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/nmh nmh: Update mail/nmh to 1.7.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26367a52e9c8
branches:  trunk
changeset: 376824:26367a52e9c8
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri Mar 09 09:05:37 2018 +0000

description:
nmh: Update mail/nmh to 1.7.1

pkgsrc changes:
 - Update patch-ca to avoid patching unused by pkgsrc `uninstall-*'
   targets (not needed) and adjust `installdirs' target to create
   `egdir' (`share/examples/nmh')

Changes:
1.7.1
-----
1.7.1 is a patch release for 1.7, and includes fixes to a number of
significant bugs we have discovered since releasing 1.7.  Specifically,
this release includes the following bug fixes:

 - A significant memory leak in scan(1)
 - rcvdist(1) not passing arguments to post(8) correctly
 - Number formatting functions in the format engine were not truncating
   numbers correctly
 - Various fixes to the test suite

diffstat:

 mail/nmh/Makefile         |   5 +--
 mail/nmh/distinfo         |  12 ++++----
 mail/nmh/patches/patch-ca |  58 ++++++++++++++++++++++++++++++++--------------
 3 files changed, 48 insertions(+), 27 deletions(-)

diffs (128 lines):

diff -r 209691d10202 -r 26367a52e9c8 mail/nmh/Makefile
--- a/mail/nmh/Makefile Fri Mar 09 08:54:57 2018 +0000
+++ b/mail/nmh/Makefile Fri Mar 09 09:05:37 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.95 2018/01/28 20:10:54 wiz Exp $
+# $NetBSD: Makefile,v 1.96 2018/03/09 09:05:37 leot Exp $
 
-DISTNAME=              nmh-1.7
-PKGREVISION=           2
+DISTNAME=              nmh-1.7.1
 CATEGORIES=            mail
 MASTER_SITES=          https://download.savannah.nongnu.org/releases/nmh/
 
diff -r 209691d10202 -r 26367a52e9c8 mail/nmh/distinfo
--- a/mail/nmh/distinfo Fri Mar 09 08:54:57 2018 +0000
+++ b/mail/nmh/distinfo Fri Mar 09 09:05:37 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.20 2017/11/21 10:32:02 leot Exp $
+$NetBSD: distinfo,v 1.21 2018/03/09 09:05:37 leot Exp $
 
-SHA1 (nmh-1.7.tar.gz) = 626e4c759807fa0714a825bcc4f4c60ba9360ea5
-RMD160 (nmh-1.7.tar.gz) = d0112f995e117b5723a73e6f363681674feb13f1
-SHA512 (nmh-1.7.tar.gz) = 68394c23d776b066d50b75486c985eb59e8545d1f928d78c663be1cd28bf1f7af88fad30e9a7b6e3b80dda1fd6f04815c4b1a6accbf0e960e523742e335dec86
-Size (nmh-1.7.tar.gz) = 1391594 bytes
-SHA1 (patch-ca) = 8e3d655602d8b508f403e51b105e122818b50b7c
+SHA1 (nmh-1.7.1.tar.gz) = 441b56502827eb8296745520a243c7d46153ad94
+RMD160 (nmh-1.7.1.tar.gz) = 174a5a66d46a42a65adc8382036a48e2dc671255
+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
diff -r 209691d10202 -r 26367a52e9c8 mail/nmh/patches/patch-ca
--- a/mail/nmh/patches/patch-ca Fri Mar 09 08:54:57 2018 +0000
+++ b/mail/nmh/patches/patch-ca Fri Mar 09 09:05:37 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-ca,v 1.9 2017/11/21 10:32:02 leot Exp $
+$NetBSD: patch-ca,v 1.10 2018/03/09 09:05:37 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   2017-08-03 02:22:59.000000000 +0000
+--- Makefile.in.orig   2018-01-21 23:04:05.000000000 +0000
 +++ Makefile.in
-@@ -864,6 +864,7 @@ smtpserver = @smtpserver@
+@@ -865,6 +865,7 @@ smtpserver = @smtpserver@
  srcdir = @srcdir@
  supported_locks = @supported_locks@
  sysconfdir = @sysconfdir@
@@ -15,7 +15,7 @@
  target_alias = @target_alias@
  top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
-@@ -881,8 +882,8 @@ TESTS_ENVIRONMENT = MH_OBJ_DIR="@abs_bui
+@@ -882,8 +883,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,32 @@
                    supported_locks="$(supported_locks)" \
                    default_locking="${default_locking}" \
                    MULTIBYTE_ENABLED=$(MULTIBYTE_ENABLED) \
-@@ -4625,46 +4626,46 @@ uninstall-dist_docs_contribDATA:
+@@ -2504,10 +2505,10 @@ uninstall-dist_docs_contribSCRIPTS:
+       dir='$(DESTDIR)$(docs_contribdir)'; $(am__uninstall_files_from_dir)
+ install-dist_nmhetcSCRIPTS: $(dist_nmhetc_SCRIPTS)
+       @$(NORMAL_INSTALL)
+-      @list='$(dist_nmhetc_SCRIPTS)'; test -n "$(nmhetcdir)" || list=; \
++      @list='$(dist_nmhetc_SCRIPTS)'; test -n "$(egdir)" || list=; \
+       if test -n "$$list"; then \
+-        echo " $(MKDIR_P) '$(DESTDIR)$(nmhetcdir)'"; \
+-        $(MKDIR_P) "$(DESTDIR)$(nmhetcdir)" || exit 1; \
++        echo " $(MKDIR_P) '$(DESTDIR)$(egdir)'"; \
++        $(MKDIR_P) "$(DESTDIR)$(egdir)" || exit 1; \
+       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
+       while read type dir files; do \
+            if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+            test -z "$$files" || { \
+-             echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(nmhetcdir)$$dir'"; \
+-             $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(nmhetcdir)$$dir" || exit $$?; \
++             echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(egdir)$$dir'"; \
++             $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(egdir)$$dir" || exit $$?; \
+            } \
+       ; done
+ 
+@@ -4659,18 +4660,18 @@ uninstall-dist_docs_contribDATA:
        dir='$(DESTDIR)$(docs_contribdir)'; $(am__uninstall_files_from_dir)
  install-dist_nmhetcDATA: $(dist_nmhetc_DATA)
        @$(NORMAL_INSTALL)
@@ -50,10 +75,7 @@
        done
  
  uninstall-dist_nmhetcDATA:
-       @$(NORMAL_UNINSTALL)
--      @list='$(dist_nmhetc_DATA)'; test -n "$(nmhetcdir)" || list=; \
-+      @list='$(dist_nmhetc_DATA)'; test -n "$(egdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+@@ -4680,18 +4681,18 @@ uninstall-dist_nmhetcDATA:
        dir='$(DESTDIR)$(nmhetcdir)'; $(am__uninstall_files_from_dir)
  install-nmhetcDATA: $(nmhetc_DATA)
        @$(NORMAL_INSTALL)
@@ -77,12 +99,12 @@
        done
  
  uninstall-nmhetcDATA:
-       @$(NORMAL_UNINSTALL)
--      @list='$(nmhetc_DATA)'; test -n "$(nmhetcdir)" || list=; \
-+      @list='$(nmhetc_DATA)'; test -n "$(egdir)" || list=; \
-       files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
--      dir='$(DESTDIR)$(nmhetcdir)'; $(am__uninstall_files_from_dir)
-+      dir='$(DESTDIR)$(egdir)'; $(am__uninstall_files_from_dir)
- 
- ID: $(am__tagged_files)
-       $(am__define_uniq_tagged_files); mkid -fID $$unique
+@@ -5022,7 +5023,7 @@ check: check-am
+ all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(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 \
++      for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(nmhlibexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docs_contribdir)" "$(DESTDIR)$(egdir)" "$(DESTDIR)$(nmhlibexecdir)" "$(DESTDIR)$(man1dir)" 
"$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man7dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(docs_contribdir)" "$(DESTDIR)$(egdir)" "$(DESTDIR)$(egdir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+       done
+ install: install-am



Home | Main Index | Thread Index | Old Index