From owner-freebsd-ports@FreeBSD.ORG Thu Jan 17 22:12:32 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 11444B48 for ; Thu, 17 Jan 2013 22:12:32 +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 CA8B7890 for ; Thu, 17 Jan 2013 22:12:31 +0000 (UTC) Received: from 184-78-197-203.war.clearwire-wmx.net ([184.78.197.203]:53749 helo=_HOSTNAME_) by wh1.interactivevillages.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1Tvuq5-0004Zw-8x for freebsd-ports@freebsd.org; Thu, 17 Jan 2013 11:09:01 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 17 Jan 2013 11:09:24 -0800 Date: Thu, 17 Jan 2013 11:09:24 -0800 From: Chip Camden To: freebsd-ports@freebsd.org Subject: Re: can't find pkgng command Message-ID: <20130117190924.GC19645@libertas.local.camdensoftware.com> References: <20728.1478.423219.871557@jerusalem.litteratus.org> <50F8061E.9030306@marino.st> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qGV0fN9tzfkG3CxV" Content-Disposition: inline In-Reply-To: <50F8061E.9030306@marino.st> 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: 1Tvuq5-0004Zw-8x 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:12:32 -0000 --qGV0fN9tzfkG3CxV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth John Marino on Thursday, 17 January 2013: > pkg which >=20 > 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.org" 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 =2EO. | Sterling (Chip) Camden | http://camdensoftware.com =2E.O | sterling@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com --qGV0fN9tzfkG3CxV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJQ+ExkAAoJEIpckszW26+RgiEH/3ZbtWjQGRsyxstxm/9uv074 J4Q6Wi9bWLy3x4kV5R9GobxxV3cM93YYdgYm3SWdojdu+YLl5z2PAfgZ0+Ce18LL 4Ir4mrE9eZ1V06FJsA5kUi/S2dlCT0EH6kNAwwblPWwLtDGm+1NybQc0fvaYGxQi igPOG8m3+OGPLIjEW3QH7svLMtkou0f0j/CJJND899LJs+cb4VOdcpBNtNVuVNhH HQb2lJ8nwWwGnbqIE3EbF1lEBkWMEANmhZ2jlp1PrUq84pWD/UdwvcjcBrpPPNYy Xk7ugZdyjk6CpLbaG9lSqUXlWnu2Zrj8qtAl9x9yoRNUuwFYOQdE5Bk4EM3cTyI= =oESE -----END PGP SIGNATURE----- --qGV0fN9tzfkG3CxV--