gpart: More nuance for GPT support
A careful reading of the GPT standard shows that one may have fewer than
128 entries in your GPT table. While the standard requires that we
reserve enough space (32 512-byte-LBAs or 4 4096-byte-LBAs), it also
explicitly allows one to specify fewer actual partitions (since that
controls what is in the CRC). It requires that the first LBA to be 32
(512 sectors) or 6 (4k sectors) or larger. That requirement is not
enforced (it's not listed as one of validation criteria for the GPT).
We should likely do so in the future.
To that end, allow a default number of entries to use (defent) on
creation to be different (larger) than the minimum number of legal
entries. For gpt, these numbers work out to 128 and 1 respectively. For
all the others, make minent == defent so this is a nop for those
partitioning schemes.
Sponsored by: Netflix
Reviewed by: zlei, emaste
[3 lines not shown]
gpart: Add warning when the start sector is too low.
Add a warning if the starting sector is too low. The standard requires
that at least 16k is reserved for the GPT Partition Array, but some
tools produce GPT images with fewer than the required number of reserved
sectors.
PR: 274312
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42247
(cherry picked from commit 2cbda736cea8f82cfc5caab0f6099f0fbfe28537)
security/py-himitsu-keyring: New port: GTK4-based prompter implementation for Himitsu
Keyring is a graphical frontend for managing a Himitsu key store.
WWW: https://himitsustore.org
security/hiprompt-gtk: New port: GTK4-based prompter implementation for Himitsu
hiprompt-gtk is a GTK4-based prompter implementation for Himitsu.
WWW: https://himitsustore.org
devel/hare-gtk4-layer-shell: New port: gtk4-layer-shell bindings for Hare
hare-gtk4-layer-shell provides bindings to gtk4-layer-shell for Hare.
WWW: https://git.sr.ht/~sircmpwn/hare-gtk4-layer-shell
devel/hare-gi: New port: GObject Introspection code generator for Hare
hare-gi is a GObject Introspection code generator for Hare. In
short, it creates bindings for GTK family of libraries (GTK+, GDK,
Pango, etc).
WWW: https://sr.ht/~yerinalexey/hare-gi
[LLVM][Intrinsics] Eliminate range check for IIT table in `DecodeIITType` (#190260)
`DecodeIITType` does a range check each time the next entry from the IIT
encoding table is read. This is required to handle IIT encodings that
are in-lined into the `IIT_Table` entries, since the `IITEntries` array
in `getIntrinsicInfoTableEntries` is terminated after the last non-zero
nibble is seen in the inlined encoding (but that may not be the actual
end). Change this code to instead have the `IITEntries` array for the
inlined case point to the full `IITValues` array payload + a IIT_Done
terminator, so that such entries look exactly like they would if they
were encoded in the long encoding table and then remove the range check
in `DecodeIITType` to streamline that code a bit.
Additionally, change some use if 0s (in loop conditions and default
constructed terminator in the IIT long encoding table) to explicitly use
IIT_Done to clarify the code better.
Also use `consume_front()` in a few places instead of `front()` followed
by `slice(1)`.
[NFC][LLVM] Rename IRBuilder/LLVM C API params for overload types (#191674)
Rename IRBuilder and LLVM C API function params for overload types to
use names to better reflect their meaning.
devel/pear-Console_CommandLine: Mark DEPRECATED
- Last upstream release was in 2016
- Upstream has abandoned the project
- Set EXPIRATION_DATE 2026-05-12
If someone needs this port feel free to undeprecate and takeover
maintainership.