From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 12:33:09 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05DB016A400 for ; Wed, 4 Jul 2007 12:33:09 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from fall-curlleaf.atl.sa.earthlink.net (fall-curlleaf.atl.sa.earthlink.net [207.69.195.105]) by mx1.freebsd.org (Postfix) with ESMTP id D441913C487 for ; Wed, 4 Jul 2007 12:33:08 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-tawny.atl.sa.earthlink.net ([207.69.195.67]) by fall-curlleaf.atl.sa.earthlink.net with esmtp (Exim 4.34) id 1I62wO-00008I-6D for questions@freebsd.org; Wed, 04 Jul 2007 07:22:36 -0400 Received: from fl-76-1-181-252.dhcp.embarqhsd.net ([76.1.181.252] helo=kt.weeeble.com) by pop-tawny.atl.sa.earthlink.net with smtp (Exim 3.36 #1) id 1I62wG-0001hp-00; Wed, 04 Jul 2007 07:22:28 -0400 Date: Wed, 4 Jul 2007 07:22:27 -0400 From: Randy Pratt To: Olivier Nicole Message-Id: <20070704072227.80d5bd0f.bsd-unix@earthlink.net> In-Reply-To: <200707040856.l648uDbG039253@banyan.cs.ait.ac.th> References: <200707040856.l648uDbG039253@banyan.cs.ait.ac.th> X-Mailer: Sylpheed 2.4.3 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Recursivity of -r and -R in portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 12:33:09 -0000 On Wed, 4 Jul 2007 15:56:13 +0700 (ICT) Olivier Nicole wrote: > Hi, > > I am wondering is the option -R and -r are mutually recursive in > portupgrade. > > That is, if the option -R applies to every ports detected by -r and > respectively if -r applies to every ports detected by -R. > > Lest take the example of: > > portupgrade -fRr gd > > gd depends on png, does it upgrade png with portupgrade -fRr png? > > php4-gd is built from gd, does it upgrade php4-gd with > portupgrade -Rrf php4-gd? (That will in turn upgrade php, maybe > apache...) Portupgrade has a no-execute option (-n) which will allow you to see what would be done without actually performing the operation; for example: portupgrade -nfRr gd will end with a list of ports that would be updated. Another port you may find useful is ports-mgmt/pkg_tree which will show a dependency tree for a port. HTH, Randy --