From owner-freebsd-questions@FreeBSD.ORG Wed Jan 5 19:08:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFFF11065679 for ; Wed, 5 Jan 2011 19:08:07 +0000 (UTC) (envelope-from judmarc@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA0D8FC12 for ; Wed, 5 Jan 2011 19:08:07 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id D57932102A; Wed, 5 Jan 2011 14:08:06 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 05 Jan 2011 14:08:06 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=content-type:to:cc:subject:references:date:mime-version:content-transfer-encoding:from:message-id:in-reply-to; s=smtpout; bh=CaOCDiMoUGAbSvzCGX53LlF7sNE=; b=EqUUSBjsmR8CPKuwnGDuTAM7fSAwDIeXC3EcJscMiMDNNaAnf/xPaBKKTKuoDr8h1yEnEdpzrm/z2W3JgIO+MVxtk0XXOKLbK0o1F0KG/tQGtQ8U/oKqpYrTE4EVaI6DQqoAmZYcqlXskeOA+Fr7kHBfTGkH2uKKbv0lYfKU9iE= X-Sasl-enc: Z9UzqEjPDqc2SChI3AbR5dZCRysnwaGSzQaV73iA+Xvw 1294254486 Received: from jud-finks-macbook-pro.local (24.115.236.228.res-cmts.sm.ptd.net [24.115.236.228]) by mail.messagingengine.com (Postfix) with ESMTPSA id 7540A402D79; Wed, 5 Jan 2011 14:08:06 -0500 (EST) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Warren Block" References: <14212432ba707fc5f9fbc75b56e8e783@flabnapple.net> <20101226214221.GB68570@stainmore> <86pqsogfvu.fsf@red.stonehenge.com> <4D186D11.1030708@infracaninophile.co.uk> <20110103225455.GA37597@daemon.gnix.co.uk> <4D22DB01.4080600@infracaninophile.co.uk> Date: Wed, 05 Jan 2011 14:08:06 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jud Message-ID: In-Reply-To: User-Agent: Opera Mail/11.00 (MacIntel) X-Mailman-Approved-At: Wed, 05 Jan 2011 19:35:03 +0000 Cc: Jamie Paul Griffin , "illoai@gmail.com" , Chris Brennan , freebsd-questions@freebsd.org Subject: Re: Portupgrade status 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, 05 Jan 2011 19:08:08 -0000 On Tue, 04 Jan 2011 11:04:03 -0500, Warren Block wrote: > On Tue, 4 Jan 2011, Matthew Seaman wrote: > >> On 04/01/2011 00:51, illoai@gmail.com wrote: >>> No, the -R flag in portmaster tells it to not rebuild >>> ports taht have already been built on this run (I >>> believe from reading man portmaster). The -R >>> flag in portupgrade rebuilds the ports on which >>> the named port depends >>> -R >>> --upward-recursive Act on all those packages required by the given >>> packages as well. (When specified with -F, >>> fetch >>> recursively, including the brand new, >>> uninstalled >>> ports that an upgraded port requires) >>> >>> I don't see any equivalent functionality for portmaster, >>> sadly. >> >> This is actually portmaster's default behaviour. So: >> >> portupgrade -R foo/bar is equivalent to portmaster foo/bar >> >> portupgrade -fRr foo/bar is equivalent to portmaster -fr foo/bar > > I'm not seeing where portmaster has the portupgrade -R functionality > ("rebuild this port and those it depends on"). > > portmaster(8) says "The focus of this tool is to keep the dependency > tracking information for your ports up to date. This allows you to > safely update a specific port without having to update all of the ports > "above" it." > > That would make the default action equivalent to portupgrade's -r option > ("rebuild this port and all those that depend on it"). > > What have I missed? I agree the quoted passage might admit of more than one interpretation, but here is what I think it's saying: Portmaster will automagically update the dependencies for the port you select (= portupgrade -R). Thus there is no need to update the ports that depend on the one you have selected (= portupgrade -r), since all downstream dependencies will be taken care of by default whenever you run portmaster against any of these upstream ports. Jud -- "I'd take the awe of understanding over the awe of ignorance any day." - Douglas Adams