-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am in the postition where, on the machine I do most "cooking", I only
have access to the net at 28.8kbps, whereas at the university, I have
10mbps access to ftp.sun.ac.za (which has a kernel mirror, KDE mirror,
Gnome mirror, samba mirror and partial mirrors of other source projects).

Also, at the university we have a fast, but expensive connection. Thus,
it is ok to download a large package (mozilla, openoffice for example)
once, but not twice.

To get around this, I have been using a script (see it at
http://ranger.dnsalias.com/mandrake/scripts/build_from_cvs) which
originally was written to build RPMs from cvs snapshots of the samba
source tree, but can also build RPMs using files from a cvs tree of
Mandrake spec files.

I have used this script to build many RPMs (on my dad's 1900XP and my
own 800 Duron), including a lot of samba CVS snapshots, kernels,
mozilla, nautilus, galeon, evolution, openoffice, glibc, sometimes
overnight (in the case of openoffice and the kernel), but I have run
into some issues:

1)Sometimes a new source is added to the SRPM and spec (such as the new
mozilla l10n stuff) but with no URL, so it is impossible (I have been
looking since the weekend) to find this source. I don't see why I should
download a new 30MB SRPM just to add a MB or so of extra source (or is
it possible to use rsync on individual files?)

Would it be worthwhile me modifying the script to look at Source*
entries in the SPEC and try and locate them (at least trying tar.gz
where tar.bz2 is specified) if they are not found locally)?

2)Sometimes the patches in the SRPM are out of sync with those in CVS.
This was the case (and may still be) with the iforce (joystick driver)
patch and at least one other one in kernel 2.4.17.x.

A case in point, I would like to compile RPMS for Gnome2, and we have a
mirror of Gnome2 source (even in tar.bz2!), getting the required patches
and spec files from CVS is trivial, and I can probably build the whole
thing over a weekend, whereas it would take a lot more than a weekend to
download the SRPMs over a 28.8 modem, and would cost way too much at the
equivalent of one movie ticket (following the mandrakeclub analogy,
adjusted for local conditions) per 10MB.

Oh, I almost forgot, but the kernel/glibc issue also makes it near
impossibe (unless I'm missing something) to build a kernel source RPM
with this method ...

Regards,
Buchan
- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                       http://ranger.dnsalias.com/gpg.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE8oLX8rJK6UGDSBKcRAmDOAKCR1d98oFhdaEOac78gh5uPHPpVKgCeI/Wl
tpwwW7GPyXHbiOwiM9GDjKk=
=2F3b
-----END PGP SIGNATURE-----


Reply via email to