2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: John the Ripper hızlı bir şifre kırma yazılımıdır
|
2017-01-31 02:35:21 +01:00
|
|
|
|
# URL: http://www.openwall.com/john/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2016-07-31 08:15:51 +02:00
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-07-31 08:15:51 +02:00
|
|
|
|
|
|
|
|
|
sed -i 's|/usr/libexec|/usr/lib|g' $name-$_version/src/params.h
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-07-31 08:15:51 +02:00
|
|
|
|
cd $name-$_version/src
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-07-31 08:15:51 +02:00
|
|
|
|
# fix compilation with gcc 5.x
|
|
|
|
|
./configure CFLAGS=-std=gnu89
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-07-31 08:15:51 +02:00
|
|
|
|
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
|
|
|
|
|
}
|