From owner-freebsd-ports@FreeBSD.ORG Mon May 23 13:29:39 2005 Return-Path: X-Original-To: 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 D537616A41C for ; Mon, 23 May 2005 13:29:39 +0000 (GMT) (envelope-from bogorodskiy@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EEF143D4C for ; Mon, 23 May 2005 13:29:39 +0000 (GMT) (envelope-from bogorodskiy@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1966845wra for ; Mon, 23 May 2005 06:29:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:x-pgp; b=gwC5zhWxlLtkgCEZ3UgZtOK0CnM0lFWaOuRxfh95t3ZFqI56sWyEulTJXtsmwjskWxjcarrkGTPlp61z17m4gPCA/sj/OiVc8Kg05/WeuAjDrJp9ok4TFOJLqFhA2LCs0I+dtiH1EKU+bA2ajwu5Van3HPUTQptjiFtv/xYJITE= Received: by 10.54.15.15 with SMTP id 15mr3482925wro; Mon, 23 May 2005 06:29:38 -0700 (PDT) Received: from localhost ([213.24.169.198]) by mx.gmail.com with ESMTP id 8sm203477wrl.2005.05.23.06.29.34; Mon, 23 May 2005 06:29:38 -0700 (PDT) Date: Mon, 23 May 2005 17:36:26 +0400 From: Roman Bogorodskiy To: ports@freebsd.org Message-ID: <20050523133625.GB750@lame.novel.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IrhDeMKUP4DT/M7F" Content-Disposition: inline X-PGP: http://people.freebsd.org/~novel/novel.key.asc Cc: Subject: using deltup(1) to update FreeBSD ports distfiles 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, 23 May 2005 13:29:40 -0000 --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm working on using deltup(1) for updating freebsd ports distfiles. If you don't know what is deltup, I'll explain: deltup is a source package (i.e. distfiles) updater. Let's say, you have foo-1.0.tar.bz2 and you want to get foo-1.1.tar.bz2. Instead of downloading foo-1.1.tar.bz2 you can download delta for it and patch foo-1.0.tar.bz2. You'll get foo-1.1.tar.bz2 (with matching MD5 and SIZE). That way, you'll save a lot of traffic. It may be useful for people with slow connection for example. I wrote a script which being used as FETCH_CMD tries to download a delta and patch old distfile. If delta is not available or there are no previous versions of tarball in DISTDIR, it'll return to downloading=20 the tarball. You can find the script here: http://people.freebsd.org/~novel/freebsd_ports_and_deltup.html There are also some instructions how to use it (be sure to read it before using the script) on that page.=20 Note: This script is only in alpha stage and I'd like to get your reports, ideas and any kind of feedback. -Roman Bogorodskiy --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQCVAwUBQpHcWYB0WzgdqspGAQID0gQAu+b+evLxHMBx/YtiOYP9mQ7ZkfH96n+n Msr2UqV6jc67k3Vv7BU47h+NaNw1qT/t67Ru74OmgadIEtmbTSUlpPoudFVvn6sC OEX3+JuM7Yy0aoUcQ2L32vKQ6XAFj6lLwsrZ5WtmDQYnESh5gbiZ6lass1+TXAvP 2tTq8FSHabM= =MxrM -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F--