Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 16:24:45 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Michael P. Soulier" <msoulier@digitaltorque.ca>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: tracking port requires
Message-ID:  <20070105222445.GD92161@dan.emsphone.com>
In-Reply-To: <fb6605670701051324q62c53822o77d1319841b3fa20@mail.gmail.com>
References:  <fb6605670701051324q62c53822o77d1319841b3fa20@mail.gmail.com>

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



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