From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 14:38:06 2010 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 B924D10656A3 for ; Mon, 8 Nov 2010 14:38:06 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 45C548FC08 for ; Mon, 8 Nov 2010 14:38:05 +0000 (UTC) Received: by eyb7 with SMTP id 7so2776582eyb.13 for ; Mon, 08 Nov 2010 06:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=lcMa9R/qWWHCTcUjVr9yZZ6jVck64y27jbcKQQpFbBI=; b=lxq+psLGE29bY+aj3ZwNjwTbKpL+MX9u04CijqwghkkWQmww5vwPyE8AKREvzv7xpC CEuS2bcKXK5JhCnd54g28Fhk2erruuWzZ+GYyT/E+/67WoK4xRqsN93gdvx3QK34hrCn Xee6w8ELrCuKRpc/yIojw+bsfRmBul8QE1Vhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=cEmKsuqrJzT/TuPzVxirYH0ScI9FEjAHsfj+MqFhiC+QHFfHQNUULvMpnv39AkClIc UHNbvVFxd+x98GFNew2KOapTm4RuaxP+o6xD8KOqA9V/PBI8k3D+oMbw9F7EMypSjaoi GNIcdmVkhU0sAd5codfpeQcNZCbzVaXT7b9jc= Received: by 10.216.60.203 with SMTP id u53mr5409064wec.36.1289227084202; Mon, 08 Nov 2010 06:38:04 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id x59sm3151718weq.14.2010.11.08.06.38.01 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Nov 2010 06:38:02 -0800 (PST) Date: Mon, 8 Nov 2010 14:37:59 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20101108143759.271acd17@gumby.homeunix.com> In-Reply-To: <20101108062255.432ca434@scorpio> References: <4CD6FC57.5020205@blakemfg.com> <20101107203111.37d72c45.freebsd@edvax.de> <20101107145711.1da79e9a@scorpio> <20101108062255.432ca434@scorpio> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: portmaster question 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: Mon, 08 Nov 2010 14:38:06 -0000 On Mon, 8 Nov 2010 06:22:55 -0500 Jerry wrote: > I don't see anything that specifically states the the "-R or -r" > flags are in included with the "-a" flag; although I might be > misinterpreting it. If it was implied i think it should have been > better documented. -aRr isn't implied by -a, the rR options are ignored in the former. I think it's fairly clear that recursing through installed packages with consistent dependecies isn't going to find a package that isn't in the set of all installed packages. The remaining question is whether -Ra also recurses though new dependencies, and that's covered in the entry for -R. It doesn't really matter though, since -aRr is only a waste of keystrokes. > Perhaps the only way to positively ascertain the correct answer would > be to actually study the apps code, opts.def_option("-a", "--all", "Do with all the installed packages") { |$all| $recursive = false $upward_recursive = false } ... opts.def_option("-r", "--recursive", "Do with all those depending on the given packages" << NEXTLINE << "as well") { $recursive = true unless $all } opts.def_option("-R", "--upward-recursive", "Do with all those required by the given packages" << NEXTLINE << "as well / Fetch recursively if -F is specified") { $upward_recursive = true unless $all $fetch_recursive = true } ... if $fetch_recursive cmdargs << 'checksum-recursive' else cmdargs << 'checksum' end