blob: 9cdb71f1a1af6a2d95cb3d41b8639d348112439f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Password strength checker library"
Andrew Geissler95ac1b82021-03-31 14:34:31 -05002HOMEPAGE = "https://github.com/cracklib/cracklib"
3DESCRIPTION = "${SUMMARY}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
7
Patrick Williamsc0f7c042017-02-23 20:41:17 -06008DEPENDS = "cracklib-native zlib"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010EXTRA_OECONF = "--without-python --libdir=${base_libdir}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
12SRC_URI = "${SOURCEFORGE_MIRROR}/cracklib/cracklib-${PV}.tar.gz \
13 file://0001-packlib.c-support-dictionary-byte-order-dependent.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060014 file://0001-Apply-patch-to-fix-CVE-2016-6318.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015 file://0002-craklib-fix-testnum-and-teststr-failed.patch"
16
17SRC_URI[md5sum] = "376790a95c1fb645e59e6e9803c78582"
18SRC_URI[sha256sum] = "59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33"
19
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/cracklib/files/cracklib/"
21UPSTREAM_CHECK_REGEX = "/cracklib/(?P<pver>(\d+[\.\-_]*)+)/"
22
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023inherit autotools gettext
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024
25do_install_append_class-target() {
26 create-cracklib-dict -o ${D}${datadir}/cracklib/pw_dict ${D}${datadir}/cracklib/cracklib-small
27}
28
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029BBCLASSEXTEND = "native nativesdk"
30