[LEDE-DEV] [PATCH] prereq-mk: Change wget dependency to curl one.

Michelle Sullivan michelle at sorbs.net
Sat Mar 10 15:11:28 PST 2018


I'm going to wade in here as an 'outsider' as it were... and +1 to wget.

Bjørn Mork wrote:
> Rosen Penev <rosenp at gmail.com> writes:
>> On Sat, Mar 10, 2018 at 3:31 AM, Bjørn Mork <bjorn at mork.no> wrote:
>>> Rosen Penev <rosenp at gmail.com> writes:
>>>
>>>> curl is more common than GNU wget is.
>>> No.
>> Yes.

That shouldn't matter either way - both are available.

> How about throwing in an actual argument why you think it is?  Or why it
> makes curl a better choice than e.g. firefox, which also is quite
> popular on the example systems you've mentioned.

100% valid point... how about lynx instead? :P

>>>> For example, Cygwin, Arch Linux, and my android phone all come with
>>>> curl by default whereas wget is missing.
>>> wget has priority "important" in Debian, while curl is "optional".
>>>
>>> I don't think it makes much sense to tune the installation system for
>>> some weird distros no one actually use to build OpenWrt.
>> Arch Linux is what I use to build OpenWrt.
> OK, one user then.

:)

>> I've already made my case that curl is more common.
> No you have not.  You have made an unsubstantiated claim. Please fix
> the Arch Linux defaults instead if this is a problem for you.
>

As someone that still has a Slackware 1.0 disk I've been around for a 
while.  Most of my systems are BSD based now so I have 'fetch' which has 
a functionality similar to wget, the non BSD based stuff is debian and 
centos (the latter of which I'm trying to dump with a vengeance.)  I 
also install wget (not curl) where I need something extra mainly because 
of the default dependency list and that implies a lighter weight.  
Personally I like fetch and wget because you drop the command and url 
and you get a file, curl you have to switch or pipe to get a file... 
just laziness for me.  Both are as good as each other in the long run, 
but I do believe unless there is any compelling reason why like security 
issues or something available using curl that is not available in wget - 
*that is required for building* - leave it the hell alone!

Regards,

Michelle

-- 
Michelle Sullivan
http://www.mhix.org/




More information about the Lede-dev mailing list