From owner-freebsd-ports@FreeBSD.ORG Mon Feb 18 18:45:35 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 857CA9E4 for ; Mon, 18 Feb 2013 18:45:35 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) Received: from nm40-vm3.bullet.mail.gq1.yahoo.com (nm40-vm3.bullet.mail.gq1.yahoo.com [98.136.217.126]) by mx1.freebsd.org (Postfix) with ESMTP id 38160EB6 for ; Mon, 18 Feb 2013 18:45:35 +0000 (UTC) Received: from [98.137.12.62] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 18 Feb 2013 18:42:28 -0000 Received: from [98.137.12.254] by tm7.bullet.mail.gq1.yahoo.com with NNFMP; 18 Feb 2013 18:42:28 -0000 Received: from [127.0.0.1] by omp1062.mail.gq1.yahoo.com with NNFMP; 18 Feb 2013 18:42:28 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 670580.6741.bm@omp1062.mail.gq1.yahoo.com Received: (qmail 93638 invoked by uid 60001); 18 Feb 2013 18:42:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1361212948; bh=1nVk44JLmbYod/pw3UUWWIxDgvxIvfMDK4Lq37ivGj0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ukuViqLbmxgJOlyM8rFCw7FXAOIOkpuFyeUIUzPCsM/TgIWBWJ/RVDIHmOWojRE+nubr3NkgJthE0LHsSQy5JyYig3sJouNwOrQI+TgxCAP/BlRCQeWXcblF7SgNy5AVbH5KE0VEE9vdxiLASaNnY8iZchubzhux7zG0kz9M7Ms= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=WFjsQ8d+pHjb+FhdvOPsAHcXRnLKGbUTBy6/tUnA5xaAY9LEaLd4KkKQ9BKd39mc1IFcnd0/eAFbeAZ2xo3vxhyrZ589QAunSOkBGNbuAKUf0CGB70GSZ9Er04IAXbc/XPv7FUMhFOvlRsN9oBiOlSA1AJeQRDhU2Xn8j9q3spU=; X-YMail-OSG: DylQYoUVM1kqSAzLSIRamrKXae27bN7xke99_eW.2o.dja2 LeGYOHE9MfkEdYMofxp1KnmNsKo9hEtmw9hFUSRowvJDyZmgQo3g1Hmk83OB RZdat1rbbRnDcwfxeO1_izVixr_5rORHgzvoC5Uks.p1p8ErAQuwmLFRffDr sNlz8F3ucLNNs68b2HZFDnlrtoIUUockKcnmujLh2KOHjxpmzBnd.Z3yh7sn yxH4ZK_ur.luUw0uRBEXzQBz_j29V8h1kjhNllDplGbR6QvmjTvfKy1koGtc 4m1aZeLR0tt0nwnzbZ9pfPm2Beii1PlzBDo7nbf9gN60kAvD4DRburKbru1n dWgQ8mwDmzYchuU2aWOUgQGXmd2.tPO5HHOnmDC8_A__MSEiEHl.Zxtysgqr 0gwOtoO8BP_eumdqb0Wm56wSiMkhCAEvnT8f4UkYlH2.nkb_I1hPlGVBMgiS mllC6PRrYfYhiVSCLH3Hd_LuNFBLNo3h417SDjBT3xn8ykgk7EeHzNHgx6DV cRGdRYpRxsPg17wfcwMkCZnhjctAeMHeUyuQBUQHyyEzdt168PjAbZX9mRmP G Received: from [66.92.43.99] by web164004.mail.gq1.yahoo.com via HTTP; Mon, 18 Feb 2013 10:42:28 PST X-Rocket-MIMEInfo: 001.001, DQoNCi0tLSBPbiBNb24sIDIvMTgvMTMsIENocmlzIFJlZXMgPHV0aXNvZnRAZ21haWwuY29tPiB3cm90ZToNCg0KRnJvbTogQ2hyaXMgUmVlcyA8dXRpc29mdEBnbWFpbC5jb20.DQpTdWJqZWN0OiBSZTogSXMgdGhlcmUgYW4gZWFzeSB3YXkgdG8gZmluZCBvdXQgd2hpY2ggcG9ydCBsb2FkcyB3aGljaCBsaWJyYXJ5Pw0KVG86ICJKZWZmcmV5IEJvdXF1ZXQiIDxqZWZmcmV5Ym91cXVldEB5YWhvby5jb20.DQpDYzogIkZyZWVCU0QgTWFpbGluZyBMaXN0IiA8ZnJlZWJzZC1wb3J0c0BmcmVlYnNkLm9yZz4NCkQBMAEBAQE- X-Mailer: YahooMailClassic/15.1.2 YahooMailWebService/0.8.134.513 Message-ID: <1361212948.92531.YahooMailClassic@web164004.mail.gq1.yahoo.com> Date: Mon, 18 Feb 2013 10:42:28 -0800 (PST) From: Jeffrey Bouquet Subject: Re: Is there an easy way to find out which port loads which library? To: Chris Rees , freebsd-ports@freebsd.org, freebsd-current@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 18:45:35 -0000 --- On Mon, 2/18/13, Chris Rees wrote: From: Chris Rees Subject: Re: Is there an easy way to find out which port loads which librar= y? To: "Jeffrey Bouquet" Cc: "FreeBSD Mailing List" Date: Monday, February 18, 2013, 1:01 AM On 18 Feb 2013 05:35, "Jeffrey Bouquet" wrote: > > > >=20 > >Subject: Re: Is there an easy way to find out which port loads which library? >=20 > >Bernard Higonnet wrote: > > > Is there a simple, direct, complete, and unequivocal way to find out > > which port(s) install which libraries? > > >Something like this perhaps? > ># grep libfoobar.so /usr/ports/*/*/pkg-plist > > >AvW > > None of these replies mention > pkg which /usr/local/lib/libfoobar.so > pkg_which /usr/local/lib/libfoobar.so > ... > I typically use one or both (still using /var/db/pkg after running pkg2ng once a > long time ago...) >Why??? >Chris Unsure of the question. Why did I run pkg2ng?=A0 I was uncognizant of all the immediate consequence= s. Why did I revert?=A0 Not ready to make /var/db/pkg disappear until I've see= n=20 guides explaining the new usages which fit the present workflow here... Why do not I implement it at this time?=A0 I've still too much to do in the= short term on a daily basis vs. implement anything new until I am one of the *last* to= do so, so I would do it in the quickest and most expedient manner.=20 pkg_delete -f /var/db/pkg/rubygem-mime-types-1.19 && pkg_add rubygem-mime-t= ypes-1.21.tbz. I don't have to know the 1.19 (the shell does).=A0 I do not recall anyone m= entioning how the equivalent would work in a pkg system.=A0 They may have, but if it was a re= ply, I archived it somewhere, as I would prefer to switch all the machines I use w= eekly all at once, and prefer to wait as long as expedient. That works on legacy laptops as well as modern 4-core CPU, aided by the she= ll doing expansion, and I can type it without thinking, aided by the shell. The subdirectory is directly available to grep, awk, less... without an .so= . I've not yet had time to implement a /var/db/pkg/ on=A0 a machine running p= kg (by script maybe) so that it could continue. I've posted several times why the progress of /pkg/ has not been shown to [= 1] not slow down the workflow to which I am accustomed to upgrade multiple = machines has not been reliably demonstrated... and edge cases in which the = legacy method is preferable.=A0 Unfortunately, I ran out of time a long time ago to respond = more in depth; my views on the matter are scattered in the lists archives and forum= archives [further content redacted so as to not waste anyone's time.] J. Bouquet [1] I am not asking for anyone's efforts,=20 nor trying to sound negative; just trying to respond to the question with a wait-and-see=20 viewpoint...