summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cracklib/cracklib
Commit message (Collapse)AuthorAgeFilesLines
* cracklib: Allow byte order patch to work on older Linux hostsMark Hatle2013-05-291-55/+65
| | | | | | | | | | | | Older hosts don't have the htobe* and be*toh functions defined. Instead we fall back to checking the endian and calling bswap_* directly. This works on both old and new hosts. (From OE-Core rev: 52c83ea977b0f95917ec81dff394454e1a9bd541) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* craklib:fix testnum and teststr failedHongxu Jia2013-05-081-0/+53
| | | | | | | | | | | | | | | | | | | | | Error log: ... $ ./testnum (null).pwd.gz: No such file or directory PWOpen: No such file or directory $ ./util/teststr (null).pwd.gz: No such file or directory PWOpen: No such file or directory ... Set DEFAULT_CRACKLIB_DICT as the path of PWOpen (From OE-Core rev: 9c78d2ef5291b29fa313f9d4bf6a81c395207d69) 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>
* cracklib: fix default dictionary should be generated for target endiannessHongxu Jia2013-05-081-0/+322
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>