diff options
author | Christopher Walker <kris240376@gmail.com> | 2011-12-14 10:30:14 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-18 00:07:48 -0200 |
commit | bfea5d863eb31b253060ea142885865bbaa4a616 (patch) | |
tree | d4f9ec5f98b52e3d7e2d672c651f5151ff2af8cb | |
parent | d62e62736f8914fd2c2651f83c145098c0be6528 (diff) | |
download | slackbuilds-bfea5d863eb31b253060ea142885865bbaa4a616.tar.gz |
libraries/cracklib: Updated for version 2.8.18.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/cracklib/cracklib.SlackBuild | 49 | ||||
-rw-r--r-- | libraries/cracklib/cracklib.info | 6 |
2 files changed, 38 insertions, 17 deletions
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild index 9c8a0df5cf..c05b39b5e9 100644 --- a/libraries/cracklib/cracklib.SlackBuild +++ b/libraries/cracklib/cracklib.SlackBuild @@ -1,21 +1,44 @@ #!/bin/sh # Slackware build script for cracklib -# Written by Christopher Walker <kris240376@gmail.com> + +# Copyright (c) 2011 Chris Walker <kris240376@gmail.com> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following disclaimer +# in the documentation and/or other materials provided with the +# distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cracklib -VERSION=${VERSION:-2.8.13} +VERSION=${VERSION:-2.8.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} DICT=${DICT:-cracklib-words-20080507} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -66,22 +89,20 @@ make make install DESTDIR=$PKG # Install large cracklib dictionary file if it exists -( cd $PKG/usr/share/cracklib - if [ -e $CWD/${DICT}.gz ]; then - zcat $CWD/${DICT}.gz > $PRGNAM-large - elif [ -e $CWD/${DICT} ]; then - cat $CWD/${DICT} > $PRGNAM-large - fi -) +if [ -e $CWD/${DICT}.gz ]; then + zcat $CWD/${DICT}.gz > $PKG/usr/share/cracklib/$PRGNAM-large +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 \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ABOUT-NLS AUTHORS COPYING INSTALL NEWS README* \ - $PKG/usr/doc/$PRGNAM-$VERSION -chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + AUTHORS ChangeLog INSTALL NEWS README* \ + $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/cracklib/cracklib.info b/libraries/cracklib/cracklib.info index 7fadb734c7..3f7fe46421 100644 --- a/libraries/cracklib/cracklib.info +++ b/libraries/cracklib/cracklib.info @@ -1,9 +1,9 @@ PRGNAM="cracklib" -VERSION="2.8.13" +VERSION="2.8.18" HOMEPAGE="http://sourceforge.net/projects/cracklib" -DOWNLOAD="http://downloads.sourceforge.net/cracklib/cracklib-2.8.13.tar.gz \ +DOWNLOAD="http://downloads.sourceforge.net/project/cracklib/cracklib/2.8.18/cracklib-2.8.18.tar.gz \ http://downloads.sourceforge.net/cracklib/cracklib-words-20080507.gz" -MD5SUM="5beb4c6b3c31c83fc98c4c225b25cd94 \ +MD5SUM="79053ad8bc714a44cd660cb12116211b \ 7fa6ba0cd50e7f9ccaf4707c810b14f1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |