From 8222270f011a5929a09391320705fe706b0483c8 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sun, 31 Jul 2016 06:15:51 +0000 Subject: [PATCH] john.paketlendi --- talimatname/genel/john/talimat | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 talimatname/genel/john/talimat diff --git a/talimatname/genel/john/talimat b/talimatname/genel/john/talimat new file mode 100644 index 000000000..ed2c0ed14 --- /dev/null +++ b/talimatname/genel/john/talimat @@ -0,0 +1,28 @@ +# Description: John the Ripper is a fast password cracker +# URL: http://www.openwall.com/john/ +# Packager: milisarge +# Depends on: + +name=john +_version=1.8.0-jumbo-1 +version=1.8.0 +release=1 +source=(http://www.openwall.com/$name/j/$name-$_version.tar.xz) + +build() { + + sed -i 's|/usr/libexec|/usr/lib|g' $name-$_version/src/params.h + + cd $name-$_version/src + + # fix compilation with gcc 5.x + ./configure CFLAGS=-std=gnu89 + + make + + install -d $PKG/usr/bin + install -d $PKG/usr/lib/$name + install -m 755 ../run/* $PKG/usr/lib/$name + echo -e '#!/bin/sh\n/usr/lib/john/john "$@"\n' > $PKG/usr/bin/john + chmod 755 $PKG/usr/bin/john +}