wok-next annotate john/receipt @ rev 10914

evince: update bbeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 02 08:40:59 2011 +0200 (2011-08-02)
parents c61f4a950e53
children b3e1b5b704a0
rev   line source
pascal@2172 1 # SliTaz package receipt.
pascal@2172 2
pascal@2172 3 PACKAGE="john"
pascal@5785 4 VERSION="1.7.6"
pascal@2172 5 CATEGORY="system-tools"
pascal@2172 6 SHORT_DESC="Fast password cracker."
pascal@2172 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2172 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@2172 9 WEB_SITE="http://www.openwall.com/john/"
pascal@2172 10 WGET_URL="${WEB_SITE}g/$TARBALL"
slaxemulator@10867 11 CONFIG_FILES="/etc/john/john.conf"
pascal@2172 12
pascal@2172 13 # Rules to configure and make the package.
pascal@2172 14 compile_rules()
pascal@2172 15 {
pascal@2172 16 cd $src/src
slaxemulator@10867 17 patch -Np0 -i $stuff/params.h.patch
pascal@2172 18 make clean generic
pascal@2172 19 }
pascal@2172 20
pascal@2172 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2172 22 genpkg_rules()
pascal@2172 23 {
slaxemulator@10867 24 mkdir -p $fs/usr/sbin $fs/etc/john $fs/usr/share/john
pascal@2172 25 cp -a $src/run/john $fs/usr/sbin
pascal@2172 26 cp -a $src/run/mailer $fs/usr/sbin
pascal@2172 27 cp -a $src/run/unafs $fs/usr/sbin
pascal@2172 28 cp -a $src/run/unique $fs/usr/sbin
pascal@2172 29 cp -a $src/run/unshadow $fs/usr/sbin
slaxemulator@10867 30 cp -a $src/run/*.chr $fs/usr/share/john
slaxemulator@10867 31 cp -a $src/run/password.lst $fs/usr/share/john
pascal@2172 32 cp $src/run/john.conf $fs/etc/john
slaxemulator@10867 33 sed -i 's|$JOHN|/usr/share/john|g' $fs/etc/john/john.conf
pascal@2172 34 }
pascal@2172 35