Re: pkg_info -X: Add FILE_CKSUM (sha256)
Jonathan Perkin <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.packages |
|---|---|
| Message-ID | <[email protected]> |
* On 2026-01-17 at 09:31 GMT, Benny Siegert wrote: >On Fri, 16 Jan 2026, Jonathan Perkin wrote: > >>* On 2026-01-16 at 19:16 GMT, Benny Siegert wrote: >> >>>This sounds to me as if the "machine-readable reports" that pbulk >>>outputs, as well as the pkg summaries that pkgin downloads, are >>>about to get 10x larger. I don't think this should be on by >>>default. >> >>FILE_CKSUM is only for the binary package file itself, not for every >>file in the package. Despite the hugely increased generation time, >>the output file is only around 6% larger, so that wouldn't be my >>primary concern. > >OK, I misunderstood then. Does pkgin check the checksums? If so, >having this would probably be beneficial, at least for the official >binary package sets. Not yet. Taylor has an open PR for this, but I owe him a review (I don't like making it an error for pkg_summary not to have checksums). -- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com