From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 15:39:48 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 00FADCA8 for ; Mon, 10 Mar 2014 15:39:47 +0000 (UTC) Received: from mp1-smtp-6.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id A58818F5 for ; Mon, 10 Mar 2014 15:39: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-6.eutelia.it (Eutelia) with ESMTP id 4C2506B8424 for ; Mon, 10 Mar 2014 16:39:39 +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 s2AFdWBi046629 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 10 Mar 2014 16:39:34 +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 s2AFdR5T039270 for ; Mon, 10 Mar 2014 16:39:27 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <531DDCAF.4020001@netfence.it> Date: Mon, 10 Mar 2014 16:39:27 +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: freebsd-questions@freebsd.org Subject: Re: pkg equivalent of "pkg_info -R" References: <53186ABC.5060601@netfence.it> <20140306184030.078a99cedac859b5c5b83e22@embarqmail.com> <53196D17.8000300@FreeBSD.org> <5319F0B7.3030200@netfence.it> <531A036A.1060207@infracaninophile.co.uk> In-Reply-To: <531A036A.1060207@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; 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]); Mon, 10 Mar 2014 16:39:34 +0100 (CET) X-Scanned-By: MIMEDefang 2.74 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: Mon, 10 Mar 2014 15:39:48 -0000 On 03/07/14 18:35, Matthew Seaman wrote: > On 03/07/14 16:15, Andrea Venturoli wrote: >> Of course, getting back to the previous example, listing the binaries >> which are linked against gnutls might be another route... > > Yes. > > Find the shlibs provided by the gnutls package, then find all the > packages that link against those shlibs. That's 'pkg info -b gnutls' > and 'pkg shlib -R libname' for each of the different libs. On 03/07/14 18:29, R. Scott Evans wrote:> On 03/07/14 11:15, Andrea Venturoli wrote: > Okay, you got a python solution but here's my bourne shell version (I > dislike python :-) > > -scott Thanks to both of you. bye av.