Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2000 10:40:42 -0700 (PDT)
From:      scott@sabami.seaslug.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18035: mail/nmh: update to nmh-1.0.4
Message-ID:  <20000416174042.283BD1F1B@sabami.seaslug.org>

next in thread | raw e-mail | index | archive | help

>Number:         18035
>Category:       ports
>Synopsis:       update to new version 1.0.4 of nmh
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 16 10:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Scott Blachowicz
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
>Environment:

	

>Description:

	[no, I don't know how to gauge severity/priority above - relative
	to what?]

	Version 1.0.3 had a few problems (e.g. core dumps on some types of
	multipart messages).  This patch updates the port to nmh-1.0.4.
	It gets rid of a now-integrated patch file, adds a couple Makefile
	knobs to go with some new configure script options.

>How-To-Repeat:

	

>Fix:
	
	Apply patch:

diff -urN ../nmh-curr/Makefile ./Makefile
--- ../nmh-curr/Makefile	Sat Apr 15 02:22:40 2000
+++ ./Makefile	Sat Apr 15 16:02:03 2000
@@ -30,12 +30,24 @@
 # NMH_LOCKING - specify the style of locking to be used by nmh for the
 #           users' spool files (e.g. the 'inc' command). Must match the
 #           locking style used by your MTA - the default is FLOCK_LOCKING
-#           (the documented behavior for the 'mail.local' delivery
-#           program).
+#           (the documented behavior for the 'mail.local' delivery program).
+#           Do a 'make patch', then look in the source directory (currently
+#           the config.h.in file) for more information on different locking
+#           settings. Current valid settings are:
+#             DOT_LOCKING FCNTL_LOCKING LOCKF_LOCKING FLOCK_LOCKING
+#
+# NMH_MASQUERADE - specify the type(s) of masquerading to allow.  This
+#           is passed through to nmh's "--enable-masquerade" configure
+#           option and the current syntax for that string is:
+#             'draft_from[ mmailid[ username_extension]]'
+#
+# NMH_SMTPSERVERS - specify a blank-separated list of SMTP servers -
+#           passed through to nmh's configure scripts '--with-smtpservers'
+#           option.
 #
 
 PORTNAME=	nmh
-PORTVERSION=	1.0.3
+PORTVERSION=	1.0.4
 CATEGORIES=	mail
 MASTER_SITES=	ftp://ftp.mhost.com/pub/nmh/ \
 		http://people.FreeBSD.org/~jkoshy/PORTS/
@@ -51,8 +63,14 @@
 .ifdef NMH_EDITOR
 CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR}
 .endif
+.ifdef NMH_MASQUERADE
+CONFIGURE_ARGS+= --enable-masquerade="${NMH_MASQUERADE}"
+.endif
 .ifdef NMH_PAGER
 CONFIGURE_ARGS+= --with-pager=${NMH_PAGER}
+.endif
+.ifdef NMH_SMTPSERVERS
+CONFIGURE_ARGS+= --with-smtpservers="${NMH_SMTPSERVERS}"
 .endif
 
 .ifndef NMH_LOCKING
diff -urN ../nmh-curr/files/md5 ./files/md5
--- ../nmh-curr/files/md5	Wed Mar  1 02:14:19 2000
+++ ./files/md5	Sat Apr 15 10:05:42 2000
@@ -1 +1 @@
-MD5 (nmh-1.0.3.tar.gz) = 02519bf8f7ff8590ecfbee9f9500ea07
+MD5 (nmh-1.0.4.tar.gz) = fd0dc5c84f67cfbcdfdc1196a5298e47
diff -urN ../nmh-curr/patches/patch-ba ./patches/patch-ba
--- ../nmh-curr/patches/patch-ba	Tue Feb 29 02:50:08 2000
+++ ./patches/patch-ba	Wed Dec 31 16:00:00 1969
@@ -1,22 +0,0 @@
-diff -ur ../../../nmh-1.0.3-DIST/uip/slocal.c ./uip/slocal.c
---- ../../../nmh-1.0.3-DIST/uip/slocal.c    Sun Feb  6 04:41:00 2000
-+++ ./uip/slocal.c  Mon Feb 28 10:42:31 2000
-@@ -32,11 +32,17 @@
- #include <grp.h>     /* initgroups() is here on Solaris 2.6 */
- #include <unistd.h>  /* initgroups() is here on HP-UX 10.20 */
- 
-+#if !defined(BSD44)
-+/* On FreeBSD 3.2 (at least), initgroups is prototyped in unistd.h with a
-+   'int' arg instead of a 'gid_t' (which is unsigned) arg. The prototype below 
-+   produces a "conflicting types for `initgroups'" error. */
-+
- /* On AIX 4.1, initgroups() is defined and even documented (giving the parameter
-    types as "char*" and "int"), but doesn't have a prototype in any of the
-    system header files.  On other OSes, this should be a duplicate prototype
-    that won't cause any errors or warnings. */
- extern int  initgroups(const char*, gid_t);
-+#endif
- 
- #ifdef HAVE_DB1_NDBM_H
- #include <db1/ndbm.h>
-
diff -urN ../nmh-curr/pkg/PLIST ./pkg/PLIST
--- ../nmh-curr/pkg/PLIST	Wed Mar  1 02:14:20 2000
+++ ./pkg/PLIST	Sat Apr 15 15:37:58 2000
@@ -54,6 +54,8 @@
 etc/nmh/rcvdistcomps.outbox
 etc/nmh/replcomps
 etc/nmh/replgroupcomps
+etc/nmh/scan.MMDDYY
+etc/nmh/scan.YYYYMMDD
 etc/nmh/scan.default
 etc/nmh/scan.mailx
 etc/nmh/scan.nomime

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000416174042.283BD1F1B>