mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
MH 6.8.3 port
This commit is contained in:
parent
b0b4e69f25
commit
47ed59f7d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177
10
mail/mh/Makefile
Normal file
10
mail/mh/Makefile
Normal file
@ -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>
|
31
mail/mh/files/patch-aa
Normal file
31
mail/mh/files/patch-aa
Normal file
@ -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
|
16
mail/mh/files/patch-ab
Normal file
16
mail/mh/files/patch-ab
Normal file
@ -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;
|
50
mail/mh/files/patch-ac
Normal file
50
mail/mh/files/patch-ac
Normal file
@ -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 '>':
|
10
mail/mh/scripts/configure
vendored
Normal file
10
mail/mh/scripts/configure
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Configure MH
|
||||
#
|
||||
top=$3
|
||||
cd $top/conf
|
||||
make
|
||||
./mhconfig FreeBSD
|
||||
cd ..
|
||||
make clean
|
Loading…
Reference in New Issue
Block a user