wok diff john/receipt @ rev 11174

cherokee: Forgot logrotate file.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 15:44:21 2011 +0000 (2011-11-02)
parents c61f4a950e53
children b3e1b5b704a0
line diff
     1.1 --- a/john/receipt	Sun Jul 11 09:58:51 2010 +0200
     1.2 +++ b/john/receipt	Wed Nov 02 15:44:21 2011 +0000
     1.3 @@ -8,24 +8,28 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.openwall.com/john/"
     1.6  WGET_URL="${WEB_SITE}g/$TARBALL"
     1.7 -CONFIG_FILES="/etc/john"
     1.8 +CONFIG_FILES="/etc/john/john.conf"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	cd $src/src
    1.14 +	patch -Np0 -i $stuff/params.h.patch
    1.15  	make clean generic
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/sbin $fs/etc/john
    1.22 +	mkdir -p $fs/usr/sbin $fs/etc/john $fs/usr/share/john
    1.23  	cp -a $src/run/john $fs/usr/sbin
    1.24  	cp -a $src/run/mailer $fs/usr/sbin
    1.25  	cp -a $src/run/unafs $fs/usr/sbin
    1.26  	cp -a $src/run/unique $fs/usr/sbin
    1.27  	cp -a $src/run/unshadow $fs/usr/sbin
    1.28 +	cp -a $src/run/*.chr $fs/usr/share/john
    1.29 +	cp -a $src/run/password.lst $fs/usr/share/john
    1.30  	cp $src/run/john.conf $fs/etc/john
    1.31 +	sed -i 's|$JOHN|/usr/share/john|g' $fs/etc/john/john.conf
    1.32  }
    1.33