Ignore:
Timestamp:
Jul 28, 2016, 2:41:36 AM (3 years ago)
Author:
ryandesign@…
Message:

archive_sites.tcl, mirror_sites.tcl: use http for packages.macports.org and distfiles.macports.org on Leopard and earlier because its old curl/openssl can't verify our SSL certificate

Location:
trunk/dports/_resources/port1.0/fetch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/fetch/archive_sites.tcl

    r148837 r150758  
    33namespace eval portfetch::mirror_sites { }
    44
    5 set portfetch::mirror_sites::sites(macports_archives) {
    6     https://packages.macports.org/:nosubdir
     5global os.platform os.major
     6set packages_scheme [expr \${os.platform} eq \{darwin\} && \${os.major} < 10 ? \{http\} : \{https\}]
     7
     8set portfetch::mirror_sites::sites(macports_archives) "
     9    ${packages_scheme}://packages.macports.org/:nosubdir
    710    http://fco.it.packages.macports.org/mirrors/macports-packages/:nosubdidr
    811    http://her.gr.packages.macports.org/:nosubdir
     
    1518    http://sea.us.packages.macports.org/macports/packages/:nosubdir
    1619    http://jog.id.packages.macports.org/macports/packages/:nosubdir
    17 }
     20"
    1821
    1922set portfetch::mirror_sites::archive_type(macports_archives) tbz2
  • trunk/dports/_resources/port1.0/fetch/mirror_sites.tcl

    r148868 r150758  
    275275}
    276276
    277 set portfetch::mirror_sites::sites(macports_distfiles) {
    278     https://distfiles.macports.org/:mirror
     277global os.platform os.major
     278set distfiles_scheme [expr \${os.platform} eq \{darwin\} && \${os.major} < 10 ? \{http\} : \{https\}]
     279
     280set portfetch::mirror_sites::sites(macports_distfiles) "
     281    ${distfiles_scheme}://distfiles.macports.org/:mirror
    279282    http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/:mirror
    280283    http://cjj.kr.distfiles.macports.org/:mirror
     
    290293    http://sea.us.distfiles.macports.org/macports/distfiles/:mirror
    291294    http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/:mirror
    292 }
     295"
    293296
    294297set portfetch::mirror_sites::sites(netbsd) {
Note: See TracChangeset for help on using the changeset viewer.