relayd: add support for the MKCALENDAR HTTP method
relayd is missing this method from the WebDAV/CalDAV extensions. This causes
issues when using relayd as a reverse proxy in front of CalDAV servers like
Nextcloud.
OK kirill@
Add sambat(4), a battery monitor for the SAM060B EC, like found on the
Samsung Galaxy Book4 Edge.
Thanks to Maxim Storetvedt for pointing us to the reversed engineering
specs.
Initial feedback and input from kettenis@.
ok deraadt@
brace_subst: fix single NUL byte overflow after reallocarray()
The check for sufficient space when performing brace substitution
did not take into account space for the terminating NUL byte.
From Thomas Habets
find: Fix mix of character block size check
If multiple -size primaries were specified and any of the values
had the 'c' suffix, it was applied to all values and not just the
one that ended with 'c'. The divsize setting is now stored in the
plan, not a global.
From Thomas Habets
usr.sbin/ifstated: timestamp sync external tests
When external_exec() runs a test synchronously, it refreshes prevstatus
but left lastexec unchanged. A later status change could therefore be
ignored by eval_state(), because that code gates body evaluation on the
first external test timestamp for the current state.
Set lastexec together with prevstatus for synchronous runs; this keeps
the cached test status and execution time consistent across state
re-entry.
OK: deraadt@