diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/cracklib/cracklib.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild index a6ebe7d1c4..5bab9933a9 100644 --- a/libraries/cracklib/cracklib.SlackBuild +++ b/libraries/cracklib/cracklib.SlackBuild @@ -30,14 +30,14 @@ PRGNAM=cracklib VERSION=${VERSION:-2.9.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} DICT=${DICT:-cracklib-words-$VERSION} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -48,8 +48,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mcpu=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mcpu=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -106,6 +106,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 |