From owner-freebsd-ports@FreeBSD.ORG Mon Feb 2 15:37:42 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 C0BF7106566B for ; Mon, 2 Feb 2009 15:37:42 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 83E2F8FC08 for ; Mon, 2 Feb 2009 15:37:42 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1233587861; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=9lhhl0Xk+5vzR1vBHdS9eRhjxNU=; b=SP6U+SBDyGi60Qk3ND9sebXSOr5LBkmgCxo71FR73Ua5KvNf5LH7V6G96/4Xeir6 PS8WKzkX5cXBxGsxDB/vByrWAd97orr42zjGB335jvN5198uXKSThhoXVhItegXF; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=11QLny7MgeQA:10 a=PH93EY_Z7UQA:10 a=PGXZtDIlzY5dd0mTgpMA:9 a=Pt47HB-TtJenVYq9auqHxkb9mm0A:4 a=ZZAfTtC2Ym4A:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp03.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [71.3.158.175] ([71.3.158.175:59842] helo=tv.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.2.36 r(27513/27514)) with ESMTPA id 0D/5E-20873-49E07894; Mon, 02 Feb 2009 10:17:41 -0500 Date: Mon, 2 Feb 2009 10:17:39 -0500 From: Randy Pratt To: Robert Huff Message-Id: <20090202101739.c9fd4542.bsd-unix@embarqmail.com> In-Reply-To: <18822.27925.399608.649364@jerusalem.litteratus.org> References: <18822.27925.399608.649364@jerusalem.litteratus.org> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: installed ports dependency tree? 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: Mon, 02 Feb 2009 15:37:43 -0000 On Sun, 1 Feb 2009 22:48:37 -0500 Robert Huff wrote: > Suppose I have installed ports A..Z. Some of these are > standakone; some depend on others on the list; others depend on > installed ports not on the list. > Is there a port that will produce a unified and ordered > dependency list, such that upgrading/reinstalling in that order will > avoid multiple rebuilds? I though portupgrade could to this, but > apparently not. Portupgrade installs several pkg_* tools [1]. The pkg_glob and pkg_sort tools might be what you're looking for. Here's an example: pkg_glob [package names] | pkg_sort This produces a list for update order. The man pages are quite helpful for the pkg_* tools. HTH, Randy [1] Run "pkg_info -L portupgrade-\*" to see the complete packing list for portupgrade.