wok rev 21084
updated john (1.7.8 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 14:28:58 2019 +0100 (2019-03-15) |
parents | 215a6ab0a079 |
children | a6fa927ea46f |
files | john/receipt |
line diff
1.1 --- a/john/receipt Fri Mar 15 13:54:40 2019 +0100 1.2 +++ b/john/receipt Fri Mar 15 14:28:58 2019 +0100 1.3 @@ -1,50 +1,57 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="john" 1.7 -VERSION="1.7.8" 1.8 +VERSION="1.8.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Fast password cracker." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 -WEB_SITE="http://www.openwall.com/john/" 1.15 -WGET_URL="${WEB_SITE}g/$TARBALL" 1.16 +WEB_SITE="https://www.openwall.com/john/" 1.17 + 1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 +WGET_URL="${WEB_SITE}j/$TARBALL" 1.20 + 1.21 +DEPENDS="libdes openssl" 1.22 +BUILD_DEPENDS="libdes-dev openssl-dev" 1.23 CONFIG_FILES="/etc/john/john.conf" 1.24 1.25 -DEPENDS="openssl libdes" 1.26 -BUILD_DEPENDS="libdes-dev openssl-dev" 1.27 - 1.28 -PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz" 1.29 -EXTRA_SOURCE_FILES="$PATCH" 1.30 +#PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz" 1.31 +#EXTRA_SOURCE_FILES="$PATCH" 1.32 1.33 # Rules to configure and make the package. 1.34 compile_rules() 1.35 { 1.36 - cd $src 1.37 - [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || 1.38 - wget -P $SOURCES_REPOSITORY $PATCH 1.39 - zcat $SRC/$(basename $PATCH) | patch -p1 1.40 +# cd $src 1.41 +# [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || 1.42 +# wget -P $SOURCES_REPOSITORY $PATCH 1.43 +# zcat $SRC/$(basename $PATCH) | patch -p1 1.44 + 1.45 cd $src/src 1.46 patch -Np0 -i $stuff/params.h.patch 1.47 - sed -i 's|LIBS = -ldes|LIBS = -ldes -Ldes|' Makefile 1.48 +# sed -i 's|LIBS = -ldes|LIBS = -ldes -Ldes|' Makefile 1.49 sed -i "s|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=$ARCH -DJOHN_SYSTEMWIDE=1|" Makefile 1.50 + 1.51 make clean generic 1.52 } 1.53 1.54 # Rules to gen a SliTaz package suitable for Tazpkg. 1.55 genpkg_rules() 1.56 { 1.57 - mkdir -p $fs/usr/sbin $fs/etc/john $fs/usr/share/john 1.58 - cp -a $src/run/john $fs/usr/sbin 1.59 - cp -a $src/run/mailer $fs/usr/sbin 1.60 - cp -a $src/run/unafs $fs/usr/sbin 1.61 - cp -a $src/run/unique $fs/usr/sbin 1.62 - cp -a $src/run/unshadow $fs/usr/sbin 1.63 - cp -a $src/run/*.chr $fs/usr/share/john 1.64 - cp -a $src/run/dumb??.conf $fs/usr/share/john 1.65 - cp -a $src/run/generic.conf $fs/usr/share/john 1.66 - cp -a $src/run/password.lst $fs/usr/share/john 1.67 - cp $src/run/john.conf $fs/etc/john 1.68 + mkdir -p \ 1.69 + $fs/usr/sbin \ 1.70 + $fs/etc/john \ 1.71 + $fs/usr/share/john 1.72 + 1.73 + cp -a $src/run/john $fs/usr/sbin 1.74 + cp -a $src/run/mailer $fs/usr/sbin 1.75 + cp -a $src/run/unafs $fs/usr/sbin 1.76 + cp -a $src/run/unique $fs/usr/sbin 1.77 + cp -a $src/run/unshadow $fs/usr/sbin 1.78 + cp -a $src/run/*.chr $fs/usr/share/john 1.79 + cp -a $src/run/dumb??.conf $fs/usr/share/john 1.80 + cp -a $src/run/generic.conf $fs/usr/share/john 1.81 + cp -a $src/run/password.lst $fs/usr/share/john 1.82 + cp $src/run/john.conf $fs/etc/john 1.83 + 1.84 sed -i 's|$JOHN|/usr/share/john|g' $fs/etc/john/john.conf 1.85 } 1.86 -