aboutsummaryrefslogtreecommitdiff
path: root/system/crunch
diff options
context:
space:
mode:
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 eef909b8e7274..d2c6bd644e557 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 041d66d2286da..35c3a036ad0ea 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=""