From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 19:29:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3D716A41F for ; Mon, 10 Oct 2005 19:29:54 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C1EA43D49 for ; Mon, 10 Oct 2005 19:29:53 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EP3Ip-0004ym-2X for freebsd-questions@freebsd.org; Mon, 10 Oct 2005 21:27:15 +0200 Received: from r5k101.chello.upc.cz ([86.49.10.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Oct 2005 21:27:15 +0200 Received: from martinkov by r5k101.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Oct 2005 21:27:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: martinko Date: Mon, 10 Oct 2005 21:27:05 +0200 Lines: 29 Message-ID: References: <200510061324.37587.mback99@telia.com> <43453AA1.1060601@freebsd.org> <434ABCAC.2000302@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k101.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050925 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <434ABCAC.2000302@freebsd.org> Sender: news Subject: Re: How often cvsup the ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 19:29:54 -0000 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:)