Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 16:24:15 -0500
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   tracking port requires
Message-ID:  <fb6605670701051324q62c53822o77d1319841b3fa20@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb6605670701051324q62c53822o77d1319841b3fa20>