[Buildroot] [PATCHv2 proposal/next 2/3] build: replace host-mkpasswd with host-busybox

Yann E. MORIN yann.morin.1998 at free.fr
Tue Jun 5 16:15:46 UTC 2018


Carlos, All,

On 2018-06-05 08:22 -0300, Carlos Santos spake thusly:
> > From: "Arnout Vandecappelle" <arnout at mind.be>
> > To: "Stefan Becker" <chemobejk at gmail.com>, "buildroot" <buildroot at buildroot.org>
> > Cc: "Yann Morin" <yann.morin.1998 at free.fr>, "Thomas Petazzoni" <thomas.petazzoni at bootlin.com>
> > Sent: Monday, June 4, 2018 7:21:10 PM
> > Subject: Re: [Buildroot] [PATCHv2 proposal/next 2/3] build: replace host-mkpasswd with host-busybox
> 
> > On 01-06-18 15:30, Stefan Becker wrote:
> >> host-mkpasswd was a fork from whois to provide a host version of
> >> mkpasswd for the build. This has caused a maintenance headache.
> >> 
> >> Replace it with host-busybox which can provide "mkpasswd" functionality
> >> from own source code. That causes less hassle for different build
> >> platforms.
> > 
> > Just to be clear: does everybody agree that it is a good idea to use
> > weakly-random numbers as salt, rather than real random numbers like whois does?
> 
> Wouldn't it be better to add a host version of the whois package that
> installs mkpasswd, only?

That's what I initially suggested, but whois' mkpasswd uses some
optional glibc features, which have been disabled in some distros,
like Fedora28, which can then no longer build our mkpasswd. And our
own mkasswd is an extract from way back then, when we did not have
the whois package in busybox.

So, switching to host-whois is not an imporovement over the current
situation.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list