<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Mike,<div><br></div><div>I have py-certbot installed locally, using MacPorts for all prerequisites as well. I haven’t uploaded it to the macports-ports repository, as I no longer have a web server running macOS, so I have not tested most current versions.</div><div><br></div><div>See <a href="https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile">https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile</a></div><div><br></div><div><div><div>On Nov 21, 2016, at 5:34 PM, Mike Savory <<a href="mailto:msavory1@nzbox.com">msavory1@nzbox.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Bill<div class=""><br class=""></div><div class="">Looks like the certbot-auto also has some support for Macports</div><div class=""><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    curl -O <a href="https://dl.eff.org/certbot-auto" class="">https://dl.eff.org/certbot-auto</a></span></div></div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div class="">LINE 435:</div><div class=""><br class=""></div><div class=""><div class="">BootstrapMac() {</div><div class="">  if hash brew 2>/dev/null; then</div><div class="">    echo "Using Homebrew to install dependencies..."</div><div class="">    pkgman=brew</div><div class="">    pkgcmd="brew install"</div><div class="">  elif hash port 2>/dev/null; then</div><div class="">    echo "Using MacPorts to install dependencies..."</div><div class="">    pkgman=port</div><div class="">    pkgcmd="$SUDO port install"</div><div class="">  else</div><div class="">    echo "No Homebrew/MacPorts; installing Homebrew..."</div><div class="">    ruby -e "$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install" class="">https://raw.githubusercontent.com/Homebrew/install/master/install</a>)"</div><div class="">    pkgman=brew</div><div class="">    pkgcmd="brew install"</div><div class="">  fi</div><div class=""><br class=""></div><div class="">Although it looks like it insists on setting up a python virtualenv for you. and then pulls in python dependancies with pip, which is not the normal macports way.</div><div class=""><a href="https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites" class="">https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites</a></div><div class=""><br class=""></div><div class="">I'll set up a VM and try it and let you know (don't want to break my main Mac).</div><div class=""><br class=""></div><div class="">Mike</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 22/11/2016, at 10:38 AM, Bill Christensen <<a href="mailto:billc_lists@greenbuilder.com" class="">billc_lists@greenbuilder.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Any chance of a Certbot port?  <a href="https://certbot.eff.org/" class="">https://certbot.eff.org/</a><div class=""><br class=""></div><div class="">They've got an install with Homebrew, but I'd rather do everything with MacPorts.  </div><div class=""><br class=""></div><div class="">(yeah, I know, I could learn to build ports myself and become the maintainer.  And maybe I will at some point, but not right now)</div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br><div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Marius</div><div>--</div><div>Marius Schamschula</div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<br></div></body></html>