From owner-cvs-src@FreeBSD.ORG Mon Dec 10 19:23: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 D89C316A420; Mon, 10 Dec 2007 19:23:16 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 607E913C469; Mon, 10 Dec 2007 19:23:16 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 6F539EC5B7D; Tue, 11 Dec 2007 03:23:15 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id D6gn7IrktnqR; Tue, 11 Dec 2007 03:23:10 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id C5A8CEC5B31; Tue, 11 Dec 2007 03:23:07 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:content-type:content-transfer-encoding; b=qf68Ka75MTYAwPXxkhjhdY2Up4H7Xkw0UhrBf9j+VC+YqJXVh08LsqXRb70CbItmV W99nkuaMeOqvoKRkeH6CA== Message-ID: <475D9217.6010506@delphij.net> Date: Mon, 10 Dec 2007 11:23:03 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Doug Barton References: <200712091101.lB9B1w0C070261@repoman.freebsd.org> <20071210180238.GA93589@dragon.NUXI.org> <475D8C81.9010805@FreeBSD.org> In-Reply-To: <475D8C81.9010805@FreeBSD.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.ORG, Kirill Ponomarew , src-committers@FreeBSD.ORG, obrien@FreeBSD.ORG, cvs-all@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 Reply-To: d@delphij.net 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 19:23:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doug Barton wrote: > 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. Let's see what we can do it in the future: teach pkg_search about how to download an INDEX file for use, something that you don't have to install the whole ports tree and can do easily. I think this is a very useful feature. There are a lot of users who use packages rather than using ports, and something like pkg_search, pkg_update would definitely be an useful add to our current package tool set. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHXZIXhcUczkLqiksRAk8HAJ47KH9h3BLy7CjISrXQQyMU8ALHDACeOlIQ YY1CTa/jGMRPHUUXbusdgqw= =lSB3 -----END PGP SIGNATURE-----