aboutsummaryrefslogtreecommitdiff
path: root/system/john/john.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-12-20 00:10:29 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-20 00:10:29 -0600
commit5baa0033cd0917b99f4e609eebc64c470ee491a0 (patch)
tree3227bf93a325d73d5dfb75d31c73e78084165878 /system/john/john.SlackBuild
parentedd24e87e746a5a027d392979f1fc29edd245986 (diff)
system/john: Updated for version 1.7.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/john/john.SlackBuild')
-rw-r--r--system/john/john.SlackBuild20
1 files changed, 8 insertions, 12 deletions
diff --git a/system/john/john.SlackBuild b/system/john/john.SlackBuild
index 87d2705721c9..5c73e1be2f64 100644
--- a/system/john/john.SlackBuild
+++ b/system/john/john.SlackBuild
@@ -3,17 +3,16 @@
# Slackware build script for John the Ripper
# Written by Murat D. Kadirov <banderols@gmail.com>
-#
-# 20/Nov/2011 * Updated to 1.7.8 and jambo-patch 8
-# Thanks a lot Kent Fritz for patch with many improvements
+# 20/Nov/2011 * Updated for version 1.7.8 and jambo-patch 8
+# Thanks a lot Kent Fritz for patch with many improvements
+# 19/Dec/2011 * Updated for version 1.7.9 and jambo-patch 5
PRGNAM=john
-VERSION=${VERSION:-1.7.8}
+VERSION=${VERSION:-1.7.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-JUMBOVERSION=${JUMBOVERSION:-8}
+JUMBOVERSION=${JUMBOVERSION:-5}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -57,7 +56,7 @@ rm -f $PRGNAM-$VERSION/README
# Apply the Jumbo patch?
if [ "$JUMBO" = "1" ]; then
- zcat $CWD/john-1.7.8-jumbo-${JUMBOVERSION}.diff.gz | patch -p0 || exit 1
+ zcat $CWD/john-$VERSION-jumbo-${JUMBOVERSION}.diff.gz | patch -p0 || exit 1
mv $PRGNAM-$VERSION/README-jumbo $PRGNAM-$VERSION/doc/README-jumbo
fi
@@ -73,9 +72,7 @@ mkdir -p $PKG/usr/share/john
cp -a run/* $PKG/usr/share/john
rm $PKG/usr/share/john/mailer
-#cd src
- make -C src clean $TARGET CFLAGS="-DJOHN_SYSTEMWIDE=1 -c -Wall -O2 -fomit-frame-pointer"
-#cd -
+make -C src clean $TARGET CFLAGS="-DJOHN_SYSTEMWIDE=1 -c -Wall -O2 -fomit-frame-pointer"
# Merge /usr/share/dict/words into password list?
if [ "$MERGEWORDS" = "1" ]; then
@@ -88,8 +85,7 @@ if [ "$MERGEWORDS" = "1" ]; then
fi
mkdir -p $PKG/usr/bin
-cp -a run/$PRGNAM $PKG/usr/bin/$PRGNAM
-cp -a run/mailer $PKG/usr/bin/mailer
+cp -a run/$PRGNAM run/mailer $PKG/usr/bin
ln -s $PRGNAM $PKG/usr/bin/unafs
ln -s $PRGNAM $PKG/usr/bin/unique
ln -s $PRGNAM $PKG/usr/bin/unshadow