From mcooper@ucs.usc.edu  Thu Oct 29 11:39:14 1992
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (5.64+/SMI-3.0DEV3-USC+2.4)
	id AA11544; Thu, 29 Oct 92 11:39:14 PST
Received: by acamar.usc.edu (4.1/SMI-3.0DEV3-ucs+2.9)
	id AA01330; Thu, 29 Oct 92 10:39:38 PST
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Thu, 29 Oct 92 10:39:37 PST
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: rdist-announce@usc.edu
Subject: Rdist version 6.0beta.8 released
Message-Id: <CMM.0.90.2.720383977.mcooper@acamar.usc.edu>

Version 6.0beta.8 is now out for ftp on usc.edu as
/pub/rdist/rdist.tar.Z.

This version seems pretty usable.  I would recommend people try to
actually run it.  The only major change, besides all the bug fixes, is
the addition of the -o<distopts> option.  This is intended to replace
all the individual -X options (like -R, -y, -O, etc) for both the
command line and distfiles.  The main reason for this is that we were
running out of letters in the alphabet for new options.  The old
options are still supported, so everything should be backwards
compatible.

I'd like to end the beta test of 6.0 by Thanksgiving and announce
a solid release at that time.  I'm putting a hold on any new
features/enhancements until version 6.1.

	mike

Thu Oct 29 09:59:14 1992  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Version 6.0beta.8.

Tue Oct 27 10:19:11 1992  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Add support for Multiflow Trace 4.3BSD. (wls)

	* Make wait() configurable and add support for wait3().

	* Include strcasecmp.c in distribution.

	* Cleanup child handling based on code/suggestions from Neal
	Becker, Rich Salz, and Chris Torek.

	* Don't print hostname in "Response time out" message since
	error() handles that.

	* Add -onochkowner,nochkgroup options.  When enabled, no check of
	a file's user (nochkowner) or group (nochkgroup) ownership is
	performed.

	* Prepend DO_ to dist option macros.

	* Implement new -o<distopt> to replace all the -X options.

	* Actually make error messages work by default.

	* Change fchog() to always print unknown users.

	* Change fchog() to always print name of target file for messages.


From mcooper@ucs.usc.edu  Tue Nov 10 15:14:40 1992
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (5.64+/SMI-3.0DEV3-USC+2.3)
	id AA01087; Tue, 10 Nov 92 15:14:40 PST
Received: by acamar.usc.edu (4.1/SMI-3.0DEV3-ucs+2.9)
	id AA23109; Tue, 10 Nov 92 15:14:38 PST
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Tue, 10 Nov 92 15:14:36 PST
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: rdist-announce@usc.edu
Subject: Rdist version 6.0beta.9 released
Message-Id: <CMM.0.90.2.721437276.mcooper@acamar.usc.edu>

This release is all bug fixes and portability changes.

	mike

Tue Nov 10 15:09:59 1992  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Version 6.0beta.9

Mon Nov  9 13:19:51 1992  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Use new *_TYPE defines for defining the types of interfaces
	available for getting filesystem info, non-blocking I/O, wait()
	function(), and directory routines.

	* Modify rdistcfilter to wrap list of hosts instead of truncating.

	* Clarify rdistd being in $PATH in rdist.1. (Mike Urban)

	* Remove SIGPIPE as SIGCHLD equivilent.

	* Add -ochksym option.  When enabled, this option will cause rdist
	to act like the original version when dealing with rdisting 
	directories to symlinks.  The original rdist simple ignored the 
	condition where the target on a remote host was a symlink when the
	target on the master was a directory.  The new rdist will 
	automatically make the target on the remote host be the same as
	the master.  This option disables this behavior.

	* Fix bug with notify failing with certain message level flags.

	* Only send notify mail when things actually change.

	* Add support for Sequent Dynix 3.1.2.  (Ken Dahl)

	* Add BSDI support.  (Ken Dahl & Jonathan Cohn)

	* Fix argument order to error() in client.c.


From mcooper@ucs.usc.edu  Tue Dec  1 20:41:38 1992
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (5.64+/SMI-3.0DEV3-USC+2.5)
	id AA22797; Tue, 1 Dec 92 20:41:38 PST
Received: by acamar.usc.edu (4.1/SMI-4.1+ucs-3.0)
	id AA01876; Tue, 1 Dec 92 20:40:22 PST
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Tue, 1 Dec 92 20:40:22 PST
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist 6.0.0 released
Message-Id: <CMM.0.90.2.723271222.mcooper@acamar.usc.edu>

29-Nov-92 22:29:43-GMT,647;000000000001
Date: Sun, 29 Nov 92 14:29:43 PST
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: rdist-announce@usc.edu
Subject: Rdist 6.0.0 released
Message-ID: <CMM.0.90.2.723076183.mcooper@acamar.usc.edu>

[ I was going to announce this tonight, but I just discovered the
  original message didn't make it to most people. ]

This is it.  Version 6.0.0 is now available.  Last chance to say
something on it.

I plan on posting an announcement to the following groups on Friday
(12/4/92):

	comp.sys.{hp,next.sysadmin,sun.admin}
	comp.unix.{admin,aix,bsd,solaris,ultrix}

I plan on submitting the sources to comp.sources.misc for posting.
I would prefer comp.sources.unix, but I would like to see it posted
in my lifetime.

Comments/suggestions are welcome.

	mike

From mcooper@ucs.usc.edu  Mon Feb 15 19:25:21 1993
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA29928; Mon, 15 Feb 93 19:25:21 PST
Received: by acamar.usc.edu (4.1/SMI-4.1+ucs-3.5)
	id AA21414; Mon, 15 Feb 93 19:21:17 PST
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Mon, 15 Feb 93 19:21:17 PST
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist 6.1beta.0 available
Message-Id: <CMM.0.90.2.729832877.mcooper@acamar.usc.edu>

Rdist version 6.1beta.0 is now available.  

The major changes since 6.0 include some bug fixes (including the
"hardlink" bug), minor additional features, and a lot of portability
and configuration changes.  This release should be much easier to port
to new platforms.  For those who ported 6.0 to a new platform which
I didn't include in 6.1, please feel free to send me new ports to
6.1.

	mike

From neal@ctd.comsat.com  Tue Feb 16 07:01:55 1993
Return-Path: <neal@ctd.comsat.com>
Received: from neal.ctd.comsat.com by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA20088; Tue, 16 Feb 93 07:01:55 PST
Received: by neal.ctd.comsat.com (Smail3.1.28.1 #7)
	id m0nOTo1-0003TdC; Tue, 16 Feb 93 10:01 EST
Message-Id: <m0nOTo1-0003TdC@neal.ctd.comsat.com>
Date: Tue, 16 Feb 93 10:01 EST
From: neal@ctd.comsat.com (Neal Becker)
To: mcooper@usc.edu
Cc: real-rdist-announce@usc.edu
Subject: Rdist 6.1beta.0 available
In-Reply-To: <CMM.0.90.2.729832877.mcooper@acamar.usc.edu>
References: <CMM.0.90.2.729832877.mcooper@acamar.usc.edu>

rdist6.1beta.0 seems to be working fine here.  Nice job!


You don't make money in politics.  Or, I should say --- you 
 shouldn't.
                -- Marilyn Quayle.

From mcooper@acamar.usc.edu  Sat Mar 27 16:03:32 1993
Return-Path: <mcooper@acamar.usc.edu>
Received: from acamar.usc.edu.ucs by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA10851; Sat, 27 Mar 93 16:03:32 PST
Received: by acamar.usc.edu.ucs (5.0/SMI-SVR4)
	id AA20658; Sat, 27 Mar 93 16:03:29 PST
Sender: "Michael A. Cooper" <mcooper@acamar.usc.edu>
Date: Sat, 27 Mar 93 16:03:28 PST
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist 6.1beta.1 now available
Message-Id: <CMM.0.90.4.733277008.mcooper@acamar.usc.edu>
Content-Length: 3499

Rdist 6.1beta.1 is now available for anonymous ftp on usc.edu
as "/pub/rdist/rdist-6.1beta.1.tar.z".  

Please note that most of rdist files out for ftp are now compressed
using GNU gzip.  If you don't have gzip, you can snag a copy from usc.edu
from /pub/gzip or direct from GNU on prep.ai.mit.edu.

A list of changes appears below.  One item that didn't make it in this
release is being able to get rdist to display the filename as it is
installed on the remote host.  I wanted to include this feature with
the ability to specify a printf like message format string.  However,
it's kinda messy to do so due to the global variable clutter left over
from the original code.  I'm seriously considering doing that full
re-write I've put off for so long, but I just don't have time.  Sigh.

	mike

Sat Mar 27 12:05:56 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Version 6.1beta.1

	* Add support for SGI IRIX 4.x and MIPSos 4.x.  (Eric Murray)

	* Set $IFS when running popen() to avoid possible security whole.

	* Don't print error when doing a savetarget for a new file.

	* Add "nochkmode" option.

	* Fix hardlink bug with relative path names.

	* Upper case REMOTE ERROR and LOCAL ERROR.

	* Handle ~ in hardlink paths.  (Hans Ranke)

	* Disable SETARGS for Ultrix.  It breaks "notify".

	* Fix problem with server hanging if mkdir fails.  (Hans Ranke)

	* Add support for DEC OSF/1.  (Hans Ranke)

Sat Mar 20 12:56:17 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Destination is a directory if:
	a) more than one name specified on left side of -> directive
	b) basename of destination in "install" directive is "."
	(Don Beusee)

	* Dont print 'updating host...' for MT_DEBUG.  (Don Beusee)

	* Add support for setting $REMFILE (remote file name) for
	"special".  (Don Beusee)

	* Fix problem with getting out of sync when "File changed size".

	* Add test to see if a child proc is still running to avoid looping.

	* Avoid bug in SunC which would cause dosetreuid() to never
	display error on failure.

Tue Mar 16 15:59:24 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Fix security hole that allowed any user to write any file.

Tue Mar  9 18:14:22 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Fix problem with cmdspecial always being run.

Tue Feb 23 16:00:33 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Fix getmountent() code for SVR4 to use correct mntent member.

Sat Feb 20 10:48:10 1993  Michael A. Cooper  (mcooper@crucis.usc.edu)

	* Remove extraneous LIB_* from config/mf.*.

	* Fix filesystem freespace checking for 512block filesys. 
	(John P. Rouillard)

	* Add initial POSIX support.

	* Add support for '&' set operator.  (William L. Sebok)

	* Add support for Multiflow tracebsd.  (William L. Sebok)

	* Add support for DC/OSx, Dynix, Dynix/Ptx.  (Don Beusee)

	* Remove unneeded gettimeofday() call in client.

	* Only use fchown() if HAVE_FCHOWN is defined.

	* Only use fchmod() if HAVE_FCHMOD is defined.

	* Use new POINTER type for *alloc() declares.

	* Typecast return of strlen().  (Don Beusee)

	* Define set file time types (SETFTIME_*).

	* In os-type, use uname if available.

	* Consoladate the Elf and Coff isexec() code.

	* Move all missing/*.c files to src/*.c in order to make it
	possible to specify no missing files.

Fri Feb 19 19:51:07 1993  Michael A. Cooper  (mcooper@crucis.usc.edu)

	* Redo makefiles again to use external "runmake" script to build
	and run make.

	* Set BIN_DIR to /usr/bin for sunos5.



From mcooper@acamar.usc.edu  Mon Aug  2 14:48:13 1993
Return-Path: <mcooper@acamar.usc.edu>
Received: from acamar.usc.edu.ucs by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA12836; Mon, 2 Aug 93 14:48:13 PDT
Received: by acamar.usc.edu.ucs (5.0/SMI-SVR4)
	id AA18100; Mon, 2 Aug 93 14:48:01 PDT
Sender: "Michael A. Cooper" <mcooper@acamar.usc.edu>
Date: Mon, 2 Aug 93 14:48:00 PDT
From: Michael A. Cooper <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist Version 6.1beta.2 Released
Cc: cert@cert.org
Message-Id: <CMM.0.90.4.744328080.mcooper@acamar.usc.edu>
Content-Length: 2951

Rdist version 6.1beta.2 is finally available.  I've been incredible
busy the last few months and just haven't had time to work on rdist.
This release is almost all bug fixes.  I've put a hold on adding new
features in an effort to get a stable release of 6.1 out the door.
I've been running 6.1beta.2 on my machines for about a week or so.  So
far, no problems have arisen.

The big security hole with the old rdist compatibility code is fixed
in this release.  I've modified the Security.patch2 file out for ftp
to read:

	This problem is present in Rdist version 6 releases, up until version
	6.1beta.2, in which the backwards compatibility code for the old Rdist
	is enabled.  Specifically, the bug exists in versions 6.0.X,
	6.1beta.0, and 6.1beta.1.  The bug is fixed in 6.1beta.2 and in
	version 6.1.X (when released).

Below is the an extract from ChangeLog on changes for this version.

	mike


Mon Aug  2 14:20:14 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Version 6.1beta.2

Thu Jul 29 10:51:54 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Fix problem that allowed any user with the proper knowledge to
	gain root access using the backwards compat support for the old rdist.

Tue Jul 27 16:27:56 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Use "pid_t" for PID types in child.c.

Fri Jul 16 13:32:07 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Don't blow up if removal of a file fails due to ETXTBSY.  
	(Neal Becker)

	* Don't run cmdspecial's in VERIFY mode.

	* Increase size of message buffers to 32K.

Thu Jul 15 12:53:48 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Fix rdist man page typo's.  (Karl Berry)

	* Take local Makefile's after Makefile.real.  (Eric Markwardt)

	* Add support for new platforms: UNICOS, STELLIX, FPX4. (David O. Rich)

	* Fix mf.irix4 and os-irix4.h.  (David O. Rich)

	* Set POINTER to char for ultrix4.  (David O. Rich)

	* Add Umax4.3 kludge to isexec.c.  (Howie Kaye)

	* Cause compile time errors if SETFTIME_TYPE is not set.

	* Declare hasmntopt().

	* Add missing pieces to os-mipsos.h and os-irix4.h.  (Guessed values)

Wed Jul 14 11:12:14 1993  Michael A. Cooper  (mcooper@acamar.usc.edu)

	* Add support for CX/UX.  (Done Beusee)

	* Set SETFTIME_TYPE to SETFTIME_UTIMES for dynix.  (Don Beusee)

	* Fix port to dynixptx.  (Don Beusee)

	* Include <utime.h> if NEED_UTIME_H is defined instead of HPUX.

	* Enable SETARGS on all platforms.

	* Fix SETARGS so it should work on most platforms.

	* Fix a number of pathing problems that occured in 6.1beta.1.
	(Don Beusee)

	* Use kill(PID, 0) instead of specific signal to test for a process.

	* Fix value of MT_ALL to remove MT_DEBUG.  (Bruce Jerrick)

	* Fix NULL deref in waitproc().  (F.W. ten Wolde)

	* Define $(MAKE) for those platforms who don't.  (Don Beusee)

	* Add include "filesys.h" to hasmntopt.c to fix compile time error.

	* Fix NULL deref when no target specified.  (Don Beusee)


From mcooper@ucs.usc.edu  Fri Mar  4 18:27:45 1994
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA22999; Fri, 4 Mar 94 18:27:45 PST
Received: from localhost (mcooper@localhost)
	by acamar.usc.edu (8.6.4/8.6.4)
	id LAA23384 for real-rdist-announce@usc.edu; Fri, 4 Mar 1994 11:06:26 -0800
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Fri, 4 Mar 94 11:06:25 PST
From: "Michael A. Cooper" <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist version 6.1beta.3 released
Message-Id: <CMM.0.90.4.762807985.mcooper@acamar.usc.edu>

Rdist version 6.1beta.3 is now available via anonymous ftp from usc.edu as
"/pub/rdist/rdist-6.1beta.3.tar.gz".  The README file is appended below.
See ChangeLog for a complete list of changes since 6.1beta.2.  It's my hope
that there are no major problems remaining in this release.  If so, the next
release will be a non-test version 6.1.

	mike


			Rdist Version 6.1beta
				3/4/94

			    Michael Cooper
		    University Computing Services
		  University of Southern California
			   mcooper@usc.edu

			 GENERAL INFORMATION

This is version 6.1beta of Rdist from USC.  It is based on rdist from
4.3BSD (classic).  It includes all fixes for all bugs known to the
CSRG Berkeley folks.  It has been running at USC for some time now on
a wide variety of platforms.

This version of rdist is not directly compatible with rdist
distributed with 4.3BSD and subsequent vendor releases, but does
indirectly provide full backward compatibility.  See COMPATIBILITY
below for details.

The current version of rdist is available via anonymous ftp on usc.edu
under /pub/rdist.  The current version is always retrievable as file
"/pub/rdist/rdist.tar.z".

			   CHANGES/FEATURES

This version of rdist does not need to be setuid "root" at all.  Rdist
now uses the rsh(1c) [remote command] program to make connections to
remote hosts, instead of making the connection directly.  This
eliminates the need to be run as "root".  Many thanks to Chris
Siebenmann <cks@utcc.utoronto.ca> and John DiMarco
<jdd@cdf.toronto.edu> who came up with an rsh version of rcmd() that
makes this possible.

This version supports automatic system determination and configuration
for pre-ported platforms.  This means that rdist knows how to
completely configure and compile itself for a number of platforms.
Users don't need to worry about modifying any files to compile on a
supported platform.

See the ChangeLog file for the real details.  The end of the file
contains the major new features compared to rdist classic.

A paper titled "Overhauling Rdist for the '90s" from USENIX LISA VI
is available for anonymous ftp on usc.edu as "/pub/rdist/overhaul.ps.z".

			      PLATFORMS

This version of rdist has been ported to most major and a number of
not so major platforms.  The list below is only a partial list.
The complete list of supported platforms can be found by looking
at all the config/os-*.h files.

	MACHINE TYPE	OPERATING SYSTEM
	---------------	----------------------------------
	DEC MIPS	Ultrix 4.2
	DG AviiON	DG/UX 5.4.x
	HP 9000/300	HP/UX 7.05 (HP cc)
	HP 9000/400	HP/UX 7.05 (HP cc)
	HP 9000/700	HP/UX 8.07 (HP cc, GCC 2.3.1)
	IBM RS6000	AIX 3.2
	NeXTStep	Mach 3.1
	Sun-3		SunOS 4.1.1
	Sun-4/SPARC	SunOS 4.1.3, SunOS 5.3 (Solaris 2.3)


			    COMPATIBILITY

This version of rdist differs greatly from older versions (as
distributed with 4.3BSD) in that the client and the server portions
are seperated into two distinct programs, rdist and rdistd,
respectively.  The protocol used to communicate between the client and
server has also been extensively modified.  These two items make
providing "builtin" compatibility very difficult.  However, backwards
compatibility is possible, provided you have a binary or source copy
of the old rdist.

The way the old rdist started a server rdist is to run "rdist
-Server".  If the new rdist is run with the "-Server" option, then it
will exec a copy of the old rdist (usually /usr/old/rdist or
/usr/ucb/oldrdist).  In this way, you get compatibility with hosts
running the old rdist attempting to rdist to a machine running new
rdist.  If your host running new rdist wants to rdist to a host
running the old rdist, then it must run the old rdist program
(/usr/old/rdist or /usr/ucb/oldrdist).

The definition _PATH_OLDRDIST in "config/config.h" controls the
location of the old rdist.  If this is not defined, or the defined
program does not exist at runtime, then rdist will print an error when
run with the "-Server" option.

			     INSTALLATION

1) Determine whether the local machine is running a supported OS by
   running the command "config/os-type".  If the command reports the
   local OS is "unknown", then you cannot proceed until rdist is
   ported to the local system OS.  (See the PORTING section).

2) Edit "Makefile.local" to override any of the default Makefile variables
   as defined in "mf/Makefile.var".  Usually you just want to change
   BIN_DIR to be appropriate for your system.

3) You may also want to check "config/config.h" for any local changes
   you would like to make.

4) Run "make" to compile everything.

5) Run "make install" to install the binaries and "make install.man" to
   install the manual pages.

			     BUG REPORTS

Bug reports should be sent to "rdist-bugs@usc.edu".  All bug reports
should include:

1) The version of the rdist client and server you are running 
   (use the -V option to rdist and rdistd)
2) The platform (machine + OS name + OS version)
3) A full description of the problem, including sample distfiles.
4) If you have a patch to fix the problem, a context diff (diff -c)
   of the original files vs. the fixed files

			   RDIST MAIL LISTS

There are two rdist mailling lists described below.  PLEASE DO NOT SEND
GENERAL QUESTIONS TO ANY OF THESE LISTS.

LIST NAME	SUBSCRIPTION ADDRESS	DESCRIPTION
---------------	-----------------------	------------------------------------
rdist-announce	rdist-announce-request	Announcements about new versions 
					of Rdist.

rdist-dev	rdist-dev-request	Rdist developers mailling list.  
					Discussion about rdist features, 
					suggestions, bugs, etc.  Will also 
					receive all rdist-announce mail.
					Only those who are _SERIOUS_ about
					being an rdist developer should be
					on this list.

To subscribe or unsubscribe, send email to the appropriate
SUBSCRIPTION ADDRESS from above "@usc.edu".  i.e.
"rdist-dev-request@usc.edu" for the "rdist-dev" list.

Archives are available for anonymous ftp from usc.edu as

	/pub/rdist/<LIST>.archive

			       PORTING

There are a number of steps to take when porting rdist to a new OS.
Here are some very rough guidelines for what to do.

1) Modify "config/os-type" to determine your OS type.  Make sure you use
   a string that's not more than 9 characters so we don't exceed the 14
   character filename limits on certain systems.

2) Copy "config/os-TEMPLATE.h" to "config/os-YOUR_OS.h" (YOUR_OS should be 
   whatever you modified os-type to print) and modify it according to its 
   comments.  Consult "config/config-def.h" for lists of possible values.

3) Copy "config/mf.TEMPLATE" to "config/mf.YOUR_OS" and modify it according
   to the comments found there in.

4) Optionally modify "src/isexec.c" to add your OS specific code for
   determining if a file is a local binary executable.

5) Test it!

6) Send me your "os-YOUR_OS.h" and "mf.YOUR_OS" files, along with context
   diffs to any other files you changed.

				NOTES

rcmd() vs. rsh(1c)
	By default rdist uses rsh(1c) to make connections to remote hosts.
	This has the advantage that rdist does not need to be setuid to 
	"root".  This eliminates most potential security holes.  It has
	the disadvantage that it takes slightly more time for rdist to
	connect to a remote host due to the added overhead of doing a
	fork() and then running the rsh(1c) command.  

	If you wish to have rdist call the rcmd() function directly and
	avoid using rsh(1c) all together, then you should add "-DDIRECT_RCMD"
	to $(DEFS_LOCAL) and "RDIST_MODE = 4555" in "Makefile.local".
	You may need to do this if your system does not have the rsh(1c)
	command.
	
HP/UX

	All of this information on HP/UX is third-hand.  I don't have 
	access to any HP/UX machines to test rdist on.

Unlike HPUX version 7, version 8 does not come standard with yacc
which is now part of the C/ANSI C Development Bundle.  If that bundle
is on the system, then rdist compiles fine with the changes to the
Makefile to include regex.o and strcasecmp.o.  If you don't have yacc
and instead use the GNU bison in the yacc mode (-y option) it compiles
fine but needs to have the PW library included (-lPW) in order to find
an alloca.o when linking.

The regex that is part of the HPUX C library is not compatible with
the BSD style regex that rdist uses.  Someone who leaves regex.o out
of the MISSINGOBJS line in the Makefile because they noticed a
regex(3) in the HPUX manual set is going to have a problem.

OLD rcmd() LIBRARY BUG

Very Old 4.2BSD-based Unix systems may have a bug in their rcmd()
library function.  The bug allowed a user process to run out of file
descriptors if too many connection attempts failed.  The problem is
that the socket would never be closed if the connect() failed.  This
could eventually lead to running out of file descriptors if enough
connections failed.  Most current Unix's like SunOS 4.0.3 and later
have this fixed.  Here is a diff to (I think) the SunOS 3.5 rcmd() to
fix the problem:

***************
*** 51,56 ****
--- 65,71 ----
  			timo *= 2;
  			goto retry;
  		}
+ 		(void) close(s);
  		perror(hp->h_name);
  		return (-1);
  	}

			       RCS INFO

This is rcs info for this file:
	$Id: README,v 6.18 1994/02/24 22:26:05 mcooper Exp mcooper $

From mcooper@ucs.usc.edu  Mon Mar 21 14:47:06 1994
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA21071; Mon, 21 Mar 94 14:47:06 PST
Received: from localhost (mcooper@localhost)
	by acamar.usc.edu (8.6.4/8.6.4)
	id OAA08208 for real-rdist-announce@usc.edu; Mon, 21 Mar 1994 14:47:05 -0800
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Mon, 21 Mar 94 14:47:04 PST
From: "Michael A. Cooper" <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
Subject: Rdist 6.1beta.4 released
To: real-rdist-announce@usc.edu
Message-Id: <CMM.0.90.4.764290024.mcooper@acamar.usc.edu>

Rdist version 6.1beta.4 is now available for anonymous ftp from usc.edu under
/pub/rdist.  It consists mostly of bug fixes and a new platform port or two
since 5.1.  See "ChangeLog" for more info.

	mike

From mcooper@ucs.usc.edu  Fri Apr 15 10:33:02 1994
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA01960; Fri, 15 Apr 94 10:33:02 PDT
Received: (mcooper@localhost)
	by acamar.usc.edu (8.6.8.1/8.6.4)
	id KAA19475 for real-rdist-announce@usc.edu; Fri, 15 Apr 1994 10:33:02 -0700
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Fri, 15 Apr 94 10:33:01 PDT
From: "Michael A. Cooper" <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist 6.1beta.5 released
Message-Id: <CMM.0.90.4.766431181.mcooper@acamar.usc.edu>

Rdist version 6.1beta.5 is now available for anonymous ftp from
usc.edu under /pub/rdist.  I hope this to be the last 6.1 beta
release.  If no other major bugs are reported by May 1, then I will
release version 6.1.

	mike

From mcooper@ucs.usc.edu  Fri Apr 22 10:37:29 1994
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA07185; Fri, 22 Apr 94 10:37:29 PDT
Received: (mcooper@localhost)
	by acamar.usc.edu (8.6.8.1/8.6.4)
	id KAA25384 for real-rdist-announce@usc.edu; Fri, 22 Apr 1994 10:37:27 -0700
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Fri, 22 Apr 94 10:37:26 PDT
From: "Michael A. Cooper" <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist 6.1beta.6 now available
Message-Id: <CMM.0.90.4.767036246.mcooper@acamar.usc.edu>

Rdist 6.1beta.6 is now out for ftp from usc.edu in /pub/rdist.
Only a few items were fixed in this release.  Unless someone
reports a real major bug, I will release version 6.1 on May 2.

I've received a number of low to medium bug reports and fixes as well
as new ports.  These will probably addressed in 6.1.1.

	mike

From mcooper@ucs.usc.edu  Mon May  2 11:15:57 1994
Return-Path: <mcooper@ucs.usc.edu>
Received: from acamar.usc.edu by usc.edu (4.1/SMI-3.0DEV3-USC+3.1)
	id AA29706; Mon, 2 May 94 11:15:57 PDT
Received: (mcooper@localhost)
	by acamar.usc.edu (8.6.8.1/8.6.4)
	id LAA07208 for real-rdist-announce@usc.edu; Mon, 2 May 1994 11:15:54 -0700
Sender: "Michael A. Cooper" <mcooper@ucs.usc.edu>
Date: Mon, 2 May 94 11:15:54 PDT
From: "Michael A. Cooper" <mcooper@usc.edu>
Reply-To: mcooper@usc.edu
To: real-rdist-announce@usc.edu
Subject: Rdist 6.1.0 released
Message-Id: <CMM.0.90.4.767902554.mcooper@acamar.usc.edu>

Rdist version 6.1.0 is now available on usc.edu for ftp from /pub/rdist.
This is the first full release of version 6.1.  I expect that there will
be a 6.1.1 in 2-4 weeks.  That version will fix some bugs that were not
deamed critical enough to delay 6.1.0.

	mike

