[Toybox] [PATCH] wget: add TLS support

Rob Landley rob at landley.net
Wed Oct 20 14:11:23 PDT 2021


On 10/20/21 12:50 PM, enh wrote:
>     general idea. To be honest, making puppy eyes at him to use his work under 0BSD
>     and then cleaning it up to be a proper lib/tls.c that toybox and busybox could
>     share would be good. Busybox already has )
> 
> does that seem likely?

If I ask nicely? I'd give it a 50/50 chance. (I'd also have to get permission
from or clean out the contributions of at least two other people. Minor
bugfixes, but still.)

Part of it is I dunno what he started with, so I dunno if he _can_ give me a
license.

If not, I'm not intimidated by writing my own but it's on the order of writing
bzip2/deflate/sed. (And like _three_ sha3sums glued together.) More than a month
of focus, lots of things before it on the todo list.

> wasn't he the one who moved strace from BSD to GPL so we
> never took another update?

Different guy. Strace is Dmitry Levin at altlinux.ru in Moscow. Denys Vlasenko
is Ukranian and works for Red Hat's Czech office.

>     * wget and curl are semi-interchangeable, but busybox only ever implemented
>     wget. Curl is more a library for programs to link against, with the command line
>     utility sort of an afterthought.
> 
> yeah, libcurl is used for OTAs, but iirc you need to explicitly build in
> external/curl to get a curl binary; it's not available by default. i don't
> remember whether there was a good reason for that, given that test
> infrastructure people have certainly asked for it.

The embedded world standardized on wget because that's what busybox has been
providing for over 20 years. In theory the curl binary is just a reskin of the
same functionality and I could implement both, in practice wget is the one I've
seen call for.

Rob



More information about the Toybox mailing list