From owner-freebsd-ports Sun Apr 16 10:50: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AD60937B953 for ; Sun, 16 Apr 2000 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA66039; Sun, 16 Apr 2000 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from sabami.seaslug.org (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by hub.freebsd.org (Postfix) with ESMTP id 5776C37B904 for ; Sun, 16 Apr 2000 10:40:26 -0700 (PDT) (envelope-from scott@sabmail.rresearch.com) Received: by sabami.seaslug.org (Postfix, from userid 1000) id 283BD1F1B; Sun, 16 Apr 2000 10:40:42 -0700 (PDT) Message-Id: <20000416174042.283BD1F1B@sabami.seaslug.org> Date: Sun, 16 Apr 2000 10:40:42 -0700 (PDT) From: scott@sabami.seaslug.org Reply-To: scott@sabami.seaslug.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/18035: mail/nmh: update to nmh-1.0.4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 /* initgroups() is here on Solaris 2.6 */ - #include /* 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 - 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