Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2025 09:10:48 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: CFT: pkgbase support in 15.0
Message-ID:  <7hcliswbmvxqzicnim4ccsbk2sqsvhh3mkck74dnwmwfqw2haz@fcwkj337ublf>
In-Reply-To: <300e71f8-4a35-4496-8bf3-9d947f90990a@FreeBSD.org>
References:  <86a57t3cfu.fsf@asn.ftfl.ca> <CAKAYmMLu9HUbqNgoe=Qj9RSarWSBsm5pBqD1TqtDm3abcwZ3=A@mail.gmail.com> <300e71f8-4a35-4496-8bf3-9d947f90990a@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7hcliswbmvxqzicnim4ccsbk2sqsvhh3mkck74dnwmwfqw2haz>