On 2025-04-03, Neel Chakraborty <neelroboinfo...@gmail.com> wrote:
> On Thu, Apr 03, 2025 at 11:20:41AM +0000, Stuart Henderson wrote:
>> On 2025-04-03, Neel Chakraborty <neelroboinfo...@gmail.com> wrote:
>> > Hello everyone, hope you're having a good day.
>> >
>> > I am trying to understand how does pkg_info -f
>> > show the dependencies of a certain package?
>>
>> It just looks at the +CONTENTS file, either in a package from a mirror,
>> or from /var/db/pkg/(pkgname)/+CONTENTS
>>
>> Any dependencies in there are recorded when the package was built
>>
> So, it downloads the package from a mirror,extracts it
> and then looks at the CONTENTS file?

It only fetches enough to look at +CONTENTS (and checks the signature
before using it), doesn't need to fetch the full package.


-- 
Please keep replies on the mailing list.

Reply via email to