From owner-freebsd-ports@FreeBSD.ORG Mon Oct 19 01:24:04 2009 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 DB55C106566C for ; Mon, 19 Oct 2009 01:24:04 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id B000F8FC08 for ; Mon, 19 Oct 2009 01:24:04 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n9J0mT1c051076 for ; Sun, 18 Oct 2009 17:48:29 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n9J0mTHn047082 for ; Sun, 18 Oct 2009 17:48:29 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n9J0mTGx047081 for freebsd-ports@freebsd.org; Sun, 18 Oct 2009 17:48:29 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Sun, 18 Oct 2009 17:48:29 -0700 From: George Davidovich To: freebsd-ports@freebsd.org Message-ID: <20091019004829.GB44986@marvin.optimis.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: binary upgrade of packages 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: Mon, 19 Oct 2009 01:24:04 -0000 On Sun, Oct 18, 2009 at 10:57:54AM +0200, Christer Solskogen wrote: > Is portupgrade the only tool that can upgrade packages by sharing > /usr/ports? I was looking into pkg_upgrade from bsdadminscripts, but > that tool seemed to download the INDEX file from ftp.freebsd.org even if > I have it in /usr/ports. I can't comment on the behaviour of pkg_upgrade, but your options, irrespective of whether you're sharing out /usr/ports, using ftp.freebsd.org as a repository, or making use of your own local package server, are currently limited to - portupgrade -PP - the pkg_upgrade script from bsdaminscripts - doing it manually by first using pkg_delete(1) Personally, I'd like to see pkg_add(1) enhanced to accommodate the binary-only upgrade functionality as provided by OpenBSD's pkg_add. Then, again, I really do want a pony. ;-) -- George