From owner-freebsd-ports@FreeBSD.ORG Wed Mar 21 16:13:44 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B285A16A40E for ; Wed, 21 Mar 2007 16:13:44 +0000 (UTC) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9366913C457 for ; Wed, 21 Mar 2007 16:13:44 +0000 (UTC) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id D20341A000EB6 for ; Wed, 21 Mar 2007 09:13:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at smtp.sd73.bc.ca Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hrMl1BShMGIm for ; Wed, 21 Mar 2007 09:13:33 -0700 (PDT) Received: from coal (s10.sbo [192.168.0.10]) by smtp.sd73.bc.ca (Postfix) with ESMTP id B15FF1A000EB4 for ; Wed, 21 Mar 2007 09:13:33 -0700 (PDT) From: Freddie Cash To: ports@freebsd.org Date: Wed, 21 Mar 2007 09:13:32 -0700 User-Agent: KMail/1.9.5 References: <46008EB2.1010807@gmx.net> In-Reply-To: <46008EB2.1010807@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703210913.32757.fcash@ocis.net> Cc: Subject: Re: Thank you for portmaster 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: Wed, 21 Mar 2007 16:13:44 -0000 On Tuesday 20 March 2007 06:47 pm, Sticky Bit wrote: > first let me thank you for developing such a nice tool! After so long > time using portupgrade I gave portmaster a chance to convince me in > daily usage. Now I am very happy with this decision and I begin to > really like portmaster. > > One feature I would like to see implemented is a switch 'list only > ports that have available updates'. I want to know all affected ports > in summary before the builds so I am able to make decisions (i.e. > 'portmaster -a' or just 'portmaster port', and think of the > 'devel/gettext' update or other huge / long builds like gnome / gtk+ > etc.). > > I am aware of the '-L' switch and the possibility to grep such ports. > But this is a bit odd and not very likable. I want a similar output > like 'portversion -vL=', i.e. port name along with old and new version > numbering but only for ports with a different version available than > installed (can also be an older version, think of a manually modified > ports tree). > > Could you please add this small feature? Then I am actually able to do > without portupgrade and its other tools. Use the right tool for the job: pkg_version. :) What you want is: pkg_version -vl '<' That will list all the installed apps that have updates available in the ports tree. Combine that with a little work using "pkg_info -rx appname" and "pkg_info -Rx appname" to see dependencies, and you can determine how to call portmaster. Read the man pages for pkg_info, pkg_add, pkg_version, and pkg_delete, to see all the things you can do with the ports/packages system. Those, combined with portmaster, make for an excellent little ports toolkit. -- Freddie Cash fcash@ocis.net