<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><div dir="ltr"><div class="gmail_default" style="font-family:'arial narrow',sans-serif"><div class="gmail_default">Here; check this out, I wrote a script. I'm sure it could use some improvements, but its pretty solid:</div><div class="gmail_default"><div class="gmail_default"><pre style="margin-top:0px;padding:5px;border:0px;overflow:auto;width:auto;max-height:600px;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;color:rgb(34,36,38)"><div class="gmail_default" style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif;white-space:normal"><font size="1"><span style="color:rgb(34,36,38);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif"><a href="https://raw.githubusercontent.com/tjt263/macports-installer/master/macports-installer.sh">https://raw.githubusercontent.com/tjt263/macports-installer/master/macports-installer.sh</a></span></font></div><div class="gmail_default" style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif;white-space:normal"><div class="gmail_default"></div></div></pre></div></div><div class="gmail_default">The idea was to make installing `MacPorts`; more or less the same as installing `HomeBrew`. -&nbsp;<br></div><div class="gmail_default">Which is really quick &amp; easy, requiring only a single line of code from an end users perspective.</div></div><div class="gmail_default" style="font-family:'arial narrow',sans-serif"><div class="gmail_default"><div>Here is an example scenario:&nbsp;</div></div></div><div class="gmail_default"><div class="gmail_default"><div class="gmail_default" style="font-family: 'arial narrow', sans-serif;"></div><div><div style="font-family: -apple-system-font; color: rgb(0, 0, 0); line-height: 16px;"><div class="gmail_default" style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif"><pre style="margin-top:0px;padding:5px;border:0px;overflow:auto;width:auto;max-height:600px;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;color:rgb(34,36,38)"><a href="http://superuser.com/a/1009536/484402"><font size="1">http://superuser.com/a/1009536/484402</font></a></pre></div></div><div><span style="background-color: rgba(255, 255, 255, 0);">As you can see:</span></div></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:'arial narrow',sans-serif"><div class="gmail_default"><div><div style="color:rgb(0,0,0);font-family:-apple-system-font;line-height:16px"><div style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif"><div class="gmail_default"><div><blockquote type="cite">Installing `HomeBrew` :</blockquote></div></div></div></div></div></div></div></blockquote></blockquote><div class="gmail_default" style="font-family:'arial narrow',sans-serif"><div class="gmail_default"><div><div style="color:rgb(0,0,0);font-family:-apple-system-font;line-height:16px"><div style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif"><div class="gmail_default"><pre style="margin-top:0px;padding:5px;border:0px;overflow:auto;width:auto;max-height:600px;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;color:rgb(34,36,38)"><font size="1">$ ruby -e "$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install">https://raw.githubusercontent.com/Homebrew/install/master/install</a>)"</font></pre></div></div></div></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:'arial narrow',sans-serif"><div class="gmail_default"><div><div style="color:rgb(0,0,0);font-family:-apple-system-font;line-height:16px"><div style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif"><div class="gmail_default"><blockquote type="cite">Installing `MacPorts` :</blockquote></div></div></div></div></div></div></blockquote></blockquote><div class="gmail_default" style="font-family:'arial narrow',sans-serif"><div class="gmail_default"><div style="color:rgb(0,0,0);font-family:-apple-system-font;line-height:16px"><div style="color:rgb(34,34,34);font-family:'arial narrow',sans-serif"><div class="gmail_default"><pre style="margin-top:0px;padding:5px;border:0px;overflow:auto;width:auto;max-height:600px;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;color:rgb(34,36,38)"><font size="1">$ bash &lt;(curl -fsSL "<a href="https://raw.githubusercontent.com/tjt263/macports-installer/master/macports-installer.sh">https://raw.githubusercontent.com/tjt263/macports-installer/master/macports-installer.sh</a>")</font><span style="font-size:13px">
</span></pre><ul style="margin:0px 0px 1em 30px;padding:0px;border:0px;font-size:15px;list-style-position:initial;color:rgb(34,36,38);font-family:Arial,'Helvetica Neue',Helvetica,sans-serif"></ul></div><div class="gmail_default">I understand the potential security implications of piping/redirecting a live, untrusted script directly to the shell via curl.</div><div class="gmail_default"><br></div><div class="gmail_default">However; I don't feel there will be an issue if the script meets QC standards and is hosted on an official/trusted server.</div><div class="gmail_default"><br></div><div class="gmail_default">Above is what I propose we do; then incorporate it as part of the official installation instructions.&nbsp;</div><div class="gmail_default">Thank you for reading.</div></div></div></div></div></div>
</div></body></html>