diff options
Diffstat (limited to 'meta/recipes-extended/cracklib/cracklib_2.9.11.bb')
-rw-r--r-- | meta/recipes-extended/cracklib/cracklib_2.9.11.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/cracklib/cracklib_2.9.11.bb b/meta/recipes-extended/cracklib/cracklib_2.9.11.bb new file mode 100644 index 0000000000..34ef2b65a1 --- /dev/null +++ b/meta/recipes-extended/cracklib/cracklib_2.9.11.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Password strength checker library" | ||
2 | HOMEPAGE = "https://github.com/cracklib/cracklib" | ||
3 | DESCRIPTION = "${SUMMARY}" | ||
4 | |||
5 | LICENSE = "LGPL-2.1-or-later" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" | ||
7 | |||
8 | DEPENDS = "cracklib-native zlib" | ||
9 | |||
10 | EXTRA_OECONF = "--without-python --libdir=${base_libdir}" | ||
11 | |||
12 | SRC_URI = "git://github.com/cracklib/cracklib;protocol=https;branch=main \ | ||
13 | file://0001-packlib.c-support-dictionary-byte-order-dependent.patch \ | ||
14 | " | ||
15 | |||
16 | SRCREV = "4cf5125250c6325ef0a2dc085eabff875227edc3" | ||
17 | S = "${WORKDIR}/git/src" | ||
18 | |||
19 | inherit autotools gettext | ||
20 | |||
21 | # This is custom stuff from upstream's autogen.sh | ||
22 | do_configure:prepend() { | ||
23 | mkdir -p ${S}/m4 | ||
24 | echo EXTRA_DIST = *.m4 > ${S}/m4/Makefile.am | ||
25 | touch ${S}/ABOUT-NLS | ||
26 | } | ||
27 | |||
28 | do_install:append:class-target() { | ||
29 | create-cracklib-dict -o ${D}${datadir}/cracklib/pw_dict ${D}${datadir}/cracklib/cracklib-small | ||
30 | } | ||
31 | |||
32 | BBCLASSEXTEND = "native nativesdk" | ||
33 | |||