summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2010-05-13 00:29:04 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:29:04 +0200
commit9de561d1999da02f43f1f7f0cb5c1655db878874 (patch)
treeb07d746568c01caad67a8f99690ee50a732d72d3
parent8d1154adbf43be8e75311dfa0aa0ce181c848e7c (diff)
downloadslackbuilds-9de561d1999da02f43f1f7f0cb5c1655db878874.tar.gz
libraries/cracklib: Updated for version 2.8.13
-rw-r--r--libraries/cracklib/README3
-rw-r--r--libraries/cracklib/cracklib.SlackBuild8
-rw-r--r--libraries/cracklib/cracklib.info8
3 files changed, 12 insertions, 7 deletions
diff --git a/libraries/cracklib/README b/libraries/cracklib/README
index f9c32adf23..ab5ef98d14 100644
--- a/libraries/cracklib/README
+++ b/libraries/cracklib/README
@@ -9,5 +9,4 @@ An example of its use can be located in the SAMBA examples directory.
The crackcheck program included with SAMBA will use the library to ensure
that the user doesn't pick a weak password.
-A larger dictionary can be found here
-http://downloads.sourceforge.net/cracklib/cracklib-words-20080507.gz
+A larger dictionary is included.
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild
index 2a289ebb4d..4deff1f91c 100644
--- a/libraries/cracklib/cracklib.SlackBuild
+++ b/libraries/cracklib/cracklib.SlackBuild
@@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -39,6 +42,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -65,8 +69,6 @@ make install DESTDIR=$PKG
xargs strip --strip-unneeded 2> /dev/null
)
-#find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ABOUT-NLS AUTHORS COPYING INSTALL NEWS README* \
@@ -77,4 +79,4 @@ mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/cracklib/cracklib.info b/libraries/cracklib/cracklib.info
index 66897084f5..a8e533711f 100644
--- a/libraries/cracklib/cracklib.info
+++ b/libraries/cracklib/cracklib.info
@@ -1,8 +1,12 @@
PRGNAM="cracklib"
VERSION="2.8.13"
HOMEPAGE="http://sourceforge.net/projects/cracklib"
-DOWNLOAD="http://downloads.sourceforge.net/cracklib/cracklib-2.8.13.tar.gz"
-MD5SUM="5beb4c6b3c31c83fc98c4c225b25cd94"
+DOWNLOAD="http://downloads.sourceforge.net/cracklib/cracklib-2.8.13.tar.gz
+ http://downloads.sourceforge.net/cracklib/cracklib-words-20080507.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="5beb4c6b3c31c83fc98c4c225b25cd94
+ 7fa6ba0cd50e7f9ccaf4707c810b14f1"
+MD5SUM_x86_64=""
MAINTAINER="Christopher Walker"
EMAIL="kris240376@gmail.com"
APPROVED="rworkman"