[Buildroot] [PATCH 2/4] cracklib: New package
Sørensen, Stefan
Stefan.Sorensen at spectralink.com
Wed Apr 5 12:40:02 UTC 2017
On Sat, 2017-04-01 at 23:15 +0200, Thomas Petazzoni wrote:
> +CRACKLIB_INSTALL_STAGING = YES
> > +CRACKLIB_DEPENDENCIES = host-cracklib
> > +ifeq ($(BR2_PACKAGE_CRACKLIB_FULL_DICT),y)
> > +CRACKLIB_EXTRA_DOWNLOADS = cracklib-words-$(CRACKLIB_VERSION).gz
> > +endif
>
> Unfortunately, this full dict thing doesn't work, at install time, I
> see:
>
> cracklib-format /home/thomas/dl/cracklib-words-2.9.6.gz | cracklib-
> packer
> /home/thomas/projets/buildroot/output/target/usr/share/cracklib/pw_di
> ct
> skipping line: 1
> 4 3
>
> and the generated files on the target are really, really small:
>
> -rw-r--r-- 1 thomas thomas 1024 avril 1 23:04
> output/target/usr/share/cracklib/pw_dict.hwm
> -rw-r--r-- 1 thomas thomas 50 avril 1 23:04
> output/target/usr/share/cracklib/pw_dict.pwd
> -rw-r--r-- 1 thomas thomas 16 avril 1 23:04
> output/target/usr/share/cracklib/pw_dict.pwi
>
> Could you have a look into this, and submit an updated version that
> fixes this issue?
I am not able to reproduce this, though I just notices that it uses the
cracklib tools from the PATH, not the ones built in host-cracklib, so
maybe that is what is causing the issue.
I will submit new patches with this and the other issues you mentioned
fixed.
Stefan
More information about the buildroot
mailing list