summaryrefslogtreecommitdiff
path: root/system/crunch
diff options
context:
space:
mode:
authorVladimir Yatsemirski <7catssmile@gmail.com>2014-05-04 19:10:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-04 19:10:52 +0700
commitc0c4251ea129af65efc03e32aeda2c6176010be5 (patch)
tree0dcec6a1146cf28b827957262dd782d12359ca45 /system/crunch
parent2f39dd696f935ea5a0fb34b91a86cdc3a60458e9 (diff)
downloadslackbuilds-c0c4251ea129af65efc03e32aeda2c6176010be5.tar.gz
system/crunch: Updated for version 3.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/crunch')
-rw-r--r--system/crunch/crunch.SlackBuild18
-rw-r--r--system/crunch/crunch.info6
2 files changed, 10 insertions, 14 deletions
diff --git a/system/crunch/crunch.SlackBuild b/system/crunch/crunch.SlackBuild
index eef909b8e7..d2c6bd644e 100644
--- a/system/crunch/crunch.SlackBuild
+++ b/system/crunch/crunch.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for crunch
-# Copyright 2013 Vladimir Yatsemirski <7catssmile@gmail.com>
+# Copyright 2013-2014 Vladimir Yatsemirski <7catssmile@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=crunch
-VERSION=${VERSION:-3.4}
+VERSION=${VERSION:-3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,13 +64,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
make
-make install PREFIX=$PKG/usr MANDIR=$\(PREFIX\)/man/man1 BTBINDIR=$\(PREFIX\)/bin
+make install PREFIX=$PKG/usr MANDIR=$\(PREFIX\)/man/man1 DOCDIR=$\(PREFIX\)/doc/$PRGNAM-$VERSION
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
@@ -79,10 +79,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/bin/GPL.TXT $PKG/usr/bin/charset.lst $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- Makefile \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/crunch/crunch.info b/system/crunch/crunch.info
index 041d66d228..35c3a036ad 100644
--- a/system/crunch/crunch.info
+++ b/system/crunch/crunch.info
@@ -1,8 +1,8 @@
PRGNAM="crunch"
-VERSION="3.4"
+VERSION="3.5"
HOMEPAGE="http://crunch-wordlist.sourceforge.net/"
-DOWNLOAD="http://download.sourceforge.net/crunch-wordlist/crunch-3.4.tgz"
-MD5SUM="3f658a60d8227025df12cfb4ff4b9e15"
+DOWNLOAD="http://switch.dl.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.5.tgz"
+MD5SUM="b4b1e3e348f073355a0683cd85cca838"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""