cracklib: fix default dictionary should be generated for target endianness
authorHongxu Jia <hongxu.jia@windriver.com>
Sat, 27 Apr 2013 11:05:26 +0000 (19:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2013 14:50:15 +0000 (15:50 +0100)
commit12ccda3d189d525179776ed2af520fbd29411d71
treeb6e645ba66a3a7bca7af4b04f5db53eed0f1d34e
parentf818b72da4e89aa763137acfc946bb165cef3cb2
cracklib: fix default dictionary should be generated for target endianness

The previous dict files are NOT byte-order independent, in fact they are
probably ARCHITECTURE SPECIFIC.
Create the dict files in big endian, and convert to host endian while
load them. This could fix the endian issue on multiple platform.

[Bug #4419]

(From OE-Core rev: 075d5a19bb56b0bf492e7dc7f453c2e23139104b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch [new file with mode: 0644]
meta/recipes-extended/cracklib/cracklib_2.8.22.bb