Ticket #15456: d.m.o.diff
File d.m.o.diff, 1.8 KB (added by jmroot (Joshua Root), 16 years ago) |
---|
-
src/port1.0/portfetch.tcl
94 94 default fetch.remote_time "no" 95 95 96 96 default fallback_mirror_site "macports" 97 default global_mirror_site "macports_distfiles" 97 98 default mirror_sites.listfile {"mirror_sites.tcl"} 98 99 default mirror_sites.listpath {"${portresourcepath}/fetch/"} 99 100 … … 218 219 # sites 219 220 proc checksites {args} { 220 221 global patch_sites master_sites master_sites.mirror_subdir \ 221 patch_sites.mirror_subdir fallback_mirror_site env222 patch_sites.mirror_subdir fallback_mirror_site global_mirror_site env 222 223 223 append master_sites " ${ fallback_mirror_site}"224 append master_sites " ${global_mirror_site} ${fallback_mirror_site}" 224 225 if {[info exists env(MASTER_SITE_LOCAL)]} { 225 226 set master_sites [concat $env(MASTER_SITE_LOCAL) $master_sites] 226 227 } 227 228 229 # we probably want to mirror downloaded patches 230 # on distfiles.macports.org too, but we don't currently 228 231 append patch_sites " ${fallback_mirror_site}" 229 232 if {[info exists env(PATCH_SITE_LOCAL)]} { 230 233 set patch_sites [concat $env(PATCH_SITE_LOCAL) $patch_sites] -
src/port1.0/resources/fetch/mirror_sites.tcl
180 180 http://svn.macports.org/repository/macports/downloads/ 181 181 } 182 182 183 set portfetch::mirror_sites::sites(macports_distfiles) { 184 http://distfiles.macports.org/:mirror 185 } 186 183 187 set portfetch::mirror_sites::sites(openbsd) { 184 188 http://mirror.roothell.org/pub/OpenBSD/ 185 189 http://www.mirrorservice.org/sites/ftp.openbsd.org/pub/OpenBSD/