From owner-freebsd-questions@FreeBSD.ORG Wed Mar 14 16:20:04 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D03216A400 for ; Wed, 14 Mar 2007 16:20:04 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 8597B13C448 for ; Wed, 14 Mar 2007 16:20:03 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l2EGJc0p058097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 16:19:39 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45F820B0.8030204@unsane.co.uk> Date: Wed, 14 Mar 2007 16:20:00 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Gary Kline References: <20070314155326.GA23363@thought.org> In-Reply-To: <20070314155326.GA23363@thought.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: binary patches? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 16:20:04 -0000 Gary Kline wrote: > Regarding most (or many) of the port changes--say, upgrading > foo-2.1.9_5 to foo-2.1.9_6, if the upgrade could be done by > downloading a binary diff file, could the resulting > /usr/local/bin/foo-2.1.9_6 be achieved by downloading a > relatively small binary patch? Seems to me that smaller scale > upgrades could be done this way in preference to re-compiling > ports or downloading entire pacakes. --Same would go for any > dependencies. > > Why is this a bad idea! > > gary portsnap works on this basis as does freebsd-update, see http://www.daemonology.net/freebsd-update/ I can imagine it could get horribly complex, but using http://www.daemonology.net/bsdiff/ i guess its potentially possible. Colin Percival would be a good person to talk to if you're thinking of implementing this, since he wrote the tools referenced above. Vince