summaryrefslogtreecommitdiff
path: root/libraries/cracklib/cracklib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/cracklib/cracklib.SlackBuild')
-rw-r--r--libraries/cracklib/cracklib.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild
index c065f5149d..a6ebe7d1c4 100644
--- a/libraries/cracklib/cracklib.SlackBuild
+++ b/libraries/cracklib/cracklib.SlackBuild
@@ -29,11 +29,11 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cracklib
-VERSION=${VERSION:-2.8.22}
+VERSION=${VERSION:-2.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-DICT=${DICT:-cracklib-words-20080507}
+DICT=${DICT:-cracklib-words-$VERSION}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -75,7 +75,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -99,13 +99,11 @@ elif [ -e $CWD/${DICT} ]; then
cat $CWD/${DICT} > $PKG/usr/share/cracklib/$PRGNAM-large
fi
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog 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/*
mkdir $PKG/install