wdaver <wda...@cox.net> writes:

> Thank you, for providing incredible docs!
>
> tpmtool(1) man page is on several machines, including APU and
> desktop.  6/6 and 6.7.  No associated binary exists.  Don't see the
> man file in kernel or base system source.  Wanted to send a diff
> but cannot find the source location...
>
> The installed file is /usr/local/man/man1/tpmtool.1
>
> Seems like a port installed it, given the location?
>
> pkg_info -Q tpmtool does not return any results.

pkg_info -Q searches only for packages matching that name, you should
use pkg_info -E to know which package installed the given file

    ; pkg_info -E /usr/local/man/man1/tpmtool.1
    /usr/local/man/man1/tpmtool.1: gnutls-3.6.14
    gnutls-3.6.14       GNU Transport Layer Security library

as the manual says

    -E filename
        Look for the package(s) that contains the given filename.  As a
        faster alternative, note that there is a package, pkglocatedb,
        that contains a locate(1) database of every file in every
        package.

the alternative is to use pkglocate(1)

    ; pkglocate tpmtool.1
    gnutls-3.6.14:security/gnutls:/usr/local/man/man1/tpmtool.1

Reply via email to