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>
References:  <41DA7CFB.5010505@myunix.net>

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

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> 4.9-Release),  everything works fine and smooth, until any of the ports=
=20
> pops up an dialog and asks me what I want to compile in (e.g. cups=20
> asking me about what drivers I want to install and so on).
>=20
> Now my question: Is there a way to work arround this? As my server does=
=20
> not have a very decent CPU updating takes quite some time, and I do not=
=20
> sit in front of my terminal all the time :-) and due to the dialogs=20
> waiting for my input the update is running for three days by now...
>=20
> 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 =3D {
    'net/samba*' =3D> [
        'BATCH=3Dyes',
        'WITH_UTMP=3Dyes',
        'WITH_SYSLOG=3Dyes',
        'WITHOUT_CUPS=3Dyes',
        'WITH_RECYCLE=3Dyes',
      ],
}

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

--=20
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 / \

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB2opPhvzwOpChvo8RAu7gAKDknrGRxYazOliEff0Tay6Q3wz/eACfc8/E
T3fPExroCNqwovI4DWrXvQw=
=knQp
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--



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