From owner-freebsd-questions@FreeBSD.ORG Mon Nov 12 16:00:40 2007 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 D3E7116A417 for ; Mon, 12 Nov 2007 16:00:40 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:1f1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3464C13C4B7 for ; Mon, 12 Nov 2007 16:00:40 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id lACG0C2l098329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Nov 2007 16:00:19 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47387891.2060007@unsane.co.uk> Date: Mon, 12 Nov 2007 16:00:17 +0000 From: Vince User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Ashley Moran References: <2852884D-270A-4879-B960-C10A602E080E@ashleymoran.me.uk> In-Reply-To: <2852884D-270A-4879-B960-C10A602E080E@ashleymoran.me.uk> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Ports with GUI configs 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, 12 Nov 2007 16:00:40 -0000 Ashley Moran wrote: > Hi > > I was just wondering, what is the motivation behind the GUI > configuration for some ports? Simply put, they drive me up the wall. > I've lost count of the number of times I've come back to a big install > to find it hanging on a config screen. Possibly I'm missing something. > > The apache22 port is the latest one to join this crowd, although there > is an option to skip the GUI. I'm much happier using WITH_PROXY_MODULES > or whatever, and managing everything in pkgtools.conf. > > What is the best way to pre-configure GUI-configured ports? For > example, if I want to script an installation of several ports. > > I've seen this: , is it what > I'm after? > I think what you want is the make config-recursive target which should go through the dependencies and do the gui config for them all, (after the first run the gui config saves the configs in /var/db/ports/$portname/options and shouldn't prompt a second time.) For apache22 it looks like setting WITHOUT_APACHE_OPTIONS=YES should disable the menu and let you go back to using pkgtools.conf although I haven't tested it. Its possible that setting BATCH=YES and using pkgtools.conf will work too but my understanding of the BATCH and INTERACTIVE makefile options are a little unclear. I agree though, I often suffer the same problem, coming back after a few hours to a build that should have finished to find its sitting on the first dependency. Vince > Thanks for any advice > Ashley > > > -- > > blog @ http://aviewfromafar.net/ > linked-in @ http://www.linkedin.com/in/ashleymoran > currently @ work > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"