aboutsummaryrefslogtreecommitdiff
path: root/libraries/cracklib
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 03:23:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 03:23:49 +0700
commit103db1ac5d16079ead4c3d6e391a6d887255c140 (patch)
tree37b42abd506ae259adbd6324ef0cd7fd89182060 /libraries/cracklib
parent0c7092bd8cf0190f2c45c1bfe46c9f9d489e52e3 (diff)
libraries/cracklib: Updated for version 2.9.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cracklib')
-rw-r--r--libraries/cracklib/cracklib.SlackBuild12
-rw-r--r--libraries/cracklib/cracklib.info12
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild
index c065f5149da1..a6ebe7d1c448 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
diff --git a/libraries/cracklib/cracklib.info b/libraries/cracklib/cracklib.info
index 1fe3115f4677..22092db32c3c 100644
--- a/libraries/cracklib/cracklib.info
+++ b/libraries/cracklib/cracklib.info
@@ -1,10 +1,10 @@
PRGNAM="cracklib"
-VERSION="2.8.22"
-HOMEPAGE="http://sourceforge.net/projects/cracklib"
-DOWNLOAD="http://downloads.sourceforge.net/project/cracklib/cracklib/2.8.22/cracklib-2.8.22.tar.gz \
- http://downloads.sourceforge.net/cracklib/cracklib-words-20080507.gz"
-MD5SUM="463177b5c29c7a598c991e12a4898e06 \
- 7fa6ba0cd50e7f9ccaf4707c810b14f1"
+VERSION="2.9.6"
+HOMEPAGE="https://github.com/cracklib/cracklib"
+DOWNLOAD="https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/cracklib-2.9.6.tar.gz \
+ https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/cracklib-words-2.9.6.gz"
+MD5SUM="c52f463585d85924b28cdc1e373ae06d \
+ cae1257e3a9f95c917cc9dbbab852316"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""