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