From owner-freebsd-ports@FreeBSD.ORG Sun Jul 23 07:42:53 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD6CF16A4DA for ; Sun, 23 Jul 2006 07:42:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 5B78443D45 for ; Sun, 23 Jul 2006 07:42:53 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 5674 invoked by uid 399); 23 Jul 2006 07:42:52 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 23 Jul 2006 07:42:52 -0000 Message-ID: <44C3287A.2040103@FreeBSD.org> Date: Sun, 23 Jul 2006 00:42:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.4 (X11/20060604) MIME-Version: 1.0 To: Hans Lambermont References: <44B9E086.60009@FreeBSD.org> <20060717110151.GA33699@leia.lambermont.dyndns.org> <44BBDF6E.6030100@FreeBSD.org> <44BF0050.8030304@FreeBSD.org> <20060720120419.GD36935@leia.lambermont.dyndns.org> In-Reply-To: <20060720120419.GD36935@leia.lambermont.dyndns.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@freebsd.org" Subject: Re: New portmaster version available for testing/feedback X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2006 07:42:53 -0000 Hans Lambermont wrote: > Doug Barton wrote: > >> Doug Barton wrote: >> >>> I just uploaded a version that has what should be a fix for this, can >>> you give it a try? And thanks for catching this, you're right, it's >>> an oversight on my part. >> I'm curious if you've had a chance to try that fix, as I'd like to >> commit the new version sometime soon. > > It's nice to have bootable backups ;-) heh > I just tested the same upgrade and it works OK now : > > ===>>> Upgrade for howl-1.0.0_1 to avahi-0.6.11_1 succeeded > > I miss one dependency though : > > # pkg_info -R avahi-0.6.11_1 > Required by: > gimp-2.2.11,1 > kde-3.5.2 > planner-0.13_3 > > The old avahi-0.6.10_3 also had : >> # pkg_info -R avahi-0.6.10_3 >> Required by: >> vlc-0.8.5_2 > > Is this a dependency-merge omission ? It looks like avahi-0.6.11_1 only > has the howl-1.0.0_1 dependencies. D'oh. This is an ugly problem, but I just uploaded a new version at http://dougbarton.us/portmaster that fixes this issue. This time around I created an artificial environment with both howl and avahi dependencies, and with both ports installed, and tested the update. I'm confident that this new version does what _I_ expected it to do, but if you can still test one more time, that would be appreciated. If you don't get a chance to test, that's cool too, just let me know so that I can check in the new version. >> Also, in re-reading your message it occurs to me that one of the problems >> with what you did previously is that you specified just 'howl' as the second >> argument to -o, and that isn't enough. You either need to specify net/howl >> ala portupgrade, or howl-1.0.0_1 (i.e., the installed port name from >> /var/db/pkg). > > Ah yes, perhaps this is a good thing to check for ? ;-) Too dangerous in this situation. I'd rather not guess what the user is trying to do. I did however improve the code that reads the port directory as the second argument, so now you can do (for example) net/howl, /usr/ports/net/howl, or howl-1.0.0_1 and they all work. FYI, the other change I made to the version I just posted is that the -s option to remove stale ports is now recursive, so if you're deleting a big chunk (like the avahi mess that I was testing with) it keeps going till there are no more stale ports to find, rather than having to run it repeatedly like you did previously. Doug -- This .signature sanitized for your protection