Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 12:21:36 +0000
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: portupgrade dialogs...
Message-ID:  <20050104122135.GA57348@catflap.slightlystrange.org>
In-Reply-To: <41DA7CFB.5010505@myunix.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 / \

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB2opPhvzwOpChvo8RAu7gAKDknrGRxYazOliEff0Tay6Q3wz/eACfc8/E
T3fPExroCNqwovI4DWrXvQw=
=knQp
-----END PGP SIGNATURE-----
home | help

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