switch to sfa module
[build.git] / vbuild-fedora-mirror.sh
index ff72433..34a09e3 100755 (executable)
@@ -14,15 +14,16 @@ skip_core=
 root=/mirror/
 
 
-hozac_url=http://rpm.hozac.com/dhozac/centos/5/vserver
+hozac_url=ftp://rpm.hozac.com/dhozac/centos/5/vserver
+# Daniel mentions rsync://rpm.hozac.com/dhozac/centos/5/vserver/
 
 us_fedora_url=rsync://mirrors.kernel.org/fedora
 us_centos_url=rsync://mirrors.rit.edu/centos
 us_epel_url=rsync://rsync.gtlib.gatech.edu/fedora-epel
 
-# this one is contaminated with the .~tmp~ thing
-
-eu_fedora_url=rsync://mirrors.ircam.fr/fedora-linux
+# ircam's fedora8 repo has been turned off
+#eu_fedora_url=rsync://mirrors.ircam.fr/fedora-linux
+eu_fedora_url=rsync://mirror.ovh.net/download.fedora.redhat.com/linux
 eu_centos_url=rsync://mirrors.ircam.fr/CentOS
 eu_epel_url=rsync://mirrors.ircam.fr/fedora-epel
 
@@ -31,7 +32,7 @@ jp_centos_url="jp_centos_url-needs-to-be-defined"
 jp_epel_url="jp_epel_url-needs-to-be-defined"
 
 default_distroname="centos5"
-all_distronames="f8 f10 centos5.2 epel5"
+all_distronames="f8 f10 f11 centos5.2 centos5.3 epel5"
 default_arch="i386"
 all_archs="i386 x86_64"
 
@@ -57,7 +58,7 @@ function mirror_distro_arch () {
            distro="Fedora Core"
            rsyncurl=$fedora_url
            ;;
-       f*[7-9]|f10)
+       f*[7-9]|f1?)
            distroindex=$(echo $distroname | sed -e "s,f,,g")
            distro="Fedora"
            rsyncurl=$fedora_url
@@ -105,7 +106,7 @@ function mirror_distro_arch () {
                    paths="$paths core/updates/$distroindex/$arch/ extras/$distroindex/$arch/"
                    RES=0
                    ;;
-               7|8|9|10)
+               7|8|9|1?)
                    [ -z "$skip_core" ] && paths="releases/$distroindex/Everything/$arch/os/"
                    paths="$paths updates/$distroindex/$arch/"
                    # f8 and f9 have the additional newkey repo