Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2007 11:23:03 -0800
From:      Xin LI <delphij@delphij.net>
To:        Doug Barton <dougb@FreeBSD.ORG>
Cc:        cvs-src@FreeBSD.ORG, Kirill Ponomarew <krion@FreeBSD.ORG>, 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 ...
Message-ID:  <475D9217.6010506@delphij.net>
In-Reply-To: <475D8C81.9010805@FreeBSD.org>
References:  <200712091101.lB9B1w0C070261@repoman.freebsd.org> <20071210180238.GA93589@dragon.NUXI.org> <475D8C81.9010805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <delphij@delphij.net>	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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?475D9217.6010506>