Re: CFT: pkgbase support in 15.0

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Wed, 07 May 2025 07:10:48 UTC
On Tue 06 May 09:07, Matthew Seaman wrote:
> On 05/05/2025 21:58, Chuck Tuffli wrote:
> > One aspect of running pkg-base I've found tricky is figuring out which
> > package provides a missing binary, library, or man page. The port
> > pkg-provides answers this type of question for ports, but (seemingly)
> > not for pkg-base (unless I'm being dumb?). Are there plans to add this
> > type of support? Alternatively, if I'm being dumb, can someone point
> > me at some docs? TIA
> 
> There's provision in `pkg repo` (see: pkg-repo(8)) to generate a
> `filesite.txz` file as repository metadata, which lists all of the files,
> their checksums and various other per-file metadata for all of the files in
> all of the packages in the repository.
> 
> This isn't normally generated for the repositories provided by the project
> due to limitations on available space and bandwidth.

I have a better design for the db which divides by 10 the size of the db, and
when I will be done working on the provides/requires for the ports tree,
I'll work on it, so we can provide a "pkg rwhich" command or a like.

Best regards,
Bapt