From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 14:59:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEB34733 for ; Fri, 7 Mar 2014 14:59:46 +0000 (UTC) Received: from mp1-smtp-2.eutelia.it (mp1-smtp-2.eutelia.it [62.94.10.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6F79B3 for ; Fri, 7 Mar 2014 14:59:46 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mp1-smtp-2.eutelia.it (Eutelia) with ESMTP id 63511E1250 for ; Fri, 7 Mar 2014 15:42:19 +0100 (CET) Received: from soth.ventu (adsl-ull-108-170.41-151.net24.it [151.41.170.108]) (authenticated bits=0) by ns2.biolchim.it (8.14.8/8.14.8) with ESMTP id s27Eg7kp030787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 7 Mar 2014 15:42:12 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-108-170.41-151.net24.it [151.41.170.108] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.8/8.14.7) with ESMTP id s27EftoX029953; Fri, 7 Mar 2014 15:42:01 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <5319DAB3.3050305@netfence.it> Date: Fri, 07 Mar 2014 15:41:55 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Randy Pratt Subject: Re: pkg equivalent of "pkg_info -R" References: <53186ABC.5060601@netfence.it> <20140306184030.078a99cedac859b5c5b83e22@embarqmail.com> In-Reply-To: <20140306184030.078a99cedac859b5c5b83e22@embarqmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Fri, 07 Mar 2014 15:42:13 +0100 (CET) X-Scanned-By: MIMEDefang 2.74 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 14:59:46 -0000 On 03/07/14 00:40, Randy Pratt wrote: >> I know "pkg info -r xxx", but this will just list ports which *directly* >> depend on xxx. I could find no way to get indirect dependents too. >> >> Is there something I'm missing? Any additional utility I can install? > > I think what you're looking for is "pkg query %ro xxx". Doesn't work here. An example: > # pkg query %ro gnutls > net/glib-networking > multimedia/ffmpeg Of course: > # pkg query %ro glib-networking > devel/libsoup > devel/libsoup-gnome > # pkg query %ro libsoup > devel/libsoup-gnome > x11/xfce4-screenshooter-plugin > www/webkit-gtk2 > graphics/gimp-app > devel/gvfs So, in the end, what I'm looking for is a tool which shows that, as an example, gimp-app and xfce4-screenshooter-plugin require gnutls. I could easily achieve this with "pkg_info -R gnutls\*", back in the old days. > Note that it only lists run > dependencies since build dependencies are irrelevant with packages. Fine: that would exactly be what I was looking for. bye & Thanks av.