[Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade)
Date: Wed, 15 Jan 2025 06:32:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284054
--- Comment #12 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Terry Kennedy from comment #11)
pkg-create has:
QUOTE
-f format, --format format
Set format as the package output format. It can be one
of tzst, txz, tbz, tgz or tar which are currently the
only supported formats. If an invalid or no format is
specified txz is assumed.
END QUOTE
Also: https://github.com/freebsd/pkg/blob/main/README.md reports:
QUOTE
The pkg package format is a tar archive that may be raw or
compressed using one of the following algorithms: gz, bzip2,
zstd, or xz. The default compression algorithm is zstd.
END QUOTE
Note that that would mean that the modern default format produced
is tzst instead of txz .
But all of those options produce .pkg as the file extension as
far as I can tell. *.pkg gives no clue which format is in use.
Nor does -f pkg do so. Making it silent would just lead to
confusions when mismatches happen. Making it be txz format would
be to make it not use the modern default format. Making it use
tzst would not match tools that are not being updated to track.
To me it seems best to have the "pay attention here" notice than
to be silent.
--
You are receiving this mail because:
You are the assignee for the bug.