wok-4.x rev 11197

Up: john to 1.7.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 03 03:23:21 2011 +0000 (2011-11-03)
parents 35c7529f1297
children 243c00e55fbc
files john/receipt
line diff
     1.1 --- a/john/receipt	Thu Nov 03 03:22:46 2011 +0000
     1.2 +++ b/john/receipt	Thu Nov 03 03:23:21 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="john"
     1.7 -VERSION="1.7.6"
     1.8 +VERSION="1.7.8"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Fast password cracker."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,11 +10,22 @@
    1.13  WGET_URL="${WEB_SITE}g/$TARBALL"
    1.14  CONFIG_FILES="/etc/john/john.conf"
    1.15  
    1.16 +DEPENDS="openssl libdes"
    1.17 +BUILD_DEPENDS="libdes-dev openssl-dev"
    1.18 +
    1.19 +PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz"
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 +	cd $src
    1.25 +	[ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
    1.26 +		wget -P $SOURCES_REPOSITORY $PATCH
    1.27 +	zcat $SRC/$(basename $PATCH) | patch -p1
    1.28  	cd $src/src
    1.29  	patch -Np0 -i $stuff/params.h.patch
    1.30 +	sed -i 's|LIBS = -ldes|LIBS = -ldes -Ldes|' Makefile
    1.31 +	sed -i "s|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=$ARCH -DJOHN_SYSTEMWIDE=1|" Makefile
    1.32  	make clean generic
    1.33  }
    1.34