diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-12 03:23:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-12 03:23:49 +0700 |
commit | 103db1ac5d16079ead4c3d6e391a6d887255c140 (patch) | |
tree | 37b42abd506ae259adbd6324ef0cd7fd89182060 /libraries/cracklib/cracklib.SlackBuild | |
parent | 0c7092bd8cf0190f2c45c1bfe46c9f9d489e52e3 (diff) | |
download | slackbuilds-103db1ac5d16079ead4c3d6e391a6d887255c140.tar.gz |
libraries/cracklib: Updated for version 2.9.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cracklib/cracklib.SlackBuild')
-rw-r--r-- | libraries/cracklib/cracklib.SlackBuild | 12 |
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 |