Cracklib does not prepare proper dictionary
The cracklib installation is supposed to create a proper dictionary or at least set a proper dictionary path.
The issue is in the APKBUILD where the parameter "--with-default-dict" is not set correctly.
CURRENT:
./configure
--build=$CBUILD
--host=$CHOST
--prefix=/usr
--sysconfdir=/etc
--mandir=/usr/share/man
--infodir=/usr/share/info
--without-python
--disable-nls
--with-default-dict
CORRECT:
./configure
--build=$CBUILD
--host=$CHOST
--prefix=/usr
--sysconfdir=/etc
--mandir=/usr/share/man
--infodir=/usr/share/info
--without-python
--disable-nls
--with-default-dict=/lib/cracklib/pw_dict
Moreover, the dictionary path (/lib/cracklib) should be created during the package installation