From 266cb650b87a7ee7efd345c730ae253280f52170 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 9 Jan 2017 21:07:13 +0700 Subject: [PATCH] cracklib: Fix cracklib-check. Signed-off-by: Willy Sudiarto Raharjo --- cracklib/cracklib.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cracklib/cracklib.SlackBuild b/cracklib/cracklib.SlackBuild index 426b54b..cee4b5c 100644 --- a/cracklib/cracklib.SlackBuild +++ b/cracklib/cracklib.SlackBuild @@ -32,7 +32,7 @@ PRGNAM=cracklib VERSION=${VERSION:-2.9.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_csb} DICT=${DICT:-cracklib-words-$VERSION} @@ -111,6 +111,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS INSTALL NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* +sh ./util/cracklib-format dicts/cracklib-small \ + | sh ./util/cracklib-packer $PKG/usr/share/cracklib/pw_dict + mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc