From owner-freebsd-questions@FreeBSD.ORG Tue Apr 7 21:05:53 2009 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 1552F106564A for ; Tue, 7 Apr 2009 21:05:53 +0000 (UTC) (envelope-from mrkvrg@acm.org) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id A8BC38FC18 for ; Tue, 7 Apr 2009 21:05:52 +0000 (UTC) (envelope-from mrkvrg@acm.org) Received: (qmail 98675 invoked by uid 0); 7 Apr 2009 21:05:51 -0000 Received: from unknown (HELO ?192.168.1.3?) (216.220.115.193) by smtp.bway.net with SMTP; 7 Apr 2009 21:05:51 -0000 From: mv To: freebsd-questions@freebsd.org Date: Tue, 7 Apr 2009 17:05:50 -0400 User-Agent: KMail/1.9.10 References: <22920813.post@talk.nabble.com> <4ad871310904061859m7072d073w4e876aa6a8f7a6b1@mail.gmail.com> <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org> In-Reply-To: <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904071705.51004.mrkvrg@acm.org> Cc: new_guy , Jeffrey Goldberg Subject: Re: portupgrade 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: Tue, 07 Apr 2009 21:05:53 -0000 On Tue, 7 April 2009 16:17:40 Jeffrey Goldberg wrote: > On Apr 6, 2009, at 8:59 PM, Glen Barber wrote: > > On Mon, Apr 6, 2009 at 9:55 PM, new_guy wrote: > >> Is there a way to use portupgrade without all the stopping for > >> config questions? > > > > You could add: > > > > BATCH=yes > > > > to /etc/make.conf. > > Or use the --batch command line option to portupgrade. > > Or use the -c option (as mentioned by someone else in this thread) to > do all of the config questions up front. I didn't know about that > one. > > -j Or use portconfig -a My usual updating routine involves: - update the ports tree using csup - update the INDEX-x with the command "make index" in the directory "/usr/ports" - download all the tarballs upfront with the command "portfetch -a -v" - do all the configuration upfront with the command "portconfig -a" - do an unattended compile/install of the ports with the command "portmaster -a -u -d -v" The ports portconfig & portfetch are part of sysutils/bsdadminscripts. Portmaster can be found at ports-mgmt/portmaster. It is possible to write a simple shell script that automatically does all of the above. The only time attention is required is to enter data during the configuration process. Cheers... Marek