From owner-freebsd-questions@FreeBSD.ORG Mon May 2 14:42:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6304116A4CE for ; Mon, 2 May 2005 14:42:27 +0000 (GMT) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.202.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id D815B43D31 for ; Mon, 2 May 2005 14:42:26 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com[208.206.151.59]) by comcast.net (sccrmhc14) with ESMTP id <200505021442260140091cbie>; Mon, 2 May 2005 14:42:26 +0000 Message-ID: <42763C51.1080109@computer.org> Date: Mon, 02 May 2005 09:42:25 -0500 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050325) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <4273EFF5.8090504@computer.org> <20050430140440.I47465@wolf.pjkh.com> <4273F7D1.4030702@computer.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: Determining what a port will install... (more than pretty-print-*) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 14:42:27 -0000 Garance A Drosihn wrote: > At 4:25 PM -0500 4/30/05, Eric Schuele wrote: > >> Philip Hallstrom wrote: >> >>> >>> The "portupgrade" port can do this. Something like... >>> >>> portupgrade -n -Rr someport >>> >>> The -n tells it not to do anything, just show you what it would do. >> >> >> This sounds like what I'm looking for... so I tried it. But its giving >> me difficulties. >> >> I am using `portupgrade -nN -rR "x11-fm/rox-filer"` for example. > > > I believe that 'portupgrade -n' only works right for ports which you > have already installed. It keeps a database of already-installed > ports, and that's what it is using to track '-Rr'. Or at least, > 'portupgrade -nN' never does anything useful for me, even though it > is very useful to do 'portupgrade -n -Rr' when upgrading ports you > have already installed. > Yes... That is the conclusion I have come to. I'm sure what I am trying to accomplish is just one savvy shell script away.... I'm just not that savvy though. If I can't find something which already does what I'm looking for.... I'll muddle through writing a script to do it. -- Regards, Eric