milis/talimatname/genel/j/john/talimat

29 lines
638 B
Plaintext
Raw Normal View History

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
2017-10-28 14:10:23 +02:00
isim=john
_surum=1.8.0-jumbo-1
surum=1.8.0
devir=1
kaynak=(http://www.openwall.com/$isim/j/$isim-$_version.tar.xz)
2016-07-31 08:15:51 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2016-07-31 08:15:51 +02:00
2017-10-28 14:10:23 +02:00
sed -i 's|/usr/libexec|/usr/lib|g' $isim-$_version/src/params.h
2017-01-31 02:35:21 +01:00
2017-10-28 14:10:23 +02:00
cd $isim-$_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
2017-10-28 14:10:23 +02:00
install -d $PKG/usr/lib/$isim
install -m 755 ../run/* $PKG/usr/lib/$isim
2016-07-31 08:15:51 +02:00
echo -e '#!/bin/sh\n/usr/lib/john/john "$@"\n' > $PKG/usr/bin/john
chmod 755 $PKG/usr/bin/john
}