milis/talimatname/genel/j/john/talimat

30 lines
650 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: John the Ripper hızlı bir şifre kırma yazılımıdır
# URL: http://www.openwall.com/john/
# Paketçi: milisarge
# Gerekler:
2018-08-08 14:24:17 +02:00
# Grup: güvenlik
2018-06-09 00:06:58 +02:00
isim=john
_surum=1.8.0-jumbo-1
surum=1.8.0
devir=1
2018-08-08 14:24:17 +02:00
kaynak=(http://www.openwall.com/$isim/j/$isim-$_surum.tar.xz)
2018-06-09 00:06:58 +02:00
derle() {
2018-08-08 14:24:17 +02:00
sed -i 's|/usr/libexec|/usr/lib|g' $isim-$_surum/src/params.h
2018-06-09 00:06:58 +02:00
2018-08-08 14:24:17 +02:00
cd $isim-$_surum/src
2018-06-09 00:06:58 +02:00
# fix compilation with gcc 5.x
./configure CFLAGS=-std=gnu89
make
install -d $PKG/usr/bin
install -d $PKG/usr/lib/$isim
install -m 755 ../run/* $PKG/usr/lib/$isim
echo -e '#!/bin/sh\n/usr/lib/john/john "$@"\n' > $PKG/usr/bin/john
chmod 755 $PKG/usr/bin/john
}