[comp.mail.mh] Looking for sources of mh

whu@mohawk.steinmetz (Wayne Uejio) (05/24/89)

Hi,

I am trying to find the sources to mh.  A while back someone published 
where one could ftp them from.  I would greatly appreciate that 
information.

thanks,
Wayne Uejio
General Electric CRD
KW-D252
P.O. Box 8
Schenectady, NY 12301

518-387-6441

arpa:    uejiowh@ge.crd.com
uunet:   uunet!steinmetz!mohawk!whu

hsu@polya.Stanford.EDU (Yung-jen Hsu) (05/29/89)

In article <13843@steinmetz.ge.com> whu@mohawk.UUCP (Wayne Uejio) writes:

>I am trying to find the sources to mh.  A while back someone published 
>where one could ftp them from.  I would greatly appreciate that 
>information.

I'm interested in the same information.  Could someone post it?
Thanks in advance.

Jane Hsu
hsu@polya.stanford.edu

mdb@bridge2.ESD.3Com.COM (Mark D. Baushke) (05/29/89)

In article <9536@polya.Stanford.EDU> hsu@polya.Stanford.EDU (Yung-jen Hsu)
writes:
>In article <13843@steinmetz.ge.com> whu@mohawk.UUCP (Wayne Uejio) writes:
>
>>I am trying to find the sources to mh.  A while back someone published 
>>where one could ftp them from.  I would greatly appreciate that 
>>information.
>
>I'm interested in the same information.  Could someone post it?
>Thanks in advance.
>
>Jane Hsu
>hsu@polya.stanford.edu

You can FTP it from louie.udel.edu or uunet.uu.net:

louie.udel.edu [128.175.1.3]:/portal/mh-6.6.tar.Z
1747573 Sep 27  1988 mh-6.6.tar.Z

uunet.uu.net [192.48.96.2]:/mail/mh-6.6.tar.Z
1747573 Jun 29  1988 /mail/mh-6.6.tar.Z

You will probably want to apply the patches following my signature.

You might also be interested in 
uunet.uu.net [192.48.96.2]:/mail/mh.sharedlibs.diff.Z
4091 May 12 00:13 /mail/mh.sharedlibs.diff.Z
which appears to be patches to mh for SunOS 4.0. (There is no
documentation with them.)

I am running mh-6.6 under SunOS 3.5 on a Sun-3/60. The only patches I
have applied to the distribution are included after my signature. They
were based on patches provided by Bill Wohler <wohler@spam.istc.sri.com> 
for mh-6.5 which did not get incorporated into the mh-6.6 release.
It also includes the bugfix I postead earlier. (I am including all of
the patches here since anyone getting a fresh copy will probably want
to patch it and not hunt down old archives of comp.mail.mh ... the
patches are only about 7k.) 

Mark D. Baushke
UUCP:	    {3comvax,auspex,sun}!bridge2!mdb
Internet:   <@[129.213.128.4]:mdb@bridge2.ESD.3Com.COM>
Nameserver: mdb@bridge2.ESD.3Com.COM
(We should have a secondary nameserver real soon now...leading to having our
new A (and MX) records properly being published by the root nameservers.)

*** mh-6.6/ChangeLog.orig	Fri May 19 11:43:36 1989
--- mh-6.6/ChangeLog	Wed May 24 19:02:49 1989
***************
*** 0 ****
--- 1,69 ----
+ Wed May 24 19:03:47 1989  Mark D. Baushke  (mdb at kosciusko)
+ 
+ 	* Modified mh-6.6/uip/rcvstore.c to fix a bug.
+ 	When run from a process with umask 077, rcvstore does not
+ 	properly set the file permissions since it uses creat(2) to do
+ 	so. From the man page for creat(2):
+ 		If the file did not exist, it is given mode mode, as
+ 		modified by the process's mode mask (see umask(2)).
+ 	So, to the behavior is not parallel with inc(1) which does an
+ 	explicit chmod(2).
+ 
+ Fri May 19 11:21:38 1989  Mark D. Baushke  (mdb at kosciusko)
+ 
+ 	* Modified mh-6.6/ conf/config/mtstailor to use the following:
+ 	mmdfldir:	@(MHDROPATH)
+ 	mmdflfil:	@(MHDROPFIL)
+ 	hostable:	@(MHETCPATH)/hosts
+ 	servers:	localhost \01localnet
+ 	
+ 	uucpldir:	/usr/spool/mail
+ 	uucplfil:	
+ 	umincproc:
+ 	maildelivery:	@(MHETCPATH)/maildelivery
+ 	
+ 	* Configured mh-6.6/conf/MH to use the following:
+ 	bin	/n/mh/bin
+ 	bboards	off
+ 	etc	/n/mh/etc
+ 	mail	/usr/spool/mail
+ 	mandir  /n/mh/man
+ 	manuals	standard
+ 	mts	sendmail/smtp
+ 	options	BSD42 BSD43 BERK TTYD DUMB
+ 	options	MHE MHRC NETWORK NFS BIND RPATHS
+ 	options	SBACKUP='"\\043"' OVERHEAD
+ 	ccoptions -O
+ 	ranlib on
+ 	pop	off
+ 	ldoptions -O
+ 	tma off
+ 
+ 
+ 	* Starting with the distribution copy of mh-6.6 I made the
+ 	following changes:
+ 
+ 	* mh-6.6/sbr/strindex.c modified to get around NULL pointer
+ 	dereferencing problem.
+ 
+ 	* mh-6.6/sbr/uprf.c modified to get around NULL pointer
+ 	dereferencing problem.
+ 	
+ 	* mh-6.6/zotnet/mts/lock.c modified to add and include for
+ 	<sys/fcntl.h> so that SunOS 4.0 would build properly.
+ 
+ 	* mh-6.6/conf/makefiles/zotnet/bboards modified to add a
+ 	non-default implicit rule for '.c:' to avoid tedious meaningless
+ 	error messages during make.
+ 
+ 	* mh-6.6/conf/makefiles/zotnet/tws modified to add a
+ 	non-default implicit rule for '.c:' to avoid tedious meaningless
+ 	error messages during make.
+ 
+ 	* mh-6.6/conf/makefiles/zotnetM modified to add a
+ 	non-default implicit rule for '.c:' to avoid tedious meaningless
+ 	error messages during make.
+ 
+ 	* mh-6.6/conf/makefiles/uip modified to add a
+ 	non-default implicit rule for '.c:' to avoid tedious meaningless
+ 	error messages during make.
*** mh-6.6/sbr/strindex.c.orig	Thu Oct 29 15:00:51 1987
--- mh-6.6/sbr/strindex.c	Fri May 19 11:44:16 1989
***************
*** 1,3 ****
--- 1,4 ----
  /* strindex.c - "unsigned" lexical index */
+ /* Modified by mdb to 'do the right thing' when p2 is NULL */
  
  
***************
*** 8,12 ****
      register char  *p;
  
!     for (p = p2; *p; p++)
  	if (uprf (p, p1))
  	    return (p - p2);
--- 9,13 ----
      register char  *p;
  
!     for (p = (p2) ? p2 : ""; *p; p++)
  	if (uprf (p, p1))
  	    return (p - p2);
*** mh-6.6/sbr/uprf.c.orig	Thu Oct 29 15:00:52 1987
--- mh-6.6/sbr/uprf.c	Fri May 19 11:30:29 1989
***************
*** 8,11 ****
--- 8,17 ----
      register int    c;
  
+     /* protect from null-pointer referencing */
+     if (! c1)
+ 	c1 = "";
+     if (! c2)
+ 	c2 = "";
+ 		
      while (c = *c2++)
  	if ((c | 040) != (*c1 | 040))
*** mh-6.6/zotnet/mts/lock.c.orig	Thu Oct 29 15:03:24 1987
--- mh-6.6/zotnet/mts/lock.c	Fri May 19 11:34:04 1989
***************
*** 177,180 ****
--- 177,181 ----
  
  #include <sys/file.h>
+ #include <sys/fcntl.h>  /* sunos 4.0 */
  
  static int  f_lkopen (file, access)
*** mh-6.6/conf/makefiles/zotnet/bboards.orig	Thu Oct 29 14:55:58 1987
--- mh-6.6/conf/makefiles/zotnet/bboards	Fri May 19 11:09:59 1989
***************
*** 36,39 ****
--- 36,41 ----
  uninstall:;
  
+ # Remove anoying default make rule
+ .c:;		echo $@ is really $@.o
  
  ######################################################################
*** mh-6.6/conf/makefiles/zotnet/tws.orig	Thu Oct 29 14:56:00 1987
--- mh-6.6/conf/makefiles/zotnet/tws	Fri May 19 11:15:54 1989
***************
*** 26,29 ****
--- 26,30 ----
  LDLIBS	=	$(LIBES) $(LDOPTLIB)
  
+ .c:;		echo $@ is really $@.o
  
  ######################################################################
*** mh-6.6/conf/makefiles/zotnetM.orig	Thu Oct 29 14:56:01 1987
--- mh-6.6/conf/makefiles/zotnetM	Fri May 19 11:45:22 1989
***************
*** 46,49 ****
--- 46,50 ----
  		cc -s -o $@
  @END: OLDLOAD
+ .c:;		@echo $@ built
  
  
*** mh-6.6/conf/makefiles/uip.orig	Thu Oct 29 14:55:57 1987
--- mh-6.6/conf/makefiles/uip	Fri May 19 11:18:18 1989
***************
*** 161,164 ****
--- 161,165 ----
  		$(TTMAMISC)
  
+ .c:;		echo $@
  
  ##############################################################################


Description:
	When run from a process with umask 077, rcvstore does not
	properly set the file permissions since it uses creat(2) to do
	so. From the man page for creat(2):
		If the file did not exist, it is given mode mode, as
		modified by the process's mode mask (see umask(2)).
	So, to the behavior is not parallel with inc(1) which does an
	explicit chmod(2).


*** mh-6.6/uip/rcvstore.c.orig	Thu Oct 29 15:02:41 1987
--- mh-6.6/uip/rcvstore.c	Wed May 24 16:48:16 1989
***************
*** 161,166 ****
--- 161,168 ----
      if ((fd = creat (cp = m_scratch ("", invo_name), m_gmprot ())) == NOTOK)
  	adios (cp, "unable to create");
  
+     (void) chmod (cp, m_gmprot ()); /* creat ANDs with umask, do it right */
+ 
      cpydata (fileno (stdin), fd, "standard input", cp);
  
      if (fstat (fd, &st) == NOTOK) {

steved@longs.LANCE.ColoState.Edu (Steve Dempsey) (05/30/89)

> In article <13843@steinmetz.ge.com> whu@mohawk.UUCP (Wayne Uejio) writes:
> 
> >I am trying to find the sources to mh.  A while back someone published 
> >where one could ftp them from.  I would greatly appreciate that 
> >information.
> 
> I'm interested in the same information.  Could someone post it?
> Thanks in advance.

As of 5/29 I located them on these hosts:

    gatekeeper.dec.com  [128.45.9.52]    ~ftp/pub/mh-6.6.tar.Z
    uunet.uu.net        [192.48.96.2]    ~ftp/mail/mh-6.6.tar.Z
    uxc.cso.uiuc.edu    [128.174.5.50]   ~ftp/pub/mh-6.6.tar.Z

        
        Steve Dempsey,  Center for Computer Assisted Engineering
  Colorado State University, Fort Collins, CO  80523    +1 303 491 0630
INET: steved@longs.LANCE.ColoState.Edu, dempsey@handel.CS.ColoState.Edu
UUCP: boulder!ccncsu!longs.LANCE.ColoState.Edu!steved, ...!ncar!handel!dempsey