From owner-freebsd-ports@FreeBSD.ORG Mon Mar 7 01:59:23 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB791065672; Mon, 7 Mar 2011 01:59:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id B5DEB8FC14; Mon, 7 Mar 2011 01:59:22 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p271xLOw002057; Sun, 6 Mar 2011 18:59:21 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p271xLlA002054; Sun, 6 Mar 2011 18:59:21 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 6 Mar 2011 18:59:21 -0700 (MST) From: Warren Block To: Doug Barton In-Reply-To: <4D743539.6060101@FreeBSD.org> Message-ID: References: <4D73D464.3070806@roorback.net> <4D7409CB.1040706@FreeBSD.org> <4D743539.6060101@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 06 Mar 2011 18:59:22 -0700 (MST) Cc: Olivier Smedts , bf1783@gmail.com, Grzegorz Blach , freebsd-ports@freebsd.org, "b. f." Subject: Re: FreeBSD needs fresh Blood! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2011 01:59:23 -0000 On Sun, 6 Mar 2011, Doug Barton wrote: > On 03/06/2011 16:40, Olivier Smedts wrote: > >> Could you use "pkg_version -vL =" for your purpose ? It's a base >> system tool and doesn't need INDEX. > > If all you want to know is what ports need updating, portmaster has an option > for that. There is also an alias to abbreviate the output in the man page. pkg_version is somewhat faster. On my system (seconds): portmaster -L | filters: 32.53 pkg_version -vl'<': 23.99 And, for a malus versus citrus comparison with hidden overhead: portversion -vl'<': 7.32