host-mkpasswd: new package
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Wed, 7 Aug 2013 18:01:51 +0000 (20:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Aug 2013 17:49:32 +0000 (19:49 +0200)
commit59e0692095078ec94d85f58e90aee981b5225306
treeb30229820964ce779eaf824f3e27f2996481f899
parentd1808f90378360850831eb9291ef1d799bd41c6a
host-mkpasswd: new package

Since the addition of root password setting support in buildroot, there have
been a few bug reports in this area ([1], [2]). In these cases, the system
mkpasswd did either not work, or did not provide the options we expect, like
-m <method>.

This patch adds a mkpasswd host package, based on the sources from whois. When
a non-empty root password is set, this package is used as a dependency.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[1] http://lists.busybox.net/pipermail/buildroot/2013-July/075771.html
[2] http://lists.busybox.net/pipermail/buildroot/2013-July/075869.html

[Thomas P: use $(INSTALL) instead of install, put -lcrypt at the end
of build command line to allow gcc to find the crypt() function in
lcrypt.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mkpasswd/config.h [new file with mode: 0644]
package/mkpasswd/mkpasswd.c [new file with mode: 0644]
package/mkpasswd/mkpasswd.mk [new file with mode: 0644]
package/mkpasswd/utils.c [new file with mode: 0644]
package/mkpasswd/utils.h [new file with mode: 0644]
support/dependencies/dependencies.sh
system/system.mk