Date: Mon, 23 May 2005 17:36:26 +0400 From: Roman Bogorodskiy <bogorodskiy@gmail.com> To: ports@freebsd.org Subject: using deltup(1) to update FreeBSD ports distfiles Message-ID: <20050523133625.GB750@lame.novel.ru>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050523133625.GB750>