From owner-freebsd-ports@FreeBSD.ORG Wed May 10 14:36:11 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 43F9816A494; Wed, 10 May 2006 14:36:11 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D47343D73; Wed, 10 May 2006 14:35:58 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k4AEaZKq011839; Wed, 10 May 2006 11:36:35 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k4AEZoZL005470; Wed, 10 May 2006 11:35:50 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k4AEZnGs005461; Wed, 10 May 2006 11:35:49 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Wed, 10 May 2006 11:35:49 -0300 From: Fernan Aguero To: Doug Barton Message-ID: <20060510143549.GA44733@iib.unsam.edu.ar> Mail-Followup-To: Doug Barton , Hans Lambermont , freebsd-ports@freebsd.org References: <445FC09E.2080601@FreeBSD.org> <20060509213651.GE66029@leia.lambermont.dyndns.org> <446179DA.10704@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446179DA.10704@FreeBSD.org> User-Agent: Mutt/1.5.11 Cc: freebsd-ports@freebsd.org, Hans Lambermont 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:36:11 -0000 +----[ 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 :) Fernan