libpwquality: select cracklib
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Jul 2017 16:58:27 +0000 (18:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Jul 2017 19:59:32 +0000 (21:59 +0200)
libpwquality adds cracklib to its _DEPENDENCIES, but forgot to select it in
Config.in, leading to build failures if cracklib isn't explicitly enabled:

Makefile:536: *** cracklib is in the dependency chain of libpwquality that
has added it to its _DEPENDENCIES variable without selecting it or depending
on it from Config.in.  Stop.

No autobuilder references as this error happens before build-time.log is
written, causing the autobuilder to ignore the build result.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpwquality/Config.in

index 4e855254a6bc71641b0a9d4682b1b9f8c8896b6b..23e15157d16bdf5d3fb99240339f9e62d800eb9a 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBPWQUALITY
        bool "libpwquality"
+       select BR2_PACKAGE_CRACKLIB
        help
          This is a library for password quality checks and generation
          of random passwords that pass the checks.  This library uses