<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/4bc88056b8a39eb1b3ca04df8cf574fce7888361">https://github.com/macports/macports-base/commit/4bc88056b8a39eb1b3ca04df8cf574fce7888361</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4bc88056b8a39eb1b3ca04df8cf574fce7888361
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Dec 9 20:22:12 2016 +1100
<span style='display:block; white-space:pre;color:#404040;'> Ignore SSL cert in curl test
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This allows it to work on systems older than 10.6.
</span>---
src/pextlib1.0/tests/curl.tcl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/pextlib1.0/tests/curl.tcl b/src/pextlib1.0/tests/curl.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 39a9815..f91bb3b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/pextlib1.0/tests/curl.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/pextlib1.0/tests/curl.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,19 +9,19 @@ proc main {pextlibname} {
</span>
# download a dummy file over HTTP.
set dummyroot http://svn.macports.org/repository/macports/users/eridius/curltest
<span style='display:block; white-space:pre;background:#ffe0e0;'>- curl fetch $dummyroot/dummy $tempfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ curl fetch --ignore-ssl-cert $dummyroot/dummy $tempfile
</span>
# check the md5 sum of the file.
test {[md5 file $tempfile] == "5421fb0f76c086a1e14bf33d25b292d4"}
# check we indeed get a 404 a dummy file over HTTP.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test {[catch {curl fetch $dummyroot/404 $tempfile}]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test {[catch {curl fetch --ignore-ssl-cert $dummyroot/404 $tempfile}]}
</span>
# check the modification date of the dummy file.
set seconds [clock scan 2007-06-16Z]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test {[curl isnewer $dummyroot/dummy [clock scan 2007-06-16Z]]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test {[curl isnewer --ignore-ssl-cert $dummyroot/dummy [clock scan 2007-06-16Z]]}
</span> set seconds [clock scan 2007-06-17Z]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- test {![curl isnewer $dummyroot/dummy [clock scan 2007-06-17Z]]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test {![curl isnewer --ignore-ssl-cert $dummyroot/dummy [clock scan 2007-06-17Z]]}
</span>
# use --disable-epsv
#curl fetch --disable-epsv ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/archive/netperf-2.2pl5.tar.gz $tempfile
</pre><pre style='margin:0'>
</pre>