avoid gnuism around variadic macros that causes issues with ports
pulling this in that use -Werror. patch came from an upstream PR
https://github.com/libcheck/check/pull/40 (which was closed because
of an issue with MSVC)
import ports/devel/automake/1.19, from brad, ok kirill
Automake is an experimental Makefile generator. It was inspired by the
4.4BSD make and include files, but aims to be portable and to conform to
the GNU standards for Makefile variables and targets.
Automake assumes the project uses autoconf. If you want automatic
dependency tracking support, the use of GNU make is also required.
Correct handling of DST when converting dates
Timestamps conversion was ignoring Daylight Savings Time (DST) causing
date conversions to be +/-1 hour under some circumstances.
bz4004; from Khush Patel, ok deraadt
sk-usbhid: preserve UV requirement for resident keys
When loading resident credentials, derive SSH_SK_USER_VERIFICATION_REQD
directly from the credential's credProtect policy.
The previous code only preserved the flag when the authenticator did not
report the uv capability. As a result, UV_REQUIRED credentials downloaded
from authenticators with built-in UV were saved with flags 0x21 instead
of 0x25.
Do not make preservation of the credential policy depend on the
authenticator's current UV capability. Keep compatibility with libfido2
versions without fido_cred_prot().
GHPR701 from Savely Krasovsky
sftp: don't crash when glob(3) results lack stat information
Avoid NULL deref crashes when remote glob(3) results lack stat
information. This can happen if the sftp server selectively fails
a stat/lstat operation.
GHPR707 from Nguyễn Anh Bình
disconnect_controlling_tty() is the only thing from sshpty.c used
in sshd, and sshd is the only thing that calls this function.
Move it into sshd.c and we no longer need to compile sshd against
sshpty.c
Part of bz3996 from Colin Watson