Defining STATFS_SVR4 sets the .h to use statsvfs(), which is fine, but it
probably helps if the .c file actually calls anything when STATFS_SVR4 is
defined. Fixes freespace being reported as zero in NetBSD 3.x and later.
While fixing that, I broke out the huge multi-file patch-aa into
separate patch files for each patched file in the distribution,
and moved new files into ${FILESDIR} for easier maintenance.
for ssh transfers, into the NetBSD packages collection. The NetBSD
modifications were by Herb Peyerl, with some munging by me to use
mkstemp() in one place, and other minor formatting. The client binary
is called rdist6 to distinguish it from the system one.