From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 23:31:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 21F5F16A41F for ; Wed, 19 Oct 2005 23:31:49 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from qproxy.gmail.com (qproxy.gmail.com [72.14.204.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9623043D68 for ; Wed, 19 Oct 2005 23:31:48 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by qproxy.gmail.com with SMTP id o12so216170qba for ; Wed, 19 Oct 2005 16:31:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=bRnqHXCTPF2eLX8MuniVmlIV8bl6vAHCyCL/lmOJMb8CE3OMYapTUhpds6WolCD1j2NzEoOANGQ5XZpLRZ11N7wke7powCrOtH6aAfrSLDOwPzd7KTmblrJqSNLF2nLsfc3NQMfre78kf3G0gPYPCjIopQkCZQKMZnKdmpGRXbc= Received: by 10.65.72.17 with SMTP id z17mr1004871qbk; Wed, 19 Oct 2005 16:31:47 -0700 (PDT) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id f17sm878914qba.2005.10.19.16.31.46; Wed, 19 Oct 2005 16:31:47 -0700 (PDT) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Wed, 19 Oct 2005 16:33:14 -0700 User-Agent: KMail/1.8.2 References: <4356D354.5020509@childeric.freeserve.co.uk> In-Reply-To: <4356D354.5020509@childeric.freeserve.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510191633.14738.ringworm01@gmail.com> Subject: Re: [Fwd: Re: port config questions] 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, 19 Oct 2005 23:31:49 -0000 On Wednesday 19 October 2005 16:14, Chris wrote: > Sorry, sent to respondent instead of list, resending to list > > Michael C. Shultz wrote: > > On Monday 17 October 2005 14:13, Chris wrote: > >>Q2 Can I tell portupgrade to go through the configs of all the ports it > >>is going to upgrade so that I can set them all in one go and then let > >>portupgrade (or portmanager) get on with things unattended? If not would > >>this be a useful addition to portupgrade functionality? I would like to > >>include options that are in Makefiles as well as 'make config' menus. > > > > Setting BATCH=YES in /etc/make.conf will prevent those blue screens from > > popping up. I'm not sure if this is risky or not but BATCH=YES is a > > permament fixture in my make.conf and haven't noticed any problems yet. > > Does that stop interactive ports being compiled or make them compile > with defaults? bsd.ports.mk says that BATCH mode would make portupgrade > 'skip all the important targets' but I'm not sure what that means. > > I was trying to find a way to walk through all the options, not only in > the blue screen menus but in the options in the various makefiles and > set them before doing the actual upgrade. > > Thanks, > > Chris You could try writing a script that bassed on what's in /var/db/ports puts you into the appropriate port directory and runs make config. Personally I put all my WITH/ WITH_OUT settings into /etc/make.conf and then use BATCH=YES to keep away the blue screens. -Mike