refresh the patch to use utempter in path so patching the reverse
dependencies won't be needed anymore ('pkgs/tools/networking/mosh/utempter_path.patch')
The build failure here is not due to Apple Silicon per se but instead
an artifact of the aarch64-darwin toolchain using a newer version of the
Xcode SDK as a basis. This causes issues building on case-insensitive
filesystems due to the collision between the standard <version> header
and a mosh source file called VERSION.
Fix with a MacPorts backport of an upstream mosh commit, via Homebrew.
Do the same thing as we do for the "ssh" binary, except with
mosh-client: Patch the perl source to substitute mosh-client with
@mosh-client@, then substituteInPlace the variable out for the
compilation output path.
Adds programs.mosh.withUtempter (default: true).
The option enables -with-utempter for mosh, allowing it to write to
/var/run/utmp and thus making connected sessions appear in the output
of `who -a`.
For that, a guid-wrapper is required. Also, the path to the `utempter` was
hardcoded in the resulting binary until now (so it could never been found),
thus, libutempter was patched accordingly to point to
/run/wrappers/bin/utempter which at least works when the wrapper is
configured.
* Remove package name
* Start with upper case letter
* Remove trailing period
Also reword some descriptions and move some long descriptions to
longDescription.
I'm not touching generated packages.