tracking port requires
Dan Nelson
dnelson at allantgroup.com
Fri Jan 5 22:25:49 UTC 2007
In the last episode (Jan 05), Michael P. Soulier said:
> I'm trying to figure out where ports keep their dependency
> information, and the best way to parse it? On a Linux rpm-based
> system, I can do the following:
The dependencies themselves are stored as @pkgdep lines in the
/var/db/pkg/packagename/+CONTENTS file. The reverse link is stored in
/var/db/pkg/packagename/+REQUIRED_BY . You can list the dependencies
with the "pkg_info -r packagename" command, and the packages that
require a package with "pkg_info -R packagename".
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list