[Toybox] [PATCH] wget: add TLS support

enh enh at google.com
Wed Oct 20 15:13:22 PDT 2021


On Wed, Oct 20, 2021 at 2:11 PM Rob Landley <rob at landley.net> wrote:

> 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.
>

oops! in my defense, i haven't paid any attention to strace in years, and i
guess your frequent busybox references mean that Denys has taken over that
hash bucket in my head!


> >     * 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.
>

isn't the main difference that curl defaults to stdout which is really
really annoying? :-)


> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20211020/72f15bce/attachment-0001.htm>


More information about the Toybox mailing list