From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 20:26:49 2008 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 7F4981065691 for ; Mon, 6 Oct 2008 20:26:49 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 05C3E8FC18 for ; Mon, 6 Oct 2008 20:26:48 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman-macbook.local ([10.0.0.173]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m96KRO56044001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Oct 2008 21:27:25 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <48EA7487.2050901@unsane.co.uk> Date: Mon, 06 Oct 2008 21:26:47 +0100 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Kelly Jones References: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> In-Reply-To: <26face530810061228g660203ebxe3e287f4e47c3b06@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Installing multiple ports quietly and efficiently 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, 06 Oct 2008 20:26:49 -0000 Kelly Jones wrote: > Here's one way to install multiple FreeBSD ports "unattended" on a > machine: > > cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make install > > and so on (perhaps even in a shell script). Two problems: > > % It's ugly. I'd prefer "cd /usr/ports; make foo/prog1 foo/prog2 ..." > I'd suggest using portupgrade then just portinstall prog1 prog2 prog3 > % "make install" often pops up windows asking me to choose > configuration options, and hangs until I do so. > > > I want to install 50 apps on a new server, but not have to watch it > constantly. I want to tell ports: "just use the default options for > now: if I'm unhappy w/ them, I'll come back, do a 'make rmconfig' and > rebuild". > > How can I do this? > > add BATCH=yes to /etc/make.conf Vince