wok diff john/receipt @ rev 11957

Up: slitaz-configs (4.8.1)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 01 17:57:06 2012 +0100 (2012-03-01)
parents c34a2d4b16b6
children 3d13d460f4df
line diff
     1.1 --- a/john/receipt	Sun Jun 19 11:36:07 2011 +0000
     1.2 +++ b/john/receipt	Thu Mar 01 17:57:06 2012 +0100
     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