cracklib: Fix cracklib-check.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-01-09 21:07:13 +07:00
parent 50278ff4f8
commit 266cb650b8
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -32,7 +32,7 @@
PRGNAM=cracklib PRGNAM=cracklib
VERSION=${VERSION:-2.9.6} VERSION=${VERSION:-2.9.6}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_csb} TAG=${TAG:-_csb}
DICT=${DICT:-cracklib-words-$VERSION} 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 cp -a AUTHORS INSTALL NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $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 mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc