As a slight distraction, I decided to look at what might be Apple's fork of openrsync:
https://github.com/apple-oss-distributions/rsyncI see xcodeproj crap littered around, yikes! Definitely not how
I like to do things, but I guess very Apple-y.
But:
%cd openrsync
%./configure (optionally with PREFIX=/opt/local)
Goes smoothly.
But make breaks with:
% make
cc -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -c -o batch.o batch.c
In file included from batch.c:31:
In file included from ./extern.h:30:
./md4.h:40:10: error: 'md4.h' file not found with <angled> include; use "quotes" instead
40 |
#include <md4.h>
| ^~~~~~~
| "md4.h"
./md4.h:51:12: error: unknown type name 'MD4_CTX'; did you mean 'MD5_CTX'?
51 | MD4_Update(MD4_CTX
ctx, const void data, size_t len)
| ^~~~~~~
| MD5_CTX
./config.h:150:3: note: 'MD5_CTX' declared here
150 | } MD5_CTX;
| ^
In file included from batch.c:31:
In file included from ./extern.h:30:
./md4.h:60:3: error: call to undeclared function 'MD4Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
60 | MD4Update(ctx, data, resid);
| ^
3 errors generated.
make: *** [batch.o] Error 1
(which I think maybe very similar to how the KlaraSystems openrsync fork that stsp@ mentioned broke when I attempted to clone and build it yesterday? Now I am scratchin my head even more. If I had to guess, maybe they both took the FreeBSD openrsync port as a starting point? I am not going to look into this much more deeply at the moment just kind of wondering out loud.)
Yes, I should work on refactoring those MacPorts OpenSSH diffs. I sent a message to the MacPorts Dev mailing list and am hoping someone else will be able to help.
Meanwhile, at least locally I have OpenSSH 10.0 running, so that's good for me? Less good for helping others, but I'm trying not to beat myself up too much at the moment for my temporary failings.