diff options
Diffstat (limited to 'crypto/john/BUILD')
-rwxr-xr-x | crypto/john/BUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/crypto/john/BUILD b/crypto/john/BUILD new file mode 100755 index 0000000000..c65f553403 --- /dev/null +++ b/crypto/john/BUILD @@ -0,0 +1,25 @@ +( + + cd src + + sedit "s/-c -Wall -O2 -fomit-frame-pointer/-c -Wall $CFLAGS/" Makefile + sedit "s/ -m486//" Makefile + + if grep mmx /proc/cpuinfo > /dev/null + then + make linux-x86-mmx-elf + else + make linux-x86-any-elf + fi && + + prepare_install + +) > $C_FIFO 2>&1 && ( + + cd run + cp -d john mailer unshadow unique unafs /usr/sbin + + mkdir -p /usr/share/john + cp *.chr *.lst *.ini /usr/share/john + +) |