querying the registry for installed files

Brandon Allbery allbery.b at gmail.com
Fri Oct 28 12:23:15 PDT 2016


"port provides" actually does some extra work to normalize paths before
querying; I believe René is looking for the underlying database, and
possibly its constraints (e.g. whether it includes inactives --- which I
don't think it does).

On Fri, Oct 28, 2016 at 3:20 PM, Ken Cunningham <
ken.cunningham.webuse at gmail.com> wrote:

> Rene, do you mean
>
> port provides  /path/to/file
>
> or something fancier?
>
> Ken
>
>
>
> > On Oct 28, 2016, at 11:41 AM, René J.V. Bertin <rjvbertin at gmail.com>
> wrote:
> >
> > Hi,
> >
> > I think the registry keeps track of all installed files, whether they
> belong to active or inactive ports, right?
> > If so, is there a way to query the registry with a filename pattern, to
> obtain the full paths of known matching filesand the port(s) which provide
> them?
> >
> > Thanks,
> > René
> > _______________________________________________
> > macports-dev mailing list
> > macports-dev at lists.macosforge.org
> > https://lists.macosforge.org/mailman/listinfo/macports-dev
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev
>



-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20161028/5046cb97/attachment.html>


More information about the macports-dev mailing list