[Toybox] [PATCH] wget: add TLS support

Rob Landley rob at landley.net
Mon Oct 18 17:21:51 PDT 2021


On 10/18/21 4:22 AM, Eric Molitor wrote:
> Updated patch including make.sh.
> 
> On Alpine to build install libretls-dev which should pull in the dependencies.
> For my embedded builds I manually build BearSSL and
> https://github.com/michaelforney/libtls-bearssl
> <https://github.com/michaelforney/libtls-bearssl> adding appropriate -L flags in
> LDFLAGS. I've also tested that it works with libtls+libressl. The existing wget
> toy is broken in a few ways in how it handles the HTTP protocol, as an example
> github wont work. I'll refactor how the toy handles headers to fix that in the
> near future.
> 
> Rob, do you still prefer email patches? I can also push these to github if you
> so desire but this patch is based on your local git so should cleanly apply.

I prefer "git format-patch -1 $COMMIT" patches I can apply with "git am". That
way I get the attribution right and your commit comment naturally.

Thanks,

Rob



More information about the Toybox mailing list