]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cracklib: Generate compiled dict using default dictionary
authorColin Walters <walters@verbum.org>
Thu, 7 Mar 2013 23:45:22 +0000 (18:45 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 13:18:23 +0000 (13:18 +0000)
commitfde198b76dd03b09e7d33e37a53310d293d8f259
tree11a32d3348f1947fcd449e6ab7a81d217a5bddee
parent6019a363054b988dff796af3ac728d617adba03a
cracklib: Generate compiled dict using default dictionary

While cracklib compiles, the generated library's FascistCheck() API
will look for the default compiled dictionary, fail to find it, and
invoke exit(1), which then in turn breaks gnome-initial-setup that
uses cracklib via libpwquality.  (Quality here obviously referring to
the password, and not the libraries...)

What we do here is basically the same as what happens in the current
Fedora spec file, except the latter uses a far larger dictionary.

To make this work, we need to build cracklib-native because the
dictionary compiler is written in native code.

(From OE-Core rev: ca4d0c455525aa775f7fe0531ad0c6f5dcdc32d7)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/cracklib/cracklib_2.8.22.bb