aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-04-27 19:05:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-08 15:48:10 +0100
commit075d5a19bb56b0bf492e7dc7f453c2e23139104b (patch)
tree79e85abae7c72c85846bef9f7f937163e9a10fd2 /meta/recipes-extended/cracklib/cracklib_2.8.22.bb
parentb60d04331f84e06fae6c074acab045c3e003929b (diff)
downloadopenembedded-core-contrib-075d5a19bb56b0bf492e7dc7f453c2e23139104b.tar.gz
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/cracklib/cracklib_2.8.22.bb')
-rw-r--r--meta/recipes-extended/cracklib/cracklib_2.8.22.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/cracklib/cracklib_2.8.22.bb b/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
index 7e398f4e5c..349c74f7a9 100644
--- a/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
+++ b/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
@@ -10,7 +10,8 @@ PR ="r0"
EXTRA_OECONF = "--without-python"
-SRC_URI = "${SOURCEFORGE_MIRROR}/cracklib/cracklib-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/cracklib/cracklib-${PV}.tar.gz \
+ file://0001-packlib.c-support-dictionary-byte-order-dependent.patch"
SRC_URI[md5sum] = "463177b5c29c7a598c991e12a4898e06"
SRC_URI[sha256sum] = "feaff49bfb513ec10b2618c00d2f7f60776ba93fcc5fa22dd3479dd9cad9f770"