blob: 82995219dc34973f29ae6f7de7fb0a50d1b0492a [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Password strength checker library"
2HOMEPAGE = "http://sourceforge.net/projects/cracklib"
3
4LICENSE = "LGPLv2.1+"
5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
6
Patrick Williamsc0f7c042017-02-23 20:41:17 -06007DEPENDS = "cracklib-native zlib"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
Patrick Williamsc0f7c042017-02-23 20:41:17 -06009EXTRA_OECONF = "--without-python --libdir=${base_libdir}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010
11SRC_URI = "${SOURCEFORGE_MIRROR}/cracklib/cracklib-${PV}.tar.gz \
12 file://0001-packlib.c-support-dictionary-byte-order-dependent.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013 file://0001-Apply-patch-to-fix-CVE-2016-6318.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014 file://0002-craklib-fix-testnum-and-teststr-failed.patch"
15
16SRC_URI[md5sum] = "376790a95c1fb645e59e6e9803c78582"
17SRC_URI[sha256sum] = "59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33"
18
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/cracklib/files/cracklib/"
20UPSTREAM_CHECK_REGEX = "/cracklib/(?P<pver>(\d+[\.\-_]*)+)/"
21
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022inherit autotools gettext
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023
24do_install_append_class-target() {
25 create-cracklib-dict -o ${D}${datadir}/cracklib/pw_dict ${D}${datadir}/cracklib/cracklib-small
26}
27
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028BBCLASSEXTEND = "native nativesdk"
29