talimat 651 B

1234567891011121314151617181920212223242526272829
  1. # Description: John the Ripper hızlı bir şifre kırma yazılımıdır
  2. # URL: http://www.openwall.com/john/
  3. # Packager: milisarge
  4. # Depends on:
  5. name=john
  6. _version=1.8.0-jumbo-1
  7. version=1.8.0
  8. release=1
  9. source=(http://www.openwall.com/$name/j/$name-$_version.tar.xz)
  10. build() {
  11. sed -i 's|/usr/libexec|/usr/lib|g' $name-$_version/src/params.h
  12. cd $name-$_version/src
  13. # fix compilation with gcc 5.x
  14. ./configure CFLAGS=-std=gnu89
  15. make
  16. install -d $PKG/usr/bin
  17. install -d $PKG/usr/lib/$name
  18. install -m 755 ../run/* $PKG/usr/lib/$name
  19. echo -e '#!/bin/sh\n/usr/lib/john/john "$@"\n' > $PKG/usr/bin/john
  20. chmod 755 $PKG/usr/bin/john
  21. }