Searching files from uninstalled packages/ports

Hi everybody!

I need file named pathnames.h, and I have no idea which package/port/distribution set/whatever contains it.

So here is the question: Are there any search tools in FreeBSD that I could use to look for files from uninstalled packages/ports/distribution sets/whatever?
 
Well, the following paths below are given with -I -option in compiling process, so maybe it should be found from there. On the other hand, it is included using like this: #include <pathnames.h>, so maybe it should be found from some global header directory. I'm not sure :I

Code:
/usr/src/sbin/mount
/usr/src/cddl/lib/libumem
/usr/src/sys/cddl/compat/opensolaris
/usr/src/cddl/compat/opensolaris/include
/usr/src/cddl/compat/opensolaris/lib/libumem
/usr/src/cddl/contrib/opensolaris/lib/libzpool/common
/usr/src/sys/cddl/contrib/opensolaris/common/zfs
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
/usr/src/sys/cddl/contrib/opensolaris/uts/common/sys
/usr/src/cddl/contrib/opensolaris/head
/usr/src/sys/cddl/contrib/opensolaris/uts/common
/usr/src/cddl/contrib/opensolaris/lib/libnvpair
/usr/src/cddl/contrib/opensolaris/lib/libuutil/common
/usr/src/cddl/contrib/opensolaris/lib/libzfs/common
 
Somebody mentioned in IRC, that a correct way to search from ports is to grep files /usr/ports/*/*/pkg-plist but unfortunately, I couldn't find that file from there.
 
Okay, so searching from ports is easy. But what about other software sources, like those packages that come with pkg_add or from the distribution sets of sysinstall.
 
Packages are build from ports. That's one of the reasons a port has a pkg-plist file.
 
Back
Top