From owner-freebsd-ports@freebsd.org Sun Sep 30 17:29:42 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B70F1098F6C for ; Sun, 30 Sep 2018 17:29:42 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E27078BA9C for ; Sun, 30 Sep 2018 17:29:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1g6fXF-0003P7-T4 for freebsd-ports@freebsd.org; Sun, 30 Sep 2018 19:29:38 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1g6fXF-0007x8-Oi for freebsd-ports@freebsd.org; Sun, 30 Sep 2018 19:29:37 +0200 Date: Sun, 30 Sep 2018 19:29:37 +0200 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: how to do pkg_info -W without pkg_info? Message-ID: <20180930172937.GA29315@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-ports@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 17:29:42 -0000 El día Sunday, September 30, 2018 a las 11:09:20AM -0600, @lbutlr escribió: > I would like to find out what port installed a specific file, and in searching I found the suggestion, from 2010, to use > > pkg_info -W > > But on FreeBSD 11.1-p4-RELEASE with postmaster, there is no pkg_info and `pkg info` doesn't have a -W flag nor, apparently, a way to check for where a file came from. > > $ which gcc /usr/local/bin/gcc $ pkg which /usr/local/bin/gcc /usr/local/bin/gcc was installed by package gcc-4.9.4 $ man pkg-which matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 13. August 2018: Manchmal möchte ich nun einen AUSREISEANTRAG stellen. August 13, 2018: Sometimes I'd like to ask for an exit permission now.