<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333333">
<p>Thanks Ken…</p>
<p>It was something like that I had in mind - putting curl/openssl
in a separate folder.</p>
<p>I'm all for #51516 // …and that is also how the FAQ describes it
(<a href="https://trac.macports.org/wiki/FAQ#syslibs">FAQ#syslibs</a>)
:)<br>
</p>
<p><br>
</p>
<p>
<blockquote type="cite">
<div class="">Keep your wits about you when updating the
bootstrap installation. You have to unset your PATH from
/opt/local/bin first or you can call the wrong setup apps.</div>
<div class=""><br class="">
</div>
<div class="">Never run “sudo port selfupdate”. Only run “sudo
port -v sync” or you risk blowing your installation apart when
MacPorts tries to selfupdate itself. Most of the install
options are lost with every update, so you have to redo them
each time manually.</div>
</blockquote>
That answer the other question I had. Thanks! <br>
</p>
<p>· Eric<br>
</p>
<p><br>
</p>
On 1/15/19 8:44 , Ken Cunningham wrote:<br>
<blockquote
cite="mid:2793AD53-6134-4849-B8AD-E5F3D4BDC6BF@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
It is rather difficult to install libcurl with all it’s
dependencies and certificates and keep it up to date with current
security outside of Macports.
<div class=""><br class="">
</div>
<div class="">I suggest you use the method outlined in the
referenced ticket <<a moz-do-not-send="true"
href="https://trac.macports.org/ticket/51516" class="">https://trac.macports.org/ticket/51516</a>> </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">it takes 10 minutes or so to install a MacPorts
setup into /opt/bootstrap, like this:</div>
<div class=""><br class="">
</div>
<div class="">./configure —prefix=/opt/bootstrap
—with-applications-dir=/opt/bootstrap/Applications
—without-startupitems</div>
<div class="">make && sudo make install</div>
<div class=""><br class="">
</div>
<div class="">and install curl on that.</div>
<div class=""><br class="">
</div>
<div class="">/opt/bootstrap/bin/port -v sync</div>
<div class="">/opt/bootstrap/bin/port -v -N install curl</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Then install Macports into /opt/local as usual,
referencing that curlprefix:</div>
<div class=""><br class="">
</div>
<div class="">./configure —with-curlprefix=/opt/bootstrap</div>
<div class="">make && sudo make install</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">then setup your PATH to include /opt/local/bin</div>
<div class=""><br class="">
</div>
<div class="">and away you go. No more downloading issues.</div>
<div class=""><br class="">
</div>
<div class="">I have done this on every system I own 10.4 to 10.9
for years now.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Keep your wits about you when updating the
bootstrap installation. You have to unset your PATH from
/opt/local/bin first or you can call the wrong setup apps.</div>
<div class=""><br class="">
</div>
<div class="">Never run “sudo port selfupdate”. Only run “sudo
port -v sync” or you risk blowing your installation apart when
MacPorts tries to selfupdate itself. Most of the install
options are lost with every update, so you have to redo them
each time manually.</div>
<div class=""><br class="">
</div>
<div class="">When you want to upgrade MacPorts, you have to do
it manually from source, first /opt/bootstrap, then update the
ports in that, and then /opt/local, and update the ports in
that.</div>
</div>
<div class=""><br class="">
</div>
<div class="">At some point, we will have trouble installing a new
MacPorts installation into /opt/bootstrap I suspect, as getting
bootstrapped will be difficult or tricky eventually.</div>
<div class=""><br class="">
</div>
<div class="">Better off to do it now, I’d say, while it still
works easily.</div>
<div class=""><br class="">
</div>
<div class="">Ken</div>
</blockquote>
</body>
</html>