The server executable is still rdistd, because there is no conflict with
the standard rdist, and because it's hardcoded in the other non-freebsd
clients that exec it via rsh.
1) Preserve the timestamp of an updated file even if a command that is
executed because of the update modifies the file. This allows you to
do things like export /etc/hosts and when it changes, customize it based
on the target host with a simple script, but not upgrade it every time
sup is run.
2) Add the "unlinkbusy" SUP option. The goal of this option is to allow
you to upgrade binaries and libraries on a running system via sup
automagically just like "install" does.
3) Add the "rename" collection function. This allows you to store a file
on the server under one name, but have it land on the client under another.
All of these changes are targeted toward making SUP a better administrative
tool. A reverse rdist if you like. TCS uses sup to keep over 100 HP
workstations in sync with a master machine and performs all maintainence
including new software installations and system patches using it without
a hitch. Of course, the SUP collections are fairly complicated
(HUP inetd when inetd.conf changes is a very simple example), but it
definitely works and works well.
This patch also includes full support for the HPUX platform. I didn't
see any reason to strip it out since HPUX was the target platform of
the original work and it may be of use to other people.
=====
# Id line
#
# RESTRICTED: restricted_port_1 (comment1)
# RESTRICTED: restricted_port_2 (comment2)
#
# BROKEN: broken_port_3 (comment3)
# BROKEN: broken_port_4 (comment4)
# BROKEN: broken_port_5 (comment5)
#
SUBDIR= good_port_1 good_port_2 ...
=====
Basically, the idea is to make it easy to find restricted or broken
ports by doing a "grep".