<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ad4012140f2632b39492994aad5ab55983dc7d50">https://github.com/macports/macports-ports/commit/ad4012140f2632b39492994aad5ab55983dc7d50</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 ad4012140f2 bootstrap.sh: Cache common hosts in /etc/hosts
</span>ad4012140f2 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ad4012140f2632b39492994aad5ab55983dc7d50
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jun 29 18:38:41 2020 -0500

<span style='display:block; white-space:pre;color:#404040;'>    bootstrap.sh: Cache common hosts in /etc/hosts
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    This may help work around the intermittent Travis CI DNS outages.
</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/60614
</span>---
 _ci/bootstrap.sh | 5 +++++
 1 file changed, 5 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_ci/bootstrap.sh b/_ci/bootstrap.sh
</span><span style='display:block; white-space:pre;color:#808080;'>index b40c6f39156..a8cc4c1ef07 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_ci/bootstrap.sh
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_ci/bootstrap.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,11 @@ set -e
</span> brew --version
 /usr/bin/sudo /usr/bin/find /usr/local -mindepth 2 -delete && hash -r
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Guard against intermittent Travis CI DNS outages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for host in distfiles.macports.org github.com packages.macports.org packages-private.macports.org; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    dig +short "$host" | sed -n '$s/$/ '"$host/p" | sudo tee -a /etc/hosts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Download and install MacPorts built by https://github.com/macports/macports-base/blob/travis-ci/.travis.yml
 OS_MAJOR=$(uname -r | cut -f 1 -d .)
 curl -fsSLO "https://dl.bintray.com/macports-ci-bot/macports-base/2.6r0/MacPorts-${OS_MAJOR}.tar.bz2"
</pre><pre style='margin:0'>

</pre>