From owner-freebsd-ports@FreeBSD.ORG Mon Sep 12 19:14:22 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB591106564A for ; Mon, 12 Sep 2011 19:14:22 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A13428FC16 for ; Mon, 12 Sep 2011 19:14:22 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:2d7d:e6bb:877a:7b03]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 700764AC1C; Mon, 12 Sep 2011 23:14:21 +0400 (MSD) Date: Mon, 12 Sep 2011 23:14:13 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <110864072.20110912231413@serebryakov.spb.ru> To: Matthew Seaman In-Reply-To: <4E6E518D.6050702@infracaninophile.co.uk> References: <503309410.20110912205856@serebryakov.spb.ru> <4E6E518D.6050702@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: Print +REQUIRED_BY as tree? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2011 19:14:22 -0000 Hello, Matthew. You wrote 12 =F1=E5=ED=F2=FF=E1=F0=FF 2011 =E3., 22:38:05: > On 12/09/2011 17:58, Lev Serebryakov wrote: >> Hello, Ports. >>=20 >> Is here console tool, which shows dependency tree of installed ports >> from "required" port to "users"? pkg_tree performs opposite task. >>=20 >> +REQUIRED_BY is flat list, unfortunately. >>=20 >> I need to investigate exact path why this port is installed on my >> system :) >>=20 > ports-mgmt/p5-FreeBSD-Portindex can do this: > lucid-nonsense:/usr/ports:% portdepends -s ports-mgmt/p5-FreeBSD-Portindex > [......] p5-FreeBSD-Portindex-2.4 (ports-mgmt/p5-FreeBSD-Portindex) > [...BR.] - p5-BerkeleyDB-0.49 (databases/p5-BerkeleyDB) > [...BRL] - - db48-4.8.30.0 (databases/db48) > [EP.BR.] - - perl-5.12.4_2 (lang/perl5.12) > [EP.BR.] - perl-5.12.4_2 (lang/perl5.12) It seems, that your tool works by INDEX or ports database (not installed ports! They could differ, if installed ports are out-of-date!) and it shows exactly the same output as pkg_tree: opposite to what I need. --=20 // Black Lion AKA Lev Serebryakov