From owner-freebsd-stable Wed Dec 18 20:59:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDFD237B401 for ; Wed, 18 Dec 2002 20:59:36 -0800 (PST) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFF0D43EE1 for ; Wed, 18 Dec 2002 20:59:35 -0800 (PST) (envelope-from craig@meoqu.gank.org) Received: from aldaris2.auir.gank.org (dsl081-113-221.dfw1.dsl.speakeasy.net [64.81.113.221]) by ion.gank.org (GankMail) with ESMTP id E3DDF2C96C; Wed, 18 Dec 2002 22:55:57 -0600 (CST) Subject: Re: port make options From: Craig Boston To: Rob B Cc: stable@freebsd.org In-Reply-To: <5.1.1.6.2.20021219153720.034324c0@127.0.0.1> References: <1040271178.98088.22.camel@athomson.prv.au.itouchnet.net> <5.1.1.6.2.20021219145016.0343bae0@127.0.0.1> <1040271178.98088.22.camel@athomson.prv.au.itouchnet.net> <5.1.1.6.2.20021219153720.034324c0@127.0.0.1> Content-Type: text/plain Organization: Message-Id: <1040273973.385.14.camel@aldaris2.auir.gank.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 18 Dec 2002 22:59:34 -0600 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-12-18 at 22:40, Rob B wrote: > Hmm ... this is exactly what I was trying to accomplish ... is BATCH > something that can be tweaked by the user? > > cheer,s > Rob Well, since you mentioned Samba in your original post, I'll take that one as an example. Samba is actually a pretty well behaved port. It seems to do things the "right" way (IMO of course). If you want to disable CUPS, and enable Quotas and MS-DFS, and not have to manually acknowledge the dialog box, you can put this in the MAKE_ARGS section of pkgtools.conf (all one line). 'net/samba' => 'BATCH=YES WITHOUT_CUPS=YES WITH_MSDFS=YES WITH_QUOTAS=YES', That wasn't too bad. You can get an idea of what options are possible by looking at /usr/ports/net/samba/scripts/configure.samba. Now, for mod_php4, things get hairier... Here's the pkgtools.conf line from my web server: 'www/mod_php4' => 'BATCH=YES PHP4_OPTIONS=\'\\\"zlib\\\" \\\"GD2\\\" \\\"PostgreSQL\\\" \\\"OpenLDAP2\\\" \\\"XML\\\" \\\"pspell\\\" \\\"transsid\\\"\'' Yikes... I was only able to get that one working after much trial and error. There is some provision in the configure script for BATCH, but it seems to require lots of extra quoting to actually work. I don't mean to pick on PHP's port maintainer -- that's just one I remembered off the top of my head :) I seem to remember running across a port or two that didn't have any way at all to set custom options when BATCH was set, but I can't think of it at the moment. Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message