[Kolab-devel] Changes to ftp.kolab.org

Matt Douhan matt at fruitsalad.org
Mon Aug 30 14:54:43 CEST 2004


On Monday 30 August 2004 13.53, Steffen Hansen wrote:
> Quote from my obmtool.conf:
>
> %common
>     @hasfeature TAGFMT || exit   # require obmtool to support TAGFMT
>     TMPDIR=/var/tmp    # large tmp with 300MB space
>     URL="ftp://ftp.kdab.net/pub/kolab/server/current/" # used for
> non-ftp://ftp.openpkg.org/ packages
>
> %kolab
>     echo "---- boot/build ${NODE} %${CMD} ----"
>     PREFIX=/${CMD};
>     loc='' # '' (empty) for ftp.openpkg.org, '=' for URL, './' for CWD or
> absolute path altloc='='
>
>     # start from scratch or upgrade within 2.0.x
>     @install ${loc}openpkg-2.1.2-2.1.2 \
>         --tag="kolab" \
>         --prefix="${PREFIX}" \
>         --user="${CMD}" --group="${CMD}" \
>         --muid="19414" --ruid="19415" --nuid="19416" \
>         --mgid="19414" --rgid="19415" --ngid="19416"
>  ...
>  @install ${altloc}perl-kolab-5.8.4-20040826

Yep we are on the same track :) I did almost the same thing but your solution 
is a lot cleaner, I will quickly move my efforts to this one and continue 
down this route.

One way would be to create a list of pref download URL's and let obmtool try 
one after the other, with the highest bw ones at the top, this would be 
similar to a mirroring strategy from for example FBSD or similar project.

that way all URL's can be listed in the obmtool.conf and in decending order 
the mirrors based on bw and reliability.

This would rely on obmtool being able to try several URL's for the same 
package, which I am currently trying

just a thought.

rgds

Matt




More information about the devel mailing list