diff options
Diffstat (limited to 'system/john/john.SlackBuild')
-rw-r--r-- | system/john/john.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/system/john/john.SlackBuild b/system/john/john.SlackBuild index 1a6178179680b..cfe21faaee437 100644 --- a/system/john/john.SlackBuild +++ b/system/john/john.SlackBuild @@ -14,8 +14,8 @@ # slow hashes. PRGNAM=john -VERSION=${VERSION:-1.8.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.9.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -44,6 +44,8 @@ if [ "$ARCH" = "i486" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then if grep -q ^flags.*avx /proc/cpuinfo; then + TARGET=linux-x86-64-avx2 + elif grep -q ^flags.*avx /proc/cpuinfo; then TARGET=linux-x86-64-avx else TARGET=linux-x86-64 @@ -61,9 +63,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -# Soft-link in tarball causes x bit to be set below; nuke it -rm -f $PRGNAM-$VERSION/README - cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |