ports/174312: [Patch] Update mail/nmh to 1.5
Cy Schubert (cy@FreeBSD.org)
cy at FreeBSD.org
Mon Dec 10 02:20:00 UTC 2012
>Number: 174312
>Category: ports
>Synopsis: [Patch] Update mail/nmh to 1.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 10 02:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Cy Schubert (cy at FreeBSD.org)
>Release: FreeBSD 9.1-PRERELEASE i386
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD slippy 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r243418M: Thu Nov 22 18:46:52 PST 2012 root at slippy:/usr/obj/opt/src/svn-stable9/sys/BREAK2 i386
>Description:
Update mail/nmh to 1.5.
>How-To-Repeat:
N/A
>Fix:
The following will update mail/nmh to 1.5.
Index: Makefile
===================================================================
--- Makefile (revision 308573)
+++ Makefile (working copy)
@@ -52,7 +52,7 @@
#
PORTNAME= nmh
-PORTVERSION= 1.3
+PORTVERSION= 1.5
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= nmh
@@ -62,7 +62,6 @@
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --libdir=${PREFIX}/libexec/nmh \
--sysconfdir=${PREFIX}/etc/nmh
.ifdef NMH_EDITOR
@@ -99,23 +98,21 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 900007
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-utmpx
-.endif
+CONFIGURE_ARGS+= --docdir=${DOCSDIR}
.if defined(WITH_SASL2)
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --with-cyrus-sasl=${PREFIX}
.endif
-MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 flists.1 \
- folder.1 folders.1 forw.1 inc.1 install-mh.1 mark.1 \
+MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 flists.1 fnext.1 \
+ folder.1 folders.1 forw.1 fprev.1 inc.1 install-mh.1 mark.1 \
mh-chart.1 mhbuild.1 mhl.1 mhlist.1 mhmail.1 mhn.1 \
mhparam.1 mhpath.1 mhshow.1 mhstore.1 msgchk.1 msh.1 \
- next.1 nmh.1 packf.1 pick.1 prev.1 prompter.1 rcvdist.1 \
+ next.1 new.1 nmh.1 packf.1 pick.1 prev.1 prompter.1 rcvdist.1 \
rcvpack.1 rcvstore.1 rcvtty.1 refile.1 repl.1 rmf.1 rmm.1 \
scan.1 send.1 sendfiles.1 show.1 slocal.1 \
- sortm.1 whatnow.1 whom.1
+ sortm.1 unseen.1 whatnow.1 whom.1
MAN5= mh-alias.5 mh-draft.5 mh-format.5 mh-mail.5 mh-profile.5 \
mh-sequence.5 mh-tailor.5 mts.conf.5
Index: distinfo
===================================================================
--- distinfo (revision 308573)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (nmh-1.3.tar.gz) = 9f16848424489b5a9f7c1402c87665dc56dcadecf6e5c44fb608aef0d1b03b47
-SIZE (nmh-1.3.tar.gz) = 847614
+SHA256 (nmh-1.5.tar.gz) = af5342de8fe9fba5d615caccc9fbcb43cac60b6eb71432f7e112d43850d31c39
+SIZE (nmh-1.5.tar.gz) = 935919
Index: files/extra-patch-utmpx
===================================================================
--- files/extra-patch-utmpx (revision 308573)
+++ files/extra-patch-utmpx (working copy)
@@ -1,62 +0,0 @@
---- uip/rcvtty.c.orig 2011-06-01 20:53:01.000000000 -0400
-+++ uip/rcvtty.c 2011-06-01 20:54:30.000000000 -0400
-@@ -23,7 +23,7 @@
- #include <signal.h>
- #include <fcntl.h>
-
--#include <utmp.h>
-+#include <utmpx.h>
-
- #ifndef HAVE_GETUTENT
- # ifndef UTMP_FILE
-@@ -95,7 +95,7 @@
- #ifdef HAVE_GETUTENT
- struct utmp * utp;
- #else
-- struct utmp ut;
-+ struct utmpx ut;
- register FILE *uf;
- #endif
-
-@@ -193,8 +193,8 @@
- if ((uf = fopen (UTMP_FILE, "r")) == NULL)
- exit (RCV_MBX);
- while (fread ((char *) &ut, sizeof(ut), 1, uf) == 1)
-- if (ut.ut_name[0] != 0
-- && strncmp (user, ut.ut_name, sizeof(ut.ut_name)) == 0) {
-+ if (ut.ut_user[0] != 0
-+ && strncmp (user, ut.ut_user, sizeof(ut.ut_user)) == 0) {
- strncpy (tty, ut.ut_line, sizeof(ut.ut_line));
- alert (tty, md);
- }
---- uip/slocal.c.orig 2011-06-01 20:54:37.000000000 -0400
-+++ uip/slocal.c 2011-06-01 20:55:56.000000000 -0400
-@@ -56,7 +56,7 @@
- #include NDBM_HEADER
- #endif
-
--#include <utmp.h>
-+#include <utmpx.h>
-
- #ifndef HAVE_GETUTENT
- # ifndef UTMP_FILE
-@@ -979,7 +979,7 @@
- static int
- logged_in (void)
- {
-- struct utmp ut;
-+ struct utmpx ut;
- FILE *uf;
-
- if (utmped)
-@@ -989,8 +989,8 @@
- return NOTOK;
-
- while (fread ((char *) &ut, sizeof(ut), 1, uf) == 1) {
-- if (ut.ut_name[0] != 0
-- && strncmp (user, ut.ut_name, sizeof(ut.ut_name)) == 0) {
-+ if (ut.ut_user[0] != 0
-+ && strncmp (user, ut.ut_user, sizeof(ut.ut_user)) == 0) {
- if (debug)
- continue;
- fclose (uf);
Index: files/patch-Makefile.in
===================================================================
--- files/patch-Makefile.in (revision 0)
+++ files/patch-Makefile.in (working copy)
@@ -0,0 +1,44 @@
+--- Makefile.in.orig 2012-12-09 14:41:01.479883313 -0800
++++ Makefile.in 2012-12-09 14:48:13.430726025 -0800
+@@ -3573,16 +3573,16 @@
+ @list='$(dist_sysconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+- echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
+- $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
++ echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f-dist'"; \
++ $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f-dist"; \
+ done
+
+ uninstall-dist_sysconfDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_sysconf_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+- echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
+- rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
++ echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f-dist'"; \
++ rm -f "$(DESTDIR)$(sysconfdir)/$$f-dist"; \
+ done
+ install-sysconfDATA: $(sysconf_DATA)
+ @$(NORMAL_INSTALL)
+@@ -3590,16 +3590,16 @@
+ @list='$(sysconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+- echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
+- $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
++ echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f-dist'"; \
++ $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f-dist"; \
+ done
+
+ uninstall-sysconfDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(sysconf_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+- echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
+- rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
++ echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f-dist'"; \
++ rm -f "$(DESTDIR)$(sysconfdir)/$$f-dist"; \
+ done
+
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
Property changes on: files/patch-Makefile.in
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: files/patch-etc_Makefile_in
===================================================================
--- files/patch-etc_Makefile_in (revision 308573)
+++ files/patch-etc_Makefile_in (working copy)
@@ -1,26 +0,0 @@
---- etc/Makefile.in.orig 2006-03-04 17:14:18.000000000 -0500
-+++ etc/Makefile.in 2011-06-01 20:41:11.000000000 -0400
-@@ -100,22 +100,7 @@
- for path in $$INSTALL_FILES; do \
- file=`basename $$path`; \
- echo "Installing $$file..."; \
-- if [ -f $(DESTDIR)$(etcdir)/$$file ]; then \
-- mv $(DESTDIR)$(etcdir)/$$file $(DESTDIR)$(etcdir)/$$file.prev; \
-- $(INSTALL_DATA) $$path $(DESTDIR)$(etcdir)/$$file; \
-- if diff $(DESTDIR)$(etcdir)/$$file.prev $(DESTDIR)$(etcdir)/$$file; then \
-- rm $(DESTDIR)$(etcdir)/$$file.prev; \
-- else \
-- echo; \
-- echo " Previous version of $$file saved as $$file.prev due\c";\
-- echo " to diffs."; \
-- echo " Please merge any local config changes into the new\c"; \
-- echo " $$file."; \
-- echo; \
-- fi; \
-- else \
-- $(INSTALL_DATA) $$path $(DESTDIR)$(etcdir)/$$file; \
-- fi; \
-+ $(INSTALL_DATA) $$path $(DESTDIR)$(etcdir)/$$file-dist; \
- done
-
- uninstall: uninstall-bin-files uninstall-etc-files
Index: pkg-plist
===================================================================
--- pkg-plist (revision 308573)
+++ pkg-plist (working copy)
@@ -5,9 +5,11 @@
bin/dist
bin/flist
bin/flists
+bin/fnext
bin/folder
bin/folders
bin/forw
+bin/fprev
bin/inc
bin/install-mh
bin/mark
@@ -22,6 +24,7 @@
bin/msgchk
bin/msh
bin/next
+bin/new
bin/packf
bin/pick
bin/prev
@@ -35,6 +38,7 @@
bin/sendfiles
bin/show
bin/sortm
+bin/unseen
bin/whatnow
bin/whom
@unexec if cmp -s %D/etc/nmh/MailAliases %D/etc/nmh/MailAliases-dist; then rm -f %D/etc/nmh/MailAliases; else echo 'Local changes: %D/etc/nmh/MailAliases (not removed)' >&2; fi
@@ -88,6 +92,7 @@
@unexec if cmp -s %D/etc/nmh/replgroupcomps %D/etc/nmh/replgroupcomps-dist; then rm -f %D/etc/nmh/replgroupcomps; else echo 'Local changes: %D/etc/nmh/replgroupcomps (not removed)' >&2; fi
etc/nmh/replgroupcomps-dist
@exec [ -f %D/etc/nmh/replgroupcomps ] || cp %D/etc/nmh/replgroupcomps-dist %D/etc/nmh/replgroupcomps
+ at unexec if cmp -s %D/etc/nmh/scan.MMDDYY %D/etc/nmh/scan-dist; then rm -f %D/etc/nmh/scan; else echo 'Local changes: %D/etc/nmh/scan (not removed)' >&2; fi
@unexec if cmp -s %D/etc/nmh/scan.MMDDYY %D/etc/nmh/scan.MMDDYY-dist; then rm -f %D/etc/nmh/scan.MMDDYY; else echo 'Local changes: %D/etc/nmh/scan.MMDDYY (not removed)' >&2; fi
etc/nmh/scan.MMDDYY-dist
@exec [ -f %D/etc/nmh/scan.MMDDYY ] || cp %D/etc/nmh/scan.MMDDYY-dist %D/etc/nmh/scan.MMDDYY
@@ -129,5 +134,30 @@
libexec/nmh/slocal
libexec/nmh/spost
libexec/nmh/viamail
- at dirrm etc/nmh
+%%DOCSDIR%%/README.about
+%%DOCSDIR%%/MAILING-LISTS
+%%DOCSDIR%%/README.SASL
+%%DOCSDIR%%/COPYRIGHT
+%%DOCSDIR%%/README.manpages
+%%DOCSDIR%%/MAIL.FILTERING
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README-components
+%%DOCSDIR%%/README-ATTACHMENTS
+%%DOCSDIR%%/COMPLETION-ZSH
+%%DOCSDIR%%/README
+%%DOCSDIR%%/README-HOOKS
+%%DOCSDIR%%/FAQ
+%%DOCSDIR%%/contrib/build_nmh
+%%DOCSDIR%%/contrib/nmh.spec
+%%DOCSDIR%%/contrib/replyfilter
+%%DOCSDIR%%/DIFFERENCES
+%%DOCSDIR%%/COMPLETION-BASH
+%%DOCSDIR%%/README.developers
+%%DOCSDIR%%/COMPLETION-TCSH
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/TODO
+%%DOCSDIR%%/VERSION
+ at dirrmtry etc/nmh
@dirrm libexec/nmh
+ at dirrm %%DOCSDIR%%/contrib
+ at dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list