portupgrade dialogs...

Daniel Bye freebsd-questions at slightlystrange.org
Tue Jan 4 04:21:38 PST 2005


On Tue, Jan 04, 2005 at 12:24:43PM +0100, Christian Tischler wrote:
> Hi,
> when I run portupgrade to get my server up to date (CVS of 
> 4.9-Release),  everything works fine and smooth, until any of the ports 
> pops up an dialog and asks me what I want to compile in (e.g. cups 
> asking me about what drivers I want to install and so on).
> 
> Now my question: Is there a way to work arround this? As my server does 
> not have a very decent CPU updating takes quite some time, and I do not 
> sit in front of my terminal all the time :-) and due to the dialogs 
> waiting for my input the update is running for three days by now...
> 
> So any suggestions?

In addition to what Stijn and Kent have already said, you can override
the defaults by setting an appropriate value in MAKE_ARGS in
/usr/local/etc/pkgtools.conf.  For example, I have this set for Samba:

MAKE_ARGS = {
    'net/samba*' => [
        'BATCH=yes',
        'WITH_UTMP=yes',
        'WITH_SYSLOG=yes',
        'WITHOUT_CUPS=yes',
        'WITH_RECYCLE=yes',
      ],
}

At each subsequent upgrade, the configured set of options will be passed
to the ports system.

I find this aspect of portupgrade very useful.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050104/57afa560/attachment.bin


More information about the freebsd-questions mailing list