<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/960507d7b9b9aa836314fea86f61b67f62bdbf25">https://github.com/macports/macports-ports/commit/960507d7b9b9aa836314fea86f61b67f62bdbf25</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 960507d mirror_sites.tcl: Fetch distfiles via HTTP on 10.8 or older
</span>960507d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 960507d7b9b9aa836314fea86f61b67f62bdbf25
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sun Jul 7 08:47:09 2019 +0800
<span style='display:block; white-space:pre;color:#404040;'> mirror_sites.tcl: Fetch distfiles via HTTP on 10.8 or older
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> For some reason(s), https://distfiles.macports.org no longer works
</span><span style='display:block; white-space:pre;color:#404040;'> on Mac OS X <= 10.8.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/58688
</span>---
_resources/port1.0/fetch/mirror_sites.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/fetch/mirror_sites.tcl b/_resources/port1.0/fetch/mirror_sites.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 227a90a..9d50986 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/fetch/mirror_sites.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/fetch/mirror_sites.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -501,7 +501,7 @@ set portfetch::mirror_sites::sites(macports) {
</span> }
global os.platform os.major
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set distfiles_scheme [expr {${os.platform} eq "darwin" && ${os.major} < 10 ? "http" : "https"}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set distfiles_scheme [expr {${os.platform} eq "darwin" && ${os.major} < 13 ? "http" : "https"}]
</span>
set portfetch::mirror_sites::sites(macports_distfiles) "
${distfiles_scheme}://distfiles.macports.org/:mirror
</pre><pre style='margin:0'>
</pre>