From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 27 04:55:43 2008 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A5F416A49A; Sun, 27 Jan 2008 04:55:43 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id E8A7613C45A; Sun, 27 Jan 2008 04:55:42 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id m0R4PQEg062427; Sun, 27 Jan 2008 07:25:26 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id m0R4PPYk062426; Sun, 27 Jan 2008 07:25:25 +0300 (MSK) (envelope-from yar) Date: Sun, 27 Jan 2008 07:25:25 +0300 From: Yar Tikhiy To: dougb@FreeBSD.org Message-ID: <20080127042525.GE49535@comp.chem.msu.su> References: <200801261612.m0QGCvCp094103@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801261612.m0QGCvCp094103@freefall.freebsd.org> User-Agent: Mutt/1.5.9i Cc: freebsd-ports-bugs@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: ports/120002: portmaster won't show port's available version X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 04:55:43 -0000 On Sat, Jan 26, 2008 at 04:12:57PM +0000, dougb@FreeBSD.org wrote: > > It is expected that if the user asks to update a port, that they > intend to actually update the port. The -L option exists to list > which ports are up to date, and which need updating. There is also > an alias suggested in the man page which will give you a concise > summary of only what is not up to date. Did you mean this one? portmaster -L | egrep -B1 '(ew|ort) version|Aborting|installed|dependencies| IGNORE|marked|Reason:|MOVED' | grep -v '^--' The command looks really hairy. The egrep is there just to fight inconvenient output from portmaster. Perhaps a cleaner way is to implement the functionality in portmaster itself. Merely printing the version available from /usr/ports along with the version installed would make updating an individual port much more convenient. E.g.: ===>>> Update portmaster-2.0 to portmaster-2.1? [n] I'll appreciate greatly if you consider adding this featurette to portmaster. Thanks a lot, portmaster does an excellent job for me in most cases. -- Yar