Date: Wed, 21 Aug 2013 19:56:18 -0600 From: Chad Perrin <code@apotheon.net> To: freebsd-ports@freebsd.org Subject: Re: Searching the port tree with portmaster? Message-ID: <20130822015618.GA1970@glaze.hydra> In-Reply-To: <F190CCA1-DF98-4EEA-8C14-E5AC3BC86AF0@kreme.com> References: <F190CCA1-DF98-4EEA-8C14-E5AC3BC86AF0@kreme.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 15, 2013 at 12:44:43AM -0600, LuKreme wrote: > > Am I missing a search feature in postmaster? > > If not, how are people finding where a port is to install it (I had a > heck of a time finding sudo, for example) I've been using ports-mgmt/pkgsearch for years. You can do regexy searches and get pkg-descr output easily with it, e.g.: $ pkgsearch -d ^sudo$ /usr/ports/security/sudo DESC: This is the CU version of sudo. Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow people to get their work done. WWW: http://www.courtesan.com/sudo/ This is also relevant: $ pkgsearch -h usage: pkgsearch [-u][-h][-v][-dis] packname... u update the database d get the description of the package s get the size of the package *not work with -i* i search in packages installeds h show this v show the version The formatting of output from both examples is slightly modified for inclusion in this email. I should probably start picking through ports-mgmt again to see if I can find something that I like as much as pkgsearch in general, but also offers the ability to get port names and paths based on terms found in pkg-descr information. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130822015618.GA1970>