From owner-freebsd-ports@FreeBSD.ORG Thu Aug 22 01:57:07 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB333F15 for ; Thu, 22 Aug 2013 01:57:07 +0000 (UTC) (envelope-from code@apotheon.net) Received: from oproxy13-pub.mail.unifiedlayer.com (oproxy13-pub.mail.unifiedlayer.com [69.89.16.30]) by mx1.freebsd.org (Postfix) with SMTP id AC54B24FC for ; Thu, 22 Aug 2013 01:57:07 +0000 (UTC) Received: (qmail 3677 invoked by uid 0); 22 Aug 2013 01:56:43 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy13.mail.unifiedlayer.com with SMTP; 22 Aug 2013 01:56:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=UCuZAtzaUPm5uvjalst//YGfACl72g9vBrVfjNtUnsU=; b=gUp/jJlYpKw5H03l9Pg52pxOYwektRmcWancCIDr9aEiMcbLIP8hN4paWnN03v6sFu3RFiOQL8TH0M+mpmc8nuCQ2yKVLeBkGv/mA3kkNgAXdx4gl9r+OBvgfd4Zy7dU; Received: from [63.253.113.170] (port=27875 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1VCK8h-00021W-0o for freebsd-ports@freebsd.org; Wed, 21 Aug 2013 19:56:43 -0600 Date: Wed, 21 Aug 2013 19:56:18 -0600 From: Chad Perrin To: freebsd-ports@freebsd.org Subject: Re: Searching the port tree with portmaster? Message-ID: <20130822015618.GA1970@glaze.hydra> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.net} {sentby:smtp auth 63.253.113.170 authed with code@apotheon.net} X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 01:57:07 -0000 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 ]