Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2005 12:10:36 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        martinko <martinkov@pobox.sk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How often cvsup the ports?
Message-ID:  <434ABCAC.2000302@freebsd.org>
In-Reply-To: <diedgh$mig$1@sea.gmane.org>
References:  <200510061324.37587.mback99@telia.com> <cb5206420510060521k2dd0ecder242d91dc3566fcb2@mail.gmail.com> <43453AA1.1060601@freebsd.org> <diedgh$mig$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
martinko wrote:
> Colin Percival wrote:
>>   portsnap -I cron update && pkg_version -vIL=
> 
> what is this "I" parameter to pkg_version supposed to be?
> i don't seem to have it here on 5.4R.

It's a new flag in 6.0R; it means "just use the INDEX, you stupid
program".  ;-)

Without that flag, pkg_version tries to be intelligent -- it will
go into each port directory and run "/usr/bin/make -V PKGNAME" in
order to work out exactly what version of the port is in the tree,
and will only use the INDEX if that fails.

Unfortunately, running make(1) repeatedly makes pkg_version about
50 times slower than if it just uses the INDEX file; so if you know
that the INDEX is up to date (which will be the case if you use
portsnap), the -I option makes pkg_version much faster.

Colin Percival



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