Skip site navigation (1)Skip section navigation (2)
Date:      18 Dec 2002 22:59:34 -0600
From:      Craig Boston <craig@meoqu.gank.org>
To:        Rob B <rbyrnes@ozemail.com.au>
Cc:        stable@freebsd.org
Subject:   Re: port make options
Message-ID:  <1040273973.385.14.camel@aldaris2.auir.gank.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040273973.385.14.camel>