From owner-freebsd-ports@FreeBSD.ORG Thu Oct 2 12:36:51 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 8C874106568C for ; Thu, 2 Oct 2008 12:36:51 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 20F928FC17 for ; Thu, 2 Oct 2008 12:36:50 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m92CanLM022757 for ; Thu, 2 Oct 2008 14:36:49 +0200 (CEST) X-Ids: 168 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 0B91A8A1D4 for ; Thu, 2 Oct 2008 14:36:48 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id F0C1910B; Thu, 2 Oct 2008 14:36:47 +0200 (CEST) Date: Thu, 2 Oct 2008 14:36:47 +0200 From: Michel Talon To: freebsd-ports@freebsd.org Message-ID: <20081002123647.GA54217@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.168]); Thu, 02 Oct 2008 14:36:49 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8371/Thu Oct 2 12:15:33 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 48E4C061.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48E4C061.001/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48E4C061.001 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.031 -> S=0.031 X-j-chkmail-Status: Ham Subject: Re: My interactive version of pkg_add 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: Thu, 02 Oct 2008 12:36:51 -0000 Marcin Wisnicki wrote: > Unless I'm missing something there needs to be a MOVED file or ideally > something like it that has pkgnames (with versions) for a binary > package update tool to work. First, congratulations to Marin Atanasov for having completed his program! As far as i understand, Marin's goal was simpler that an upgrade tool for binary packages, it was simply an install tool, allowing to choose interactively on various repositories. I think this goal is fulfilled and is useful. For upgrading, the situation is vastly more complicated, indeed one needs to read MOVED and use information here, in particular follow the name changes of ports. For example you may have a port whose proper upgrade has a different name, etc. or ports have disappeared, etc. I am not even sure that a completely bullet proof system can be written within the limits of the present FreeBSD ports system. I am quite sure that one of the keys of Marcin's success is having limited his aims. Similarly the excellent portmaster tool for upgrading owes its success to strict limitation to upgrade from source, using the available preexisting pkg_* tools - plus a lot of polishing. -- Michel TALON