From owner-cvs-src@FreeBSD.ORG Mon Dec 10 18:59:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A78116A419 for ; Mon, 10 Dec 2007 18:59:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id F27B713C467 for ; Mon, 10 Dec 2007 18:59:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 6938 invoked by uid 399); 10 Dec 2007 18:59:15 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 10 Dec 2007 18:59:15 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <475D8C81.9010805@FreeBSD.org> Date: Mon, 10 Dec 2007 10:59:13 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (X11/20071119) MIME-Version: 1.0 To: obrien@FreeBSD.org References: <200712091101.lB9B1w0C070261@repoman.freebsd.org> <20071210180238.GA93589@dragon.NUXI.org> In-Reply-To: <20071210180238.GA93589@dragon.NUXI.org> X-Enigmail-Version: 0.95.5 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Kirill Ponomarew , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pkg_install Makefile src/usr.sbin/pkg_install/add pkg_add.1 src/usr.sbin/pkg_install/create pkg_create.1 src/usr.sbin/pkg_install/delete pkg_delete.1 src/usr.sbin/pkg_install/info pkg_info.1 src/usr.sbin/pkg_install/search Makefile pkg_search.1 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 18:59:16 -0000 David O'Brien wrote: > We owe it to our users to make it easy to add or install a port. In > order for a user to do that, they need to know the name (if pkg_add -r), > or location (if building themselves). That is the problem pkg_search > solves. In fact someone told me about a new port I would find useful. > In the end they gave me the wrong path to where it lives in /usr/ports > and it took more effort than it should have to figure out where it lives. > With pkg_search (in the base system) it would have taken only a second. You can accomplish the same thing by doing: cd /usr/ports make search name=blah Note, I'm not commenting on the value of the pkg_search tool, or the worth of including it in the base, or anything else other than to say that what you want to do is already possible, and fairly well documented. hth, Doug -- This .signature sanitized for your protection