On 2011-09-11 9:57 AM, Matjaz Rihtar wrote:
> Hi!
>
>> If you can file tickets for specific repositories to matjaz that would
>> be awesome, he had some mirroring capabilities going and I think it
>> just means finding a mirror to add to our config files then there
>> should be no more issue,
>
> If we are talking about trunk, then yes, the mirroring capabilities are
> already built in.
> If you look at the main config.txt in trunk/docs/scripts/3rd_party, you can
> add URL mirrors separated with blanks, like in this example:
>
> wget_x86_url: ${CENTOS_MIRROR}/centos/5/os/i386/CentOS
> ${MIRROR_NO2}/somewhere/i386/CentOS http://mirror3.nowhere.com/pub/i386/CentOS
> wget_x86_pkgs: wget-1.11.4-2.el5_4.1.i386.rpm
>
> If wget package is not found at the first URL (${CENTOS_MIRROR}/...), other
> URLs are tried in sequence (${MIRROR_NO2} and http://mirror3). Error in
> compilation occurs only if all mirrors fail.
>
> The same syntax is valid also for package specific config.txt(s) on package
> subdirs.
>
> Of course, the package name *must* be the same in all mirrors/repositories in
> the list, i.e. it's not possible to specify the following:
>
> ${MIRROR_URL1}/pub/package_name1.rpm
> ${MIRROR_URL2}/pub/package_name2.rpmThese instructions do not work for situations where a base library's host is down. For example, remotesensing.org appears to be completely broken at the moment, and it hosts libtiff. The only place remotesensing.org is mentioned in the codebase is docs/scripts/3rd_party/base_libs/tiff/config.txt, and adding another download stanza does not work as expected: Error log: ++ getcfg URL: ++ set +x /home/greg/matterhorn/docs/scripts/3rd_party/utilx: line 218: http://dl.maptools.org/dl/libtiff/: No such file or directory ++ return 0 + for URL in '`getcfg URL${ii}:`' + wget -4O tiff-3.9.4.tar.gz ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.4.tar.gz --2011-09-11 10:41:57-- ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.4.tar.gz => `tiff-3.9.4.tar.gz' Resolving ftp.remotesensing.org... 198.202.74.218 Connecting to ftp.remotesensing.org|198.202.74.218|:21... failed: Connection refused. + ok=4 + '[' 4 -eq 0 ']' + '[' 4 -ne 0 ']' + rm -f tiff-3.9.4.tar.gz + return 1 + exit 1 + '[' 1 -ne 0 ']' + return 1 + exit 1 real 0m22.226s user 0m0.024s sys 0m0.096s Diff of my changes: Index: base_libs/tiff/config.txt =================================================================== --- base_libs/tiff/config.txt (revision 10948) +++ base_libs/tiff/config.txt (working copy) @@ -3,3 +3,9 @@ SHA: a4e32d55afbbcabd0391a9c89995e8e8a19961de DIR: tiff-3.9.4 PCP: pc-tiff.zip + +URL: http://dl.maptools.org/dl/libtiff/ +PKG: tiff-3.8.2.tar.gz +SHA: 549E67B6A15B42BFCD72FE17CDA7C9A198A393EB +DIR: tiff-3.8.2 +PCP: pc-tiff.zip Also note that the second mirror I added does *not* have the most recent version on it, but is the only mirror listed on the libtiff homepage. I suggest that we mirror as many of the libraries as possible (licenses permitting?), that way we don't have to depend on the sites being up as well as up to date... G > Matjaz > _______________________________________________ > Matterhorn mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn > > > To unsubscribe please email > [email protected] > _______________________________________________ >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
