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

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

many thanks for your explanation and many thanks for the new functionality!

m:)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?diefa9$sk3$1>