Certbot port?

Marius Schamschula lists at schamschula.com
Tue Nov 22 01:03:36 CET 2016


Mike,

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.

See https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile

On Nov 21, 2016, at 5:34 PM, Mike Savory <msavory1 at nzbox.com> wrote:

> Hi Bill
> 
> Looks like the certbot-auto also has some support for Macports
>     curl -O https://dl.eff.org/certbot-auto
> 
> LINE 435:
> 
> BootstrapMac() {
>   if hash brew 2>/dev/null; then
>     echo "Using Homebrew to install dependencies..."
>     pkgman=brew
>     pkgcmd="brew install"
>   elif hash port 2>/dev/null; then
>     echo "Using MacPorts to install dependencies..."
>     pkgman=port
>     pkgcmd="$SUDO port install"
>   else
>     echo "No Homebrew/MacPorts; installing Homebrew..."
>     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
>     pkgman=brew
>     pkgcmd="brew install"
>   fi
> 
> 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.
> https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites
> 
> I'll set up a VM and try it and let you know (don't want to break my main Mac).
> 
> Mike
> 
>> On 22/11/2016, at 10:38 AM, Bill Christensen <billc_lists at greenbuilder.com> wrote:
>> 
>> Any chance of a Certbot port?  https://certbot.eff.org/
>> 
>> They've got an install with Homebrew, but I'd rather do everything with MacPorts.  
>> 
>> (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)
> 

Marius
--
Marius Schamschula




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20161121/6fbc586f/attachment.html>


More information about the macports-users mailing list