Ignore:
Timestamp:
Nov 20, 2013, 11:33:56 PM (6 years ago)
Author:
ryandesign@…
Message:

mirror_sites.tcl: update php mirrors and update the script that regenerates the list

File:
1 edited

Legend:

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

    r113619 r113620  
    346346# The country code domains without number suffix are supposed to redirect to
    347347# an available mirror in that country. To update this list use:
    348 # curl -s http://php.net/mirrors.php | sed -E -n 's,^.*http://([a-z]{2})[0-9]*(\.php\.net)/.*$,\1\2,p' | sort -u | xargs -n 1 -I % sh -c '{ ping -o -c 4 -t 15 % >/dev/null 2>&1 && echo "    http://%/:nosubdir"; }' | tee /dev/tty | pbcopy
     348# curl -s --compressed http://php.net/mirrors.php | sed -E -n 's,^.*http://([a-z]{2})[0-9]*(\.php\.net)/.*$,\1\2,p' | sort -u | xargs -n 1 -I % sh -c '{ curl -s --compressed --connect-timeout 30 -m 60 http://%/ | grep -iq "php group" && echo "    http://%/:nosubdir"; }' | tee /dev/tty | pbcopy
    349349set portfetch::mirror_sites::sites(php) {
    350350    http://am.php.net/:nosubdir
     
    356356    http://ca.php.net/:nosubdir
    357357    http://ch.php.net/:nosubdir
     358    http://cl.php.net/:nosubdir
    358359    http://cz.php.net/:nosubdir
    359360    http://de.php.net/:nosubdir
     
    365366    http://gr.php.net/:nosubdir
    366367    http://hk.php.net/:nosubdir
     368    http://hu.php.net/:nosubdir
    367369    http://ie.php.net/:nosubdir
    368370    http://il.php.net/:nosubdir
     
    373375    http://jm.php.net/:nosubdir
    374376    http://jp.php.net/:nosubdir
     377    http://kr.php.net/:nosubdir
    375378    http://li.php.net/:nosubdir
    376379    http://lt.php.net/:nosubdir
    377380    http://lu.php.net/:nosubdir
     381    http://lv.php.net/:nosubdir
    378382    http://md.php.net/:nosubdir
    379383    http://mx.php.net/:nosubdir
    380384    http://my.php.net/:nosubdir
    381     http://nc.php.net/:nosubdir
    382385    http://nl.php.net/:nosubdir
    383386    http://no.php.net/:nosubdir
Note: See TracChangeset for help on using the changeset viewer.