Import geo/geographiclib 2.7
GeographicLib is a small C++ library for:
* geodesic and rhumb line calculations;
* conversions between geographic, UTM, UPS, MGRS, geocentric, and local
cartesian coordinates;
* gravity (e.g., EGM2008) and geomagnetic field (e.g., WMM2020)
calculations;
* computations on a triaxial ellipsoid.
ok sthen@
Automatically detect IPv6 support and test IPv6 parsing if found.
This should always be enabled on OpenBSD, but allows us to use the same
test in Portable without modifications that make syncs harder.
Factor out all of the IPv6 addresses into variables. This lets us skip them
in Portable on platforms that don't support IPv6 all in one place, removing
diffs from within the tests themselves and making syncs easier.
getty(8): IXANY is an input flag, not a local flag
The dx gettytab capability was a no-op, fix this so the capability behaves
as intended.
Original fix was submitted by Piotr Durlej in 2024. We applied half of
that fix at the time. Now apply the other half of the originally submitted
fix.
ok millert@
If a session drops from add-path send to no add-path send then the
adj-rib-out needs extra cleanup in up_generate_updates().
In the EVAL_SYNC case up_generate_updates() should check if the
adjout_prefix (p) returned was for an add-path path. This is the case if
path_id_tx is not 0. In that case withdraw all paths before calling
up_process_prefix().
The add-path side already does this by default.
OK tb@
vmd(8): check for under reads/writes when copying qcow2 clusters.
Report and original diff by Andrew Griffiths. Corrected to handle
logging when errno was not set by pread(2)/pwrite(2).
ok hshoexer@, mlarkin@, bluhm@
Set flags for Power ISA 2.06, 2.07, isel, and vec crypto
These are for elf_aux_info(3) AT_HWCAP or AT_HWCAP2. The vec crypto
flag is for accelerating AES and SHA-2. Some ports check these flags,
or will check them if they get patched to call elf_aux_info.
Define PPC_FEATURE2_VEC_CRYPTO with the same value as
PPC_FEATURE2_HAS_VEC_CRYPTO, because I have seen code using the name
without HAS.
ok kettenis@