From owner-freebsd-ports@FreeBSD.ORG Thu Jan 17 22:44:12 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 11C3043F for ; Thu, 17 Jan 2013 22:44:12 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh1.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id BEA4C9D7 for ; Thu, 17 Jan 2013 22:44:11 +0000 (UTC) Received: from 184-78-197-203.war.clearwire-wmx.net ([184.78.197.203]:62139 helo=_HOSTNAME_) by wh1.interactivevillages.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1TvyBj-0003By-Or for freebsd-ports@freebsd.org; Thu, 17 Jan 2013 14:43:35 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 17 Jan 2013 14:43:59 -0800 Date: Thu, 17 Jan 2013 14:43:59 -0800 From: Chip Camden To: freebsd-ports@freebsd.org Subject: Re: can't find pkgng command Message-ID: <20130117224359.GI19645@libertas.local.camdensoftware.com> References: <20728.1478.423219.871557@jerusalem.litteratus.org> <50F8061E.9030306@marino.st> <20130117190924.GC19645@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="j+MD90OnwjQyWNYt" Content-Disposition: inline In-Reply-To: Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 User-Agent: Mutt/1.5.21 (2010-09-15) X-InteractiveVillages-MailScanner-Information: Please contact the ISP for more information X-InteractiveVillages-MailScanner-ID: 1TvyBj-0003By-Or X-InteractiveVillages-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-InteractiveVillages-MailScanner-SpamCheck: X-InteractiveVillages-MailScanner-From: sterling@camdensoftware.com X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh1.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com X-Get-Message-Sender-Via: wh1.interactivevillages.com: authenticated_id: sterling@camdensoftware.com 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: Thu, 17 Jan 2013 22:44:12 -0000 --j+MD90OnwjQyWNYt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Kimmo Paasiala on Friday, 18 January 2013: > On Thu, Jan 17, 2013 at 9:09 PM, Chip Camden > wrote: > > Quoth John Marino on Thursday, 17 January 2013: > >> pkg which > >> > >> On 1/17/2013 15:08, Robert Huff wrote: > >> > > >> > Under the old package system "pkg_info -W' would > >> > tell me what port a file belonged to. > >> > Perhaps due to not enough sleep, I have read the man page twice > >> > but am unable to construct an equivalent. Will someone please help > >> > me not have to re-invent the wheel? > >> > > >> > Respectfully, > >> > > >> > > >> > Robert Huff > >> > > >> > _______________________________________________ > >> > freebsd-ports@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.= org" > >> _______________________________________________ > >> freebsd-ports@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.or= g" > > > > And if you (a) don't want to type in the full path or (b) want to make > > sure that the file you execute actually does come from the port, you can > > use a double-which. E.g., > > > > $ pkg which `which ruby` > > /usr/local/bin/ruby was installed by package ruby-1.8.7.371,1 > > > > while OTOH... > > > > $ pkg which `which clang` > > /usr/bin/clang was not found in the database > > > > > > >=20 > That is expected, the base system (/bin /usr/bin etc.) is not included > in the pkg database. >=20 > -Kimmo Yes, I know. I was demonstrating how you could use the command to see whether an executable came from a port, as well as which port. --=20 =2EO. | Sterling (Chip) Camden | http://camdensoftware.com =2E.O | sterling@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com --j+MD90OnwjQyWNYt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJQ+H6vAAoJEIpckszW26+R3YsH/jSDLL0aHXoBDp0uTrE4AZ1Y 3t3WKi1xPjJaq4b6C+NwFwLWscdANfINJOJHJbsmo2bqSg8+59T1FCpHHnzupaXf +T8v7IJ/0YGhLPJ9Uypg/6ZC76OtNpUrVLxe/s4ebZS9DSIJ6yoveY4f3oPInt2T /rWjMZn83bNaHrH0AcyYAqs/haNr597UDfoB9ayPB3ghdJwr0hoxjxHYtJ2g/O/t 8fF8s5PX0oAi8RVa86nM8tQXKEk2S0unTLNILA87X3ucyRvI4utiYEd4MVOiQi0z lJ0p1cwc73usUpT9dxuBrUkzTXn1AeZ0iD/j1/OGina6RfCchCjf4N/FEzKydzM= =Xe5i -----END PGP SIGNATURE----- --j+MD90OnwjQyWNYt--