]> code.ossystems Code Review - openembedded-core.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:17:38 +0000 (13:17 +0000)
commitca4d0c455525aa775f7fe0531ad0c6f5dcdc32d7
tree383abe5bffb219e86fb9099c493e3a6b3453d3c8
parent7b72b631a8fa52c48375916af0b42340996be8ba
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.

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