summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-11-19 13:55:05 +0000
committeragc <agc@pkgsrc.org>1997-11-19 13:55:05 +0000
commitef8099dd4206ce0fd9f61753829fccb19a098ef0 (patch)
treee4b529d62037f0823c5bf2073d41d2dfb64955ee /mail
parentd368057967150951a24e75eee2a447c3fe84a539 (diff)
downloadpkgsrc-ef8099dd4206ce0fd9f61753829fccb19a098ef0.tar.gz
Initial import of nmh-0.17 from FreeBSD ports collection into NetBSD
packages collection.
Diffstat (limited to 'mail')
-rw-r--r--mail/nmh/Makefile38
-rw-r--r--mail/nmh/files/md51
-rw-r--r--mail/nmh/patches/patch-aa43
-rw-r--r--mail/nmh/patches/patch-ab13
-rw-r--r--mail/nmh/patches/patch-ac116
-rw-r--r--mail/nmh/patches/patch-ad47
-rw-r--r--mail/nmh/patches/patch-ba17
-rw-r--r--mail/nmh/pkg/COMMENT1
-rw-r--r--mail/nmh/pkg/DESCR10
-rw-r--r--mail/nmh/pkg/INSTALL15
-rw-r--r--mail/nmh/pkg/PLIST123
11 files changed, 424 insertions, 0 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
new file mode 100644
index 00000000000..4bfc935edd2
--- /dev/null
+++ b/mail/nmh/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: nmh
+# Version required: 0.17
+# Date created: 26 July 1997
+# Whom: Scott Blachowicz <Scott.Blachowicz@seaslug.org>
+#
+# FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp
+#
+
+DISTNAME= nmh-0.17
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.math.gatech.edu/pub/nmh/
+
+MAINTAINER= Scott.Blachowicz@seaslug.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --libexecdir=$(PREFIX)/libexec/nmh \
+ --sysconfdir=$(PREFIX)/etc/nmh --enable-nmh-pop
+
+MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 folder.1 forw.1 inc.1 \
+ mark.1 mh-chart.1 mhl.1 mhmail.1 mhn.1 mhparam.1 mhpath.1 msgchk.1 msh.1 \
+ next.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 show.1 \
+ slocal.1 sortm.1 vmh.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
+
+MAN8= ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 mh-mts.8 post.8
+
+# Since we patch the autoconf files as well as their outputs, avoid attempt
+# to regenerate header input files with 'autoheader' by Makefile.
+post-patch:
+ ${ECHO} > ${WRKSRC}/stamp-h.in
+
+post-install:
+ @PKG_PREFIX='${PREFIX}' ./pkg/INSTALL
+
+.include <bsd.port.mk>
diff --git a/mail/nmh/files/md5 b/mail/nmh/files/md5
new file mode 100644
index 00000000000..1e666050d75
--- /dev/null
+++ b/mail/nmh/files/md5
@@ -0,0 +1 @@
+MD5 (nmh-0.17.tar.gz) = c18643f3bc43c6d0b8fa2e0dd75406d0
diff --git a/mail/nmh/patches/patch-aa b/mail/nmh/patches/patch-aa
new file mode 100644
index 00000000000..7a5cf945a71
--- /dev/null
+++ b/mail/nmh/patches/patch-aa
@@ -0,0 +1,43 @@
+diff -ur nmh-0.14-dist/acconfig.h nmh-0.14/acconfig.h
+--- acconfig.h-dist Wed Apr 16 21:25:42 1997
++++ acconfig.h Tue May 20 18:59:52 1997
+@@ -1,3 +1,9 @@
++/* Define if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
+
+ /****** BEGIN USER CONFIGURATION SECTION *****/
+
+@@ -37,9 +40,11 @@
+ * OpenBSD 2.x
+ * BSD/OS 2.x
+ */
+-/* #define BIND 1 */
+-/* #define BSD42 1 */
+-/* #define BSD44 1 */
++#ifdef BSD4_4
++#define BIND 1
++#define BSD42 1
++#define BSD44 1
++#endif
+
+ /*
+ * SCO 4.x
+@@ -72,10 +77,14 @@
+ * other programs which may modify your maildrops.
+ * Currently you can only use one type.
+ */
++#if defined(BSD44)
++#define FCNTL_LOCKING 1
++#else
+ #define DOT_LOCKING 1
+ /* #define FCNTL_LOCKING 1 */
+ /* #define LOCKF_LOCKING 1 */
+ /* #define FLOCK_LOCKING 1 */
++#endif
+
+ /*
+ * If you have defined DOT_LOCKING, then the default is to
diff --git a/mail/nmh/patches/patch-ab b/mail/nmh/patches/patch-ab
new file mode 100644
index 00000000000..96a2e2d662f
--- /dev/null
+++ b/mail/nmh/patches/patch-ab
@@ -0,0 +1,13 @@
+--- configure.in-dist Wed Jun 4 19:39:43 1997
++++ configure.in Sat Jun 21 10:13:11 1997
+@@ -424,8 +424,8 @@
+ [test -z "$CONFIG_HEADERS" || echo > stamp-h])
+
+ eval "nmhbin=${bindir}"; eval "nmhbin2=${nmhbin}"
+-eval "nmhetc=${etcdir}"; eval "nmhetc2=${nmhetc}"
+-eval "nmhlib=${libdir}"; eval "nmhlib2=${nmhlib}"
++eval "nmhetc=${sysconfdir}"; eval "nmhetc2=${nmhetc}"
++eval "nmhlib=${libexecdir}"; eval "nmhlib2=${nmhlib}"
+ eval "nmhman=${mandir}"
+
+ echo "
diff --git a/mail/nmh/patches/patch-ac b/mail/nmh/patches/patch-ac
new file mode 100644
index 00000000000..ec4cf7e830e
--- /dev/null
+++ b/mail/nmh/patches/patch-ac
@@ -0,0 +1,116 @@
+diff -ur Makefile.in-dist Makefile.in
+--- Makefile.in-dist Mon Apr 21 12:02:36 1997
++++ Makefile.in Mon May 12 20:54:23 1997
+@@ -26,10 +26,10 @@
+ bindir = @bindir@
+
+ # location of nmh configuration and formats files
+-etcdir = @etcdir@
++etcdir = @sysconfdir@
+
+ # location of support binaries and scripts
+-libdir = @libdir@
++libdir = @libexecdir@
+
+ # location of man pages
+ mandir = @mandir@
+diff -ur config/Makefile.in-dist config/Makefile.in
+--- config/Makefile.in-dist Mon Jan 6 00:44:54 1997
++++ config/Makefile.in Fri May 16 07:05:23 1997
+@@ -16,7 +16,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ default_editor = @vipath@
+diff -ur man/Makefile.in-dist man/Makefile.in
+--- man/Makefile.in-dist Sun Apr 27 18:48:11 1997
++++ man/Makefile.in Fri May 16 07:05:24 1997
+@@ -15,7 +15,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+ mandir = @mandir@
+ manext1 = 1
+diff -ur mts/mmdf/Makefile.in-dist mts/mmdf/Makefile.in
+--- mts/mmdf/Makefile.in-dist Thu Jan 2 15:00:35 1997
++++ mts/mmdf/Makefile.in Fri May 16 07:05:23 1997
+@@ -12,7 +12,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ .SUFFIXES:
+diff -ur mts/sendmail/Makefile.in-dist mts/sendmail/Makefile.in
+--- mts/sendmail/Makefile.in-dist Tue Apr 15 15:59:41 1997
++++ mts/sendmail/Makefile.in Fri May 16 07:05:23 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ CC = @CC@
+diff -ur support/general/Makefile.in-dist support/general/Makefile.in
+--- support/general/Makefile.in-dist Sat Mar 8 00:44:27 1997
++++ support/general/Makefile.in Fri May 16 07:05:24 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ INSTALL = @INSTALL@
+@@ -79,7 +79,7 @@
+ install-scripts:
+ $(top_srcdir)/mkinstalldirs $(libdir)
+ for script in $(SCRIPTS); do \
+- $(INSTALL_PROGRAM) $(srcdir)/$$script $(libdir)/$$script; \
++ $(INSTALL) -m 555 $(srcdir)/$$script $(libdir)/$$script; \
+ done
+
+ uninstall: uninstall-files uninstall-scripts
+diff -ur uip/Makefile.in-dist uip/Makefile.in
+--- uip/Makefile.in-dist Wed Feb 5 22:28:41 1997
++++ uip/Makefile.in Fri May 16 07:05:24 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ CC = @CC@
+diff -ur zotnet/mts/Makefile.in-dist zotnet/mts/Makefile.in
+--- zotnet/mts/Makefile.in-dist Sat Mar 8 00:48:14 1997
++++ zotnet/mts/Makefile.in Fri May 16 07:05:23 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libdir@
+
+ mailspool = @mailspool@
diff --git a/mail/nmh/patches/patch-ad b/mail/nmh/patches/patch-ad
new file mode 100644
index 00000000000..ee5682a64e5
--- /dev/null
+++ b/mail/nmh/patches/patch-ad
@@ -0,0 +1,47 @@
+# Do this patch after acconfig.h to avoid having autoconf regenerate the
+# config.h.in file in case end user has autoconf...
+diff -ur config.h.in-dist config.h.in
+--- config.h.in-dist Fri May 2 12:33:46 1997
++++ config.h.in Thu May 15 22:46:22 1997
+@@ -1,5 +1,11 @@
+ /* config.h.in. Generated automatically from configure.in by autoheader. */
+
++/* Define if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
+ /****** BEGIN USER CONFIGURATION SECTION *****/
+
+ /*
+@@ -38,9 +44,11 @@
+ * OpenBSD 2.x
+ * BSD/OS 2.x
+ */
+-/* #define BIND 1 */
+-/* #define BSD42 1 */
+-/* #define BSD44 1 */
++#if defined(BSD4_4)
++#define BIND 1
++#define BSD42 1
++#define BSD44 1
++#endif
+
+ /*
+ * SCO 4.x
+@@ -73,10 +81,13 @@
+ * other programs which may modify your maildrops.
+ * Currently you can only use one type.
+ */
++#if defined(BSD44)
++#define FCNTL_LOCKING 1
++#else
+ #define DOT_LOCKING 1
+-/* #define FCNTL_LOCKING 1 */
+ /* #define LOCKF_LOCKING 1 */
+ /* #define FLOCK_LOCKING 1 */
++#endif
+
+ /*
+ * If you have defined DOT_LOCKING, then the default is to
diff --git a/mail/nmh/patches/patch-ba b/mail/nmh/patches/patch-ba
new file mode 100644
index 00000000000..6411b0cbb1b
--- /dev/null
+++ b/mail/nmh/patches/patch-ba
@@ -0,0 +1,17 @@
+# Make sure this patch (of 'configure') is run after the patch of
+# 'configure.in' to avoid triggering any 'configure: configure.in' make
+# rules for people with autoconf.
+#
+--- configure-dist Wed Jun 4 22:21:48 1997
++++ configure Sat Jun 21 10:16:23 1997
+@@ -3738,8 +3738,8 @@
+
+
+ eval "nmhbin=${bindir}"; eval "nmhbin2=${nmhbin}"
+-eval "nmhetc=${etcdir}"; eval "nmhetc2=${nmhetc}"
+-eval "nmhlib=${libdir}"; eval "nmhlib2=${nmhlib}"
++eval "nmhetc=${sysconfdir}"; eval "nmhetc2=${nmhetc}"
++eval "nmhlib=${libexecdir}"; eval "nmhlib2=${nmhlib}"
+ eval "nmhman=${mandir}"
+
+ echo "
diff --git a/mail/nmh/pkg/COMMENT b/mail/nmh/pkg/COMMENT
new file mode 100644
index 00000000000..7eba2f28d9d
--- /dev/null
+++ b/mail/nmh/pkg/COMMENT
@@ -0,0 +1 @@
+A cleaned up MH mailer suite.
diff --git a/mail/nmh/pkg/DESCR b/mail/nmh/pkg/DESCR
new file mode 100644
index 00000000000..a3fdfda74fd
--- /dev/null
+++ b/mail/nmh/pkg/DESCR
@@ -0,0 +1,10 @@
+-----------
+what is it?
+-----------
+nmh (new MH) is an electronic mail handling system. It was
+originally based on the package MH-6.8.3, and is intended to be
+a (mostly) compatible drop-in replacement for MH.
+
+nmh is currently in BETA testing/development. It seems to be
+generally stable, but things may break from release to release
+as changes are made.
diff --git a/mail/nmh/pkg/INSTALL b/mail/nmh/pkg/INSTALL
new file mode 100644
index 00000000000..b691411eeaf
--- /dev/null
+++ b/mail/nmh/pkg/INSTALL
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+case "$2" in
+ ""|POST-INSTALL) cat <<EOF
+=============================================================
+
+Some files you might need to customize include the following:
+
+ ${PKG_PREFIX}/etc/nmh/mhn.defaults
+ ${PKG_PREFIX}/etc/nmh/mts.conf
+
+=============================================================
+EOF
+ ;;
+esac
diff --git a/mail/nmh/pkg/PLIST b/mail/nmh/pkg/PLIST
new file mode 100644
index 00000000000..6830d97c72b
--- /dev/null
+++ b/mail/nmh/pkg/PLIST
@@ -0,0 +1,123 @@
+bin/ali
+bin/anno
+bin/burst
+bin/comp
+bin/dist
+bin/flist
+bin/folder
+bin/folders
+bin/forw
+bin/inc
+bin/mark
+bin/mhmail
+bin/mhn
+bin/mhparam
+bin/mhpath
+bin/msgchk
+bin/msh
+bin/next
+bin/packf
+bin/pick
+bin/prev
+bin/prompter
+bin/refile
+bin/repl
+bin/rmf
+bin/rmm
+bin/scan
+bin/send
+bin/show
+bin/sortm
+bin/whatnow
+bin/whom
+etc/nmh/MailAliases
+etc/nmh/components
+etc/nmh/digestcomps
+etc/nmh/distcomps
+etc/nmh/forwcomps
+etc/nmh/mhl.body
+etc/nmh/mhl.digest
+etc/nmh/mhl.format
+etc/nmh/mhl.forward
+etc/nmh/mhl.headers
+etc/nmh/mhn.defaults
+etc/nmh/mts.conf
+etc/nmh/rcvdistcomps
+etc/nmh/replcomps
+etc/nmh/scan.default
+etc/nmh/scan.mailx
+etc/nmh/scan.size
+etc/nmh/scan.time
+etc/nmh/scan.timely
+etc/nmh/scan.unseen
+etc/nmh/tmac.h
+libexec/nmh/ap
+libexec/nmh/conflict
+libexec/nmh/dp
+libexec/nmh/fmtdump
+libexec/nmh/install-mh
+libexec/nmh/mhl
+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.gz
+man/man1/anno.1.gz
+man/man1/burst.1.gz
+man/man1/comp.1.gz
+man/man1/dist.1.gz
+man/man1/flist.1.gz
+man/man1/folder.1.gz
+man/man1/forw.1.gz
+man/man1/inc.1.gz
+man/man1/mark.1.gz
+man/man1/mh-chart.1.gz
+man/man1/mhl.1.gz
+man/man1/mhmail.1.gz
+man/man1/mhn.1.gz
+man/man1/mhparam.1.gz
+man/man1/mhpath.1.gz
+man/man1/msgchk.1.gz
+man/man1/msh.1.gz
+man/man1/next.1.gz
+man/man1/nmh.1.gz
+man/man1/packf.1.gz
+man/man1/pick.1.gz
+man/man1/prev.1.gz
+man/man1/prompter.1.gz
+man/man1/rcvdist.1.gz
+man/man1/rcvpack.1.gz
+man/man1/rcvstore.1.gz
+man/man1/rcvtty.1.gz
+man/man1/refile.1.gz
+man/man1/repl.1.gz
+man/man1/rmf.1.gz
+man/man1/rmm.1.gz
+man/man1/scan.1.gz
+man/man1/send.1.gz
+man/man1/show.1.gz
+man/man1/slocal.1.gz
+man/man1/sortm.1.gz
+man/man1/vmh.1.gz
+man/man1/whatnow.1.gz
+man/man1/whom.1.gz
+man/man5/mh-alias.5.gz
+man/man5/mh-draft.5.gz
+man/man5/mh-format.5.gz
+man/man5/mh-mail.5.gz
+man/man5/mh-profile.5.gz
+man/man5/mh-sequence.5.gz
+man/man5/mh-tailor.5.gz
+man/man8/ap.8.gz
+man/man8/conflict.8.gz
+man/man8/dp.8.gz
+man/man8/fmtdump.8.gz
+man/man8/install-mh.8.gz
+man/man8/mh-mts.8.gz
+man/man8/post.8.gz
+@dirrm etc/nmh
+@dirrm libexec/nmh