From owner-freebsd-ports@FreeBSD.ORG Wed Aug 26 21:46:50 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFB221065672 for ; Wed, 26 Aug 2009 21:46:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1398FC19 for ; Wed, 26 Aug 2009 21:46:50 +0000 (UTC) Received: (qmail 25861 invoked by uid 399); 26 Aug 2009 21:46:44 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 26 Aug 2009 21:46:44 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A95AD3A.7060008@FreeBSD.org> Date: Wed, 26 Aug 2009 14:46:34 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Jonathan References: <20090822182208.GM82743@bsdcrew.de> <20090824020523.GB52180@duncan.reilly.home> <1251080785.99362.26.camel@shumai.marcuscom.com> <20090825002359.GA61141@duncan.reilly.home> <4A9497CE.3000108@kc8onw.net> In-Reply-To: <4A9497CE.3000108@kc8onw.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Andrew Reilly Subject: Re: [HEADUP] FreeBSD Gecko's TODO and plan for future X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 21:46:50 -0000 Jonathan wrote: > On 8/24/2009 8:23 PM, Andrew Reilly wrote: >> Is there any convenient way to list dependencies hierarchially, >> rather than the flat set that pkg_info -r provides? > > I've found pkg_tree to be useful for that. > http://www.freebsd.org/cgi/url.cgi?ports/ports-mgmt/pkg_tree/pkg-descr > > The feature I use the most is pkg_tree -tq which gives a list of all > ports that are not depended on by any other ports, i.e. the minimal set > to manually reinstall to replicate a set of installed ports on another > machine. portmaster -l will give you a list of ports in the following categories: ===>>> Root ports (No dependencies, not depended on) ===>>> Trunk ports (No dependencies, are depended on) ===>>> Branch ports (Have dependencies, are depended on) ===>>> Leaf ports (Have dependencies, not depended on) There is a procedure in the man page that describes how to use that information to do a clean reinstall of your ports. hth, Doug -- This .signature sanitized for your protection