All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sørensen, Stefan" <Stefan.Sorensen@spectralink.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] cracklib: New package
Date: Wed, 5 Apr 2017 12:40:02 +0000	[thread overview]
Message-ID: <1491396001.3239.1.camel@spectralink.com> (raw)
In-Reply-To: <20170401231523.70524b90@free-electrons.com>

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

  reply	other threads:[~2017-04-05 12:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09 13:45 [Buildroot] [PATCH 1/4] libscrypt: New package Stefan Sørensen
2017-02-09 13:45 ` [Buildroot] [PATCH 2/4] cracklib: " Stefan Sørensen
2017-04-01 21:15   ` Thomas Petazzoni
2017-04-05 12:40     ` Sørensen, Stefan [this message]
2017-04-05 14:29       ` Thomas Petazzoni
2017-02-09 13:45 ` [Buildroot] [PATCH 3/4] libpwquality: " Stefan Sørensen
2017-04-01 21:21   ` Thomas Petazzoni
2017-02-09 13:45 ` [Buildroot] [PATCH 4/4] DEVELOPERS: Add Stefan Sørensen for cracklib, libpwquality and libscrypt Stefan Sørensen
2017-03-12 22:57 ` [Buildroot] [PATCH 1/4] libscrypt: New package Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491396001.3239.1.camel@spectralink.com \
    --to=stefan.sorensen@spectralink.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.