From owner-svn-ports-head@freebsd.org Thu Jan 25 15:55:02 2018 Return-Path: Delivered-To: svn-ports-head@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 07E56EB7852; Thu, 25 Jan 2018 15:55:02 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from smtp.osorio.me (smtp.osorio.me [5.196.94.126]) by mx1.freebsd.org (Postfix) with ESMTP id 989F383B09; Thu, 25 Jan 2018 15:55:01 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from [172.16.33.185] (unknown [213.174.108.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id C155C3FA38; Thu, 25 Jan 2018 15:55:00 +0000 (UTC) Subject: Re: svn commit: r459945 - in head/ports-mgmt: . pkg-provides pkg-provides/files To: Kurt Jaeger , Mathieu Arnold Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201801251445.w0PEj4db093706@repo.freebsd.org> <20180125151224.pwbqbyryxih76vb5@ogg.in.absolight.net> <0099f576-be3a-73d2-7dfe-1b72638a5743@FreeBSD.org> <2649e26b-11ff-7375-d649-e37fffed9567@FreeBSD.org> <20180125154056.xpg6dks2hps673j2@ogg.in.absolight.net> <20180125154920.GW28547@fc.opsec.eu> From: Rodrigo Osorio Message-ID: Date: Thu, 25 Jan 2018 16:55:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180125154920.GW28547@fc.opsec.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 15:55:02 -0000 On 01/25/18 16:49, Kurt Jaeger wrote: > Hi! > >>>> pkg provides is a you provides like, it tells you about packages you >>>> want to install. >> I have no idea what yum provides does. How can it know which packages I want to >> install? > If you give it a path, it tells you which package has a file for that > path. That way, if you ask: > > pkg provides /usr/local/bin/perl > > it returns a list of packages with that file/path. > Hi, To limit the number of replies just add a '$' character at the end of the query $ pkg provides '/usr/local/bin/perl$' Hope it helps, - rodrigo