diff options
author | pst <pst@FreeBSD.org> | 1994-10-04 23:32:54 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1994-10-04 23:32:54 +0000 |
commit | 31dd0f67b1ae9e611a13743ebe0c004eaa42f1eb (patch) | |
tree | 454133be9a3dea4a507e97bdc98a4b66b9e67f5a /mail/mh | |
parent | c095f4e0821c9ffa6a85595460598aebc14eeb03 (diff) | |
download | FreeBSD-ports-31dd0f67b1ae9e611a13743ebe0c004eaa42f1eb.zip FreeBSD-ports-31dd0f67b1ae9e611a13743ebe0c004eaa42f1eb.tar.gz |
MH 6.8.3 port
Diffstat (limited to 'mail/mh')
-rw-r--r-- | mail/mh/Makefile | 10 | ||||
-rw-r--r-- | mail/mh/files/patch-aa | 31 | ||||
-rw-r--r-- | mail/mh/files/patch-ab | 16 | ||||
-rw-r--r-- | mail/mh/files/patch-ac | 50 | ||||
-rw-r--r-- | mail/mh/scripts/configure | 10 |
5 files changed, 117 insertions, 0 deletions
diff --git a/mail/mh/Makefile b/mail/mh/Makefile new file mode 100644 index 0000000..59aa915a --- /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 0000000..2819ec5 --- /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 0000000..b5d02ae2 --- /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 0000000..65730405 --- /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 0000000..5d49863 --- /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 |