diff options
Diffstat (limited to 'meta/recipes-extended/cracklib/cracklib_2.9.1.bb')
-rw-r--r-- | meta/recipes-extended/cracklib/cracklib_2.9.1.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/cracklib/cracklib_2.9.1.bb b/meta/recipes-extended/cracklib/cracklib_2.9.1.bb new file mode 100644 index 0000000000..5e6156f4bd --- /dev/null +++ b/meta/recipes-extended/cracklib/cracklib_2.9.1.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "A pro-active password checker library" +HOMEPAGE = "http://sourceforge.net/projects/cracklib" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" + +DEPENDS = "cracklib-native zlib" +DEPENDS_class-native = "zlib-native" + +EXTRA_OECONF = "--without-python --libdir=${base_libdir}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/cracklib/cracklib-${PV}.tar.gz \ + file://0001-packlib.c-support-dictionary-byte-order-dependent.patch \ + file://0002-craklib-fix-testnum-and-teststr-failed.patch" + +SRC_URI[md5sum] = "90536219c520add2ceb3c26f0d7da404" +SRC_URI[sha256sum] = "408905c2539a97dc8cbbb6d7cd2046cb5647a345b4bda399220d9471be16d156" + +inherit autotools gettext + +BBCLASSEXTEND = "native" + +do_install_append_class-target() { + create-cracklib-dict -o ${D}${datadir}/cracklib/pw_dict ${D}${datadir}/cracklib/cracklib-small +} |