pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nmh: Import nmh-1.7.1rc2 as wip/nmh
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Jan 23 11:26:39 2018 +0100
Changeset: bc92bb178e73b107ffc0af3e1741d427e241605b
Modified Files:
Makefile
Added Files:
nmh/DESCR
nmh/Makefile
nmh/PLIST
nmh/distinfo
nmh/files/mhn.defaults.dist
nmh/options.mk
nmh/patches/patch-ca
nmh/patches/patch-cd
Log Message:
nmh: Import nmh-1.7.1rc2 as wip/nmh
nmh (new MH) is a powerful electronic mail handling system. It was
originally based on version 6.8.3 of the MH message system developed by
the RAND Corporation and the University of California. It is intended
to be a (mostly) compatible drop-in replacement for MH.
nmh consists of a collection of fairly simple single-purpose programs
to send, receive, save, retrieve, and manipulate e-mail messages. Since
nmh is a suite rather than a single monolithic program, you may freely
intersperse nmh commands with other commands at your shell prompt,
or write custom scripts which use these commands in flexible ways.
This is intended to ease the update of mail/nmh.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bc92bb178e73b107ffc0af3e1741d427e241605b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
nmh/DESCR | 10 +++
nmh/Makefile | 97 +++++++++++++++++++++++
nmh/PLIST | 189 ++++++++++++++++++++++++++++++++++++++++++++
nmh/distinfo | 8 ++
nmh/files/mhn.defaults.dist | 14 ++++
nmh/options.mk | 37 +++++++++
nmh/patches/patch-ca | 110 ++++++++++++++++++++++++++
nmh/patches/patch-cd | 15 ++++
9 files changed, 481 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index f0099e99c2..a42024bded 100644
--- a/Makefile
+++ b/Makefile
@@ -2187,6 +2187,7 @@ SUBDIR+= ninka
SUBDIR+= nios2-gdb
SUBDIR+= nitrogen
SUBDIR+= njb-sharp
+SUBDIR+= nmh
SUBDIR+= nnrpd
SUBDIR+= nodau
SUBDIR+= nodm
diff --git a/nmh/DESCR b/nmh/DESCR
new file mode 100644
index 0000000000..9bb225a989
--- /dev/null
+++ b/nmh/DESCR
@@ -0,0 +1,10 @@
+nmh (new MH) is a powerful electronic mail handling system. It was
+originally based on version 6.8.3 of the MH message system developed by
+the RAND Corporation and the University of California. It is intended
+to be a (mostly) compatible drop-in replacement for MH.
+
+nmh consists of a collection of fairly simple single-purpose programs
+to send, receive, save, retrieve, and manipulate e-mail messages. Since
+nmh is a suite rather than a single monolithic program, you may freely
+intersperse nmh commands with other commands at your shell prompt,
+or write custom scripts which use these commands in flexible ways.
diff --git a/nmh/Makefile b/nmh/Makefile
new file mode 100644
index 0000000000..9c7d4729d7
--- /dev/null
+++ b/nmh/Makefile
@@ -0,0 +1,97 @@
+# $NetBSD: Makefile,v 1.94 2018/01/01 21:18:40 adam Exp $
+
+DISTNAME= nmh-1.7.1-RC2
+PKGNAME= nmh-1.7.1rc2 # XXX: not needed for non-RC
+CATEGORIES= mail
+MASTER_SITES= https://download.savannah.nongnu.org/releases/nmh/
+
+MAINTAINER= leot%NetBSD.org@localhost
+HOMEPAGE= http://www.nongnu.org/nmh/
+COMMENT= Cleaned up MH mailer suite
+LICENSE= modified-bsd
+
+CONFLICTS= ja-mh-[0-9]*
+CONFLICTS+= ja-mh6-[0-9]*
+
+USE_TOOLS+= lex
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "options.mk"
+
+# Mail Transport Agent - either "smtp" or "sendmail"
+NMH_MTA?= smtp
+
+GNU_CONFIGURE= yes
+
+GNU_CONFIGURE_LIBDIR= ${PREFIX}/libexec/nmh
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
+CONFIGURE_ARGS+= --with-mts=${NMH_MTA:Q}
+CONFIGURE_ARGS+= --without-readline
+
+DOCDIR= share/doc/nmh
+EGDIR= ${PREFIX}/share/examples/nmh
+INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
+
+BUILD_DEFS+= NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP PKG_SYSCONFBASE
+
+PKG_SYSCONFSUBDIR= nmh
+CONF_FILES= # empty
+.for f in MailAliases \
+ components \
+ digestcomps \
+ distcomps \
+ forwcomps \
+ mhical.12hour \
+ mhical.24hour \
+ mhl.body \
+ mhl.digest \
+ mhl.format \
+ mhl.forward \
+ mhl.headers \
+ mhl.reply \
+ mhl.replywithoutbody \
+ mhn.defaults \
+ mts.conf \
+ rcvdistcomps \
+ rcvdistcomps.outbox \
+ replcomps \
+ replgroupcomps \
+ rmmproc.messageid \
+ scan.MMDDYY \
+ scan.YYYYMMDD \
+ scan.default \
+ scan.mailx \
+ scan.nomime \
+ scan.size \
+ scan.time \
+ scan.timely \
+ scan.unseen
+CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+
+# The configure script checks for arc4random(), but the program uses
+# arc4random_buf(); netbsd-5 (and presumably earlier) and some Darwin
+# versions has the one but not the other. Just disable it, because all
+# it's using the randomness for is message-ids.
+.if !empty(MACHINE_PLATFORM:MNetBSD-[1-5].*-*) || \
+ !empty(MACHINE_PLATFORM:MDarwin-[1-9].*-*) || \
+ !empty(MACHINE_PLATFORM:MDarwin-1[0-2].*-*)
+CONFIGURE_ENV+= ac_cv_func_arc4random=no
+.endif
+
+TEST_TARGET= check
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/mhn.defaults.dist \
+ ${DESTDIR}${EGDIR}/mhn.defaults
+
+.if ${OPSYS} == "Linux"
+.include "../../databases/gdbm_compat/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ndbm='gdbm_compat -lgdbm'
+CONFIGURE_ARGS+= --with-ndbmheader=ndbm.h
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/terminfo.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nmh/PLIST b/nmh/PLIST
new file mode 100644
index 0000000000..1101d0a7b1
--- /dev/null
+++ b/nmh/PLIST
@@ -0,0 +1,189 @@
+@comment $NetBSD: PLIST,v 1.10 2017/11/21 10:32:02 leot Exp $
+bin/ali
+bin/anno
+bin/burst
+bin/comp
+bin/dist
+bin/flist
+bin/flists
+bin/fmttest
+bin/fnext
+bin/folder
+bin/folders
+bin/forw
+bin/fprev
+bin/inc
+bin/install-mh
+bin/mark
+bin/mhbuild
+bin/mhfixmsg
+bin/mhical
+bin/mhlist
+bin/mhlogin
+bin/mhmail
+bin/mhn
+bin/mhparam
+bin/mhpath
+bin/mhshow
+bin/mhstore
+bin/msgchk
+bin/new
+bin/next
+bin/packf
+bin/pick
+bin/prev
+bin/prompter
+bin/refile
+bin/repl
+bin/rmf
+bin/rmm
+bin/scan
+bin/send
+bin/sendfiles
+bin/show
+bin/sortm
+bin/unseen
+bin/whatnow
+bin/whom
+libexec/nmh/ap
+libexec/nmh/dp
+libexec/nmh/fmtdump
+libexec/nmh/mhl
+libexec/nmh/mkstemp
+libexec/nmh/post
+libexec/nmh/rcvdist
+libexec/nmh/rcvpack
+libexec/nmh/rcvstore
+libexec/nmh/rcvtty
+libexec/nmh/slocal
+libexec/nmh/spost
+libexec/nmh/viamail
+man/man1/ali.1
+man/man1/anno.1
+man/man1/burst.1
+man/man1/comp.1
+man/man1/dist.1
+man/man1/flist.1
+man/man1/flists.1
+man/man1/fmttest.1
+man/man1/fnext.1
+man/man1/folder.1
+man/man1/folders.1
+man/man1/forw.1
+man/man1/fprev.1
+man/man1/inc.1
+man/man1/install-mh.1
+man/man1/mark.1
+man/man1/mh-mkstemp.1
+man/man1/mhbuild.1
+man/man1/mhfixmsg.1
+man/man1/mhical.1
+man/man1/mhl.1
+man/man1/mhlist.1
+man/man1/mhlogin.1
+man/man1/mhmail.1
+man/man1/mhn.1
+man/man1/mhparam.1
+man/man1/mhpath.1
+man/man1/mhshow.1
+man/man1/mhstore.1
+man/man1/msgchk.1
+man/man1/new.1
+man/man1/next.1
+man/man1/packf.1
+man/man1/pick.1
+man/man1/prev.1
+man/man1/prompter.1
+man/man1/rcvdist.1
+man/man1/rcvpack.1
+man/man1/rcvstore.1
+man/man1/rcvtty.1
+man/man1/refile.1
+man/man1/repl.1
+man/man1/rmf.1
+man/man1/rmm.1
+man/man1/scan.1
+man/man1/send.1
+man/man1/sendfiles.1
+man/man1/show.1
+man/man1/slocal.1
+man/man1/sortm.1
+man/man1/unseen.1
+man/man1/whatnow.1
+man/man1/whom.1
+man/man5/mh-alias.5
+man/man5/mh-draft.5
+man/man5/mh-folders.5
+man/man5/mh-format.5
+man/man5/mh-mail.5
+man/man5/mh-profile.5
+man/man5/mh-sequence.5
+man/man5/mh-tailor.5
+man/man5/mh_profile.5
+man/man5/mts.conf.5
+man/man7/MH.7
+man/man7/mh-chart.7
+man/man7/mh-mime.7
+man/man7/nmh.7
+man/man8/ap.8
+man/man8/dp.8
+man/man8/fmtdump.8
+man/man8/post.8
+share/doc/nmh/COMPLETION-TCSH
+share/doc/nmh/COMPLETION-ZSH
+share/doc/nmh/COPYRIGHT
+share/doc/nmh/DIFFERENCES
+share/doc/nmh/FAQ
+share/doc/nmh/INSTALL
+share/doc/nmh/MAIL.FILTERING
+share/doc/nmh/MAILING-LISTS
+share/doc/nmh/NEWS
+share/doc/nmh/README
+share/doc/nmh/README-ATTACHMENTS
+share/doc/nmh/README-HOOKS
+share/doc/nmh/README-components
+share/doc/nmh/README.SASL
+share/doc/nmh/README.about
+share/doc/nmh/README.developers
+share/doc/nmh/README.manpages
+share/doc/nmh/TODO
+share/doc/nmh/VERSION
+share/doc/nmh/contrib/localpostproc
+share/doc/nmh/contrib/ml
+share/doc/nmh/contrib/replaliases
+share/doc/nmh/contrib/replyfilter
+share/doc/nmh/contrib/vpick
+share/examples/nmh/MailAliases
+share/examples/nmh/bash_completion_nmh
+share/examples/nmh/components
+share/examples/nmh/digestcomps
+share/examples/nmh/distcomps
+share/examples/nmh/forwcomps
+share/examples/nmh/mhical.12hour
+share/examples/nmh/mhical.24hour
+share/examples/nmh/mhl.body
+share/examples/nmh/mhl.digest
+share/examples/nmh/mhl.format
+share/examples/nmh/mhl.forward
+share/examples/nmh/mhl.headers
+share/examples/nmh/mhl.reply
+share/examples/nmh/mhl.replywithoutbody
+share/examples/nmh/mhn.defaults
+share/examples/nmh/mhshow.marker
+share/examples/nmh/mts.conf
+share/examples/nmh/rcvdistcomps
+share/examples/nmh/rcvdistcomps.outbox
+share/examples/nmh/replcomps
+share/examples/nmh/replgroupcomps
+share/examples/nmh/rmmproc.messageid
+share/examples/nmh/scan.MMDDYY
+share/examples/nmh/scan.YYYYMMDD
+share/examples/nmh/scan.curses
+share/examples/nmh/scan.default
+share/examples/nmh/scan.highlighted
+share/examples/nmh/scan.mailx
+share/examples/nmh/scan.nomime
+share/examples/nmh/scan.size
+share/examples/nmh/scan.time
+share/examples/nmh/scan.timely
+share/examples/nmh/scan.unseen
diff --git a/nmh/distinfo b/nmh/distinfo
new file mode 100644
index 0000000000..e0da33c22f
--- /dev/null
+++ b/nmh/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.20 2017/11/21 10:32:02 leot Exp $
+
+SHA1 (nmh-1.7.1-RC2.tar.gz) = 7572f8ecf764c057bf8d9d8947caa54404e576f5
+RMD160 (nmh-1.7.1-RC2.tar.gz) = 6be879ae1bab39bb605ce9dd16d5565be3bb9dde
+SHA512 (nmh-1.7.1-RC2.tar.gz) = b10df8757c4d5cbe5ea7dc85c3a721ba6966c5c03bfd3c907d4cdc9f5103c8a12a6bcebaa12dd1678f6ae216d684a99424ac0a625bb93015a7f552a011260df7
+Size (nmh-1.7.1-RC2.tar.gz) = 1398579 bytes
+SHA1 (patch-ca) = 6fd7cda9424a02d3efb53b03bd078b26df7f5f3e
+SHA1 (patch-cd) = 5a775091713bca2597a01fcd267d56e2a175588a
diff --git a/nmh/files/mhn.defaults.dist b/nmh/files/mhn.defaults.dist
new file mode 100644
index 0000000000..48980d3a30
--- /dev/null
+++ b/nmh/files/mhn.defaults.dist
@@ -0,0 +1,14 @@
+#: $NetBSD: mhn.defaults.dist,v 1.1 2000/03/02 05:11:44 kim Exp $
+#:
+mhstore-store-application/PostScript: %m%P.ps
+mhstore-store-text: %m%P.txt
+mhstore-store-text/richtext: %m%P.rt
+mhstore-store-video/mpeg: %m%P.mpg
+#:
+#: If you install more packages you could enable these
+#:
+#: mhshow-show-application/PostScript: %plpr -Pps
+#: mhshow-show-application/x-ivs: %pivs_replay -o '%F'
+#: mhshow-show-image: %pxv '%f'
+#: mhshow-show-text/richtext: %prichtext -p '%F'
+#: mhshow-show-video/mpeg: %pmpeg_play '%f'" >> $TMP
diff --git a/nmh/options.mk b/nmh/options.mk
new file mode 100644
index 0000000000..9bf8340e5b
--- /dev/null
+++ b/nmh/options.mk
@@ -0,0 +1,37 @@
+# $NetBSD: options.mk,v 1.6 2017/11/22 08:42:24 leot Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.nmh
+PKG_SUPPORTED_OPTIONS= nmh-backup-hash oauth sasl tls
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Prepend a "#" instead of a "," to the name of a message that is
+### "removed" by rmm.
+###
+.if !empty(PKG_OPTIONS:Mnmh-backup-hash)
+CONFIGURE_ARGS+= --with-hash-backup
+.else
+CONFIGURE_ARGS+= --without-hash-backup
+.endif
+
+.if !empty(PKG_OPTIONS:Moauth)
+CONFIGURE_ARGS+= --with-oauth
+.include "../../www/curl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-oauth
+.endif
+
+.if !empty(PKG_OPTIONS:Msasl)
+CONFIGURE_ARGS+= --with-cyrus-sasl
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-cyrus-sasl
+.endif
+
+.if !empty(PKG_OPTIONS:Mtls)
+CONFIGURE_ARGS+= --with-tls
+.include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-tls
+.endif
diff --git a/nmh/patches/patch-ca b/nmh/patches/patch-ca
new file mode 100644
index 0000000000..ea5fd163b5
--- /dev/null
+++ b/nmh/patches/patch-ca
@@ -0,0 +1,110 @@
+$NetBSD: patch-ca,v 1.9 2017/11/21 10:32:02 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 2018-01-21 23:04:05.000000000 +0000
++++ Makefile.in
+@@ -865,6 +865,7 @@ smtpserver = @smtpserver@
+ srcdir = @srcdir@
+ supported_locks = @supported_locks@
+ sysconfdir = @sysconfdir@
++egdir = @prefix@/share/examples/nmh
+ 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
+ CURL_USER_AGENT='@CURL_USER_AGENT@' \
+ MH_TEST_DIR=`cd "@abs_builddir@" && pwd -P`/test/testdir \
+ nmhlibexecdir="$(nmhlibexecdir)" bindir="$(bindir)" \
+- mandir="$(mandir)" nmhetcdir="$(nmhetcdir)" \
+- nmhetcdirinst="@nmhetcdirinst@$(nmhetcdir)" \
++ mandir="$(mandir)" nmhetcdir="$(egdir)" \
++ nmhetcdirinst="$(nmhetcdir)" \
+ supported_locks="$(supported_locks)" \
+ default_locking="${default_locking}" \
+ MULTIBYTE_ENABLED=$(MULTIBYTE_ENABLED) \
+@@ -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)
+- @list='$(dist_nmhetc_DATA)'; test -n "$(nmhetcdir)" || list=; \
++ @list='$(dist_nmhetc_DATA)'; 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; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(nmhetcdir)'"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(nmhetcdir)" || exit $$?; \
++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(egdir)'"; \
++ $(INSTALL_DATA) $$files "$(DESTDIR)$(egdir)" || exit $$?; \
+ done
+
+ uninstall-dist_nmhetcDATA:
+@@ -4680,18 +4681,18 @@ uninstall-dist_nmhetcDATA:
+ dir='$(DESTDIR)$(nmhetcdir)'; $(am__uninstall_files_from_dir)
+ install-nmhetcDATA: $(nmhetc_DATA)
+ @$(NORMAL_INSTALL)
+- @list='$(nmhetc_DATA)'; test -n "$(nmhetcdir)" || list=; \
++ @list='$(nmhetc_DATA)'; 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; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(nmhetcdir)'"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(nmhetcdir)" || exit $$?; \
++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(egdir)'"; \
++ $(INSTALL_DATA) $$files "$(DESTDIR)$(egdir)" || exit $$?; \
+ done
+
+ uninstall-nmhetcDATA:
+@@ -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
diff --git a/nmh/patches/patch-cd b/nmh/patches/patch-cd
new file mode 100644
index 0000000000..57604fc019
--- /dev/null
+++ b/nmh/patches/patch-cd
@@ -0,0 +1,15 @@
+$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
+@@ -365,7 +365,7 @@ fmt_scan (struct format *format, charstr
+ char *savestr, *str;
+ char buffer[NMH_BUFSIZ], buffer2[NMH_BUFSIZ];
+ int i, c, rjust;
+- int value;
++ long long value;
+ time_t t;
+ size_t max;
+ struct format *fmt;
Home |
Main Index |
Thread Index |
Old Index