using deltup(1) to update FreeBSD ports distfiles

Roman Bogorodskiy bogorodskiy at gmail.com
Mon May 23 06:29:40 PDT 2005


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 
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. 

Note: This script is only in alpha stage and I'd like to get your
reports, ideas and any kind of feedback.

-Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050523/24f6bbf0/attachment.bin


More information about the freebsd-ports mailing list