Scenario: I want to know which binary package provides `some_lib.so`. Problem: pkg-rquery(8) doesn't support searching package contents. Workarounds: 1) grep through /usr/ports/*/*/pkg-plist 2) http://www.secnetix.de/tools/porgle/porgle.py The second workaround should also really be an official FreeBSD service hosted under freebsd.org, much like http://packages.debian.org is for Debian Linux.
For reference, this is how Debian solves the problem: % apt-get install apt-file % apt-file update % apt-file search filename apt-file downloads file lists of all configured package sources, which can be then searched locally.
Assign to pkg@
A functionality like apt-file is planned but not yet developed should not be very hard but it is not yet there as we are a small amount of devs and priorities are not there for now :) but if someone brings patches we will be glad to merge them
Do you have any planning references, design documents or such? (what exactly to implement and how)
I'm really interested in developing that feature. Do you have any resources that can help me develop that ?
This should be solved by https://www.freshports.org/ports-mgmt/pkg-provides
<https://redd.it/agwhy5> ▶ Less Known pkg(8) Features <https://vermaden.wordpress.com/2019/01/17/less-known-pkg8-features/> ▶ rosorio/pkg-provides: pkgng plugin for querying which package provides a particular file <https://github.com/rosorio/pkg-provides>
Triage: reduce the severity to the norm for an enhancement request.