From owner-freebsd-ports@FreeBSD.ORG Wed May 10 14:43:52 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 04AC516A481; Wed, 10 May 2006 14:43:52 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E8AF43D7B; Wed, 10 May 2006 14:43:48 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k4AEhlGP053289; Wed, 10 May 2006 17:43:47 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.157] (pc157.ebs.gr [10.1.1.157]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k4AEi84o045770; Wed, 10 May 2006 17:44:08 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <4461FC22.90709@ebs.gr> Date: Wed, 10 May 2006 17:43:46 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: Doug Barton , Hans Lambermont , freebsd-ports@freebsd.org References: <445FC09E.2080601@FreeBSD.org> <20060509213651.GE66029@leia.lambermont.dyndns.org> <446179DA.10704@FreeBSD.org> <20060510143549.GA44733@iib.unsam.edu.ar> In-Reply-To: <20060510143549.GA44733@iib.unsam.edu.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: New version of portmaster available for testing 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: Wed, 10 May 2006 14:43:53 -0000 Fernan Aguero wrote: > +----[ Doug Barton (10.May.2006 02:29): > | > | > And then, as mentioned in UPDATING/20060506, the lua port upgrade causes > | > problems : > | > > | > ===> lua-5.0.2_1 conflicts with installed package(s): > | > lua-5.1 > | > > | > UPDATING/20060506 says to fix this with : > | > > | > portupgrade -f -o lang/lua50 lua-5.1 > | > > | > What would be a portmaster equivalent ? > | > | Dunno, what do the -f and -o switches do in portupgrade? > | > +----] > > -f / --force > option to force portupgrade to upgrade a package even if it > does not seem to be needed judging from a version > comparison. > > -o origin / --origin origin > Specify a port to upgrade the following package with. > > Basically, this is a great help in cases where you want to > _downgrade_ a port: > > portupgrade -f -o lang/lua50 lua-5.1 > > is the equivalent of saying 'replace (downgrade) the installed lua-5.1 > package with lang/lua50' ... the '-f' is necessary because > lua-5.1 is obviously up to date. > > > This is also necessary when you want to replace one port > with another that installs file in the same place and/or > provides similar functionality: > > also from recent UPDATING notices: > > portupgrade -o x11/gnome-screensaver -f xscreensaver-gnome > portupgrade -o net/avahi -f howl > > is the equivalent of saying 'replace the installed package > xscreensaver-gnome with x11/gnome-screensaver'. In this case > these are two different ports, but they provide the same > functionality. In other cases, they will CONFLICT, > installing files with identical names in the same place. > > Hope it makes it into portmaster :) Ditto :-) Cheers, Panagiotis