aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1994-10-04 23:32:54 +0000
committerPaul Traina <pst@FreeBSD.org>1994-10-04 23:32:54 +0000
commit47ed59f7d12eda197b1a83bd4c996aa9ad28ff79 (patch)
tree4eba445d32be2f92f62ebb07b229d07ff599d7b7 /mail
parentb0b4e69f25441c63d12cba2a93ca4f2abeba4108 (diff)
downloadports-47ed59f7d12eda197b1a83bd4c996aa9ad28ff79.tar.gz
ports-47ed59f7d12eda197b1a83bd4c996aa9ad28ff79.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/mh/Makefile10
-rw-r--r--mail/mh/files/patch-aa31
-rw-r--r--mail/mh/files/patch-ab16
-rw-r--r--mail/mh/files/patch-ac50
-rw-r--r--mail/mh/scripts/configure10
5 files changed, 117 insertions, 0 deletions
diff --git a/mail/mh/Makefile b/mail/mh/Makefile
new file mode 100644
index 000000000000..59aa915a9f61
--- /dev/null
+++ b/mail/mh/Makefile
@@ -0,0 +1,10 @@
+# New ports collection makefile for: mh
+# Version required: 6.8.3
+# Date created: Oct 4, 1994
+# Whom: pst
+#
+MASTER_SITES= ftp://ftp.ics.uci.edu/pub/mh/tar/
+DISTNAME= mh-6.8.3
+EXTRACT_SUFX= .tar.Z
+
+.include <bsd.port.mk>
diff --git a/mail/mh/files/patch-aa b/mail/mh/files/patch-aa
new file mode 100644
index 000000000000..2819ec54a471
--- /dev/null
+++ b/mail/mh/files/patch-aa
@@ -0,0 +1,31 @@
+*** /dev/null Tue Oct 4 16:00:58 1994
+--- conf/FreeBSD Tue Oct 4 15:18:03 1994
+***************
+*** 0 ****
+--- 1,26 ----
++ # @(#)$Id: MH,v 1.7 1990/04/06 09:44:31 sources Exp $
++ # FreeBSD running sendmail
++
++ bin /usr/local/bin
++ etc /usr/local/lib/mh
++ mandir /usr/local/man
++ mail /var/mail
++ chown /usr/sbin/chown
++ mts sendmail/smtp
++ cc cc
++ signal void
++
++ # Good options for all MH installations (personal preferences)
++ options ATHENA DUMB FOLDPROT='"0700"' MHE MHRC RPATHS SBACKUP='"\\043"'
++
++ # FreeBSD specific options (for FreeBSD-1.x, remove BSD44)
++ options BSD42 BSD43 BSD44 WAITINT UNISTD VSPRINTF MORE='"/usr/bin/more"'
++ options NORUSERPASS DBMPWD POSIX NTOHLSWAP SYS5DIR OVERHEAD
++ options BIND MIME SENDMTS SMTP WHATNOW ZONEINFO
++
++ # If you want POP support, this will help you get started, but feel
++ # free to customize it.
++ #pop on
++ #popdir /usr/local/libexec
++ #options APOP='"/etc/pop.auth"' MPOP RPOP
++ #ldoptlibs -lcrypt
diff --git a/mail/mh/files/patch-ab b/mail/mh/files/patch-ab
new file mode 100644
index 000000000000..b5d02ae2d62c
--- /dev/null
+++ b/mail/mh/files/patch-ab
@@ -0,0 +1,16 @@
+*** folder.c.orig Tue Nov 30 20:01:36 1993
+--- uip/folder.c Fri Jul 1 13:11:16 1994
+***************
+*** 551,556 ****
+--- 551,561 ----
+
+ base = strcmp (name, "./") ? name : name + 2;/* hack */
+
++ /* short-cut to see if directory has any sub-directories */
++
++ if (stat (name, &st) != NOTOK && st.st_nlink == 2)
++ return;
++
+ if ((dd = opendir (name)) == NULL) {
+ admonish (name, "unable to read directory ");
+ return;
diff --git a/mail/mh/files/patch-ac b/mail/mh/files/patch-ac
new file mode 100644
index 000000000000..65730405c162
--- /dev/null
+++ b/mail/mh/files/patch-ac
@@ -0,0 +1,50 @@
+*** slocal.c.orig Tue Nov 30 20:01:38 1993
+--- uip/slocal.c Fri Jul 1 13:09:36 1994
+***************
+*** 173,178 ****
+--- 173,180 ----
+ NULL
+ };
+
++ static char *rcvstore;
++
+ /* */
+
+ extern char **environ;
+***************
+*** 299,304 ****
+--- 301,308 ----
+
+ /* */
+
++ rcvstore = getcpy(libpath("rcvstore"));
++
+ if (addr == NULL)
+ addr = getusr ();
+ if (user == NULL)
+***************
+*** 543,549 ****
+--- 547,569 ----
+ status = usr_pipe (fd, tmpbuf, "/bin/sh", vec + 2);
+ break;
+
++ case '+':
++ dofolder:
++ if (*string == '+')
++ strcpy(tmpbuf, string);
++ else
++ sprintf(tmpbuf, "+%s", string);
++ vec[2] = "rcvstore";
++ vec[3] = tmpbuf;
++ vec[4] = NULL;
++ if (verbose)
++ printf("rcvstore %s", vec[3]);
++ status = usr_pipe(fd, "rcvstore", rcvstore, vec + 2);
++ break;
++
+ case 'f':
++ if (uleq(action, "folder"))
++ goto dofolder;
+ if (!uleq (action, "file"))
+ continue; /* else fall */
+ case '>':
diff --git a/mail/mh/scripts/configure b/mail/mh/scripts/configure
new file mode 100644
index 000000000000..5d49863b0674
--- /dev/null
+++ b/mail/mh/scripts/configure
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Configure MH
+#
+top=$3
+cd $top/conf
+make
+./mhconfig FreeBSD
+cd ..
+make clean