From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 01:35:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 818D91065679 for ; Tue, 5 Aug 2008 01:35:53 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 2752B8FC22 for ; Tue, 5 Aug 2008 01:35:53 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA05.westchester.pa.mail.comcast.net with comcast id yMDY1Z00A1HzFnQ55RKBKC; Tue, 05 Aug 2008 01:19:11 +0000 Received: from daland.home ([24.61.21.4]) by OMTA14.westchester.pa.mail.comcast.net with comcast id yRKs1Z00605H7zL3aRKsDY; Tue, 05 Aug 2008 01:19:52 +0000 X-Authority-Analysis: v=1.0 c=1 a=qHbhKkr0aMwA:10 a=Wl-rkIYETHEA:10 a=rITDv7nW5hcA:10 a=wkUKtYnv5PqhJeX35ZUA:9 a=woVQMpTBHbPjO2DxRFYA:7 a=OCpJFIKILxaU4WLvNbCYqhq2VtQA:4 a=si9q_4b84H0A:10 a=mhQ4J5QMNLoA:10 Received: from algo by daland.home with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KQBDL-000BrE-VS; Mon, 04 Aug 2008 21:19:51 -0400 From: Alex Goncharov To: Doug Barton In-reply-to: <4896904E.9070807@FreeBSD.org> (message from Doug Barton on Sun, 03 Aug 2008 22:14:54 -0700) References: <696148549.2959541217812741596.JavaMail.root@mail3.gatech.edu> <1938178730.2959681217812808135.JavaMail.root@mail3.gatech.edu> <20080804022618.GA4790@eos.sc1.parodius.com> <4896904E.9070807@FreeBSD.org> Message-Id: Sender: Alex Goncharov Date: Mon, 04 Aug 2008 21:19:51 -0400 Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org, alex-goncharov@comcast.net Subject: Re: Portmaster questions (Was: Re: Using Portupgrade?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2008 01:35:53 -0000 ,--- Doug Barton (Sun, 03 Aug 2008 22:14:54 -0700) ----* | It's really not appropriate to hijack the portupgrade thread for this, | so I'm starting a new subject. Also, please respect followups to | -ports. [ Being an inexperienced poster: sorry. Am I using a good cc: list now? ] | Alex Goncharov wrote: | > 1. I see a significant difference in the time it takes to get the same | > information using the two tools: | As I understand it, portupgrade uses the INDEX file to determine | whether ports are up to date. Portmaster recurses through each | installed port and does 'make -V PKGVERSION'. | | > 2. It looks like there are no `portmaster' equivalents to | > `portupgrade' `-P' and `-PP' options, which I want to have. | If portupgrade does the job for you, keep using it. :) I have said | many times that I'm not looking to write a portupgrade replacement. | Use the right tool for the job(s) you have to do. `---------------------------------------------------------------* Thank you for `postmaster' -- I do like it and am not trying to criticize. Hoped that somebody knowledgeable would tell me how to use the available port management tools better, which you just did re: "versions", thanks. ,--- Miroslav Lachman (Mon, 04 Aug 2008 11:36:58 +0200) ----* | You do not have to run portversion or portmaster or any other 3rd party | tool to check versions of installed ports. Use pkg_version which is | included in base system and then you are independent of port management | tools changes. | pkg_version (by default) do not use INDEX, but have option to use it and | then become clear winner (in speed): Thank you -- I didn't know that and am switching to "pkg_version -I" now!.. | As I had problems with portupgrade's handling of dependencies, I am | converted to portmaster. `---------------------------------------------------------------* I've also had enough problems with portupgrade's -R option and essentially stopped using it (the option). ,--- Marcin Wisnicki (Mon, 4 Aug 2008 15:24:37 +0000 (UTC)) ----* | It's not even doing a good job at it, standard pkg_version significantly | outperforms it: `---------------------------------------------------------------* Well, I guess I'll make another, better informed attempt to switch to portmaster now. Thank you all who replied for the useful information! -- Alex -- alex-goncharov@comcast.net --