libraries/cracklib: Updated for version 2.8.13

This commit is contained in:
Christopher Walker 2010-05-13 00:29:04 +02:00 committed by Robby Workman
parent 8d1154adbf
commit 9de561d199
3 changed files with 12 additions and 7 deletions

View file

@ -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.

View file

@ -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}

View file

@ -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"