tracking port requires

Michael P. Soulier msoulier at digitaltorque.ca
Fri Jan 5 21:24:18 UTC 2007


Hello,

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:

Linux RPM                          |       FreeBSD Ports         |  Task
=============================================================
rpm -qa                                      pkg_info
    List all installed packages
rpm -ql <package>                       pkg_info -L <package>  List
files in package
rpm -qf <file>                              pkg_which <file>
Which package does file belong to?
rpm -q --requires <package>          ?
List dependencies of package
rpm -q --whatrequires <package>   ?
Reverse-dependencies of package

If anyone has compiled this, it would help me out.

Thanks,
Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


More information about the freebsd-questions mailing list