diff options
author | root <root@rshg047.dnsready.net> | 2011-07-25 23:17:16 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-25 23:17:16 +0000 |
commit | 1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (patch) | |
tree | cb6d8e0d281eb0244b2f40ea9513a312584b43bc /community/john | |
parent | c52a1a6eb4ad278a7b6d9eeeb9c7c88f73ca8d8c (diff) |
Mon Jul 25 23:17:16 UTC 2011
Diffstat (limited to 'community/john')
-rw-r--r-- | community/john/PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD index 9be4ef135..cd8f7c0b9 100644 --- a/community/john/PKGBUILD +++ b/community/john/PKGBUILD @@ -6,8 +6,8 @@ pkgname=john pkgver=1.7.8 -pkgrel=1 -_jumbover=2 +pkgrel=2 +_jumbover=4 pkgdesc="John The Ripper - A fast password cracker (jumbo-$_jumbover included)" arch=('i686' 'x86_64') url="http://www.openwall.com/$pkgname/" @@ -19,7 +19,7 @@ source=(http://www.openwall.com/$pkgname/g/$pkgname-$pkgver.tar.bz2 ftp://ftp.kfki.hu/pub/packages/security/ssh/ossh/libdes-4.04b.tar.gz params.h.patch) md5sums=('e6d7f261829610d6949c706ebac0517c' - '445bbcc9049a632c18359cb7a0fdfb27' + '978d9e6753c2e9b6bd3be283121a0d76' 'c8d5c69f86c2eedb485583b0305284a1' 'f69ed632eba8fb9e45847a4b4a323787') @@ -38,9 +38,12 @@ build() { else sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=i686 -DJOHN_SYSTEMWIDE=1|' Makefile fi sed -i 's|LIBS = -ldes|LIBS = -ldes -Ldes|' Makefile - sed -i 's|#include <des.h>|#include "des/des.h"|' KRB5_fmt.c +# sed -i 's|#include <des.h>|#include "des/des.h"|' KRB5_fmt.c sed -i 's|#include <des.h>|#include "des/des.h"|' KRB5_std.h + # enable OMP + sed -i 's|#OMPFLAGS = -fopenmp|OMPFLAGS = -fopenmp|' Makefile + # build john if [ "$CARCH" == "x86_64" ]; then make linux-x86-64 @@ -57,8 +60,6 @@ package() { install -d ${pkgdir}/usr/share/doc/john install -m644 ${srcdir}/john-$pkgver/doc/* ${pkgdir}/usr/share/doc/john/ install -d ${pkgdir}/usr/share/john/ - install -m644 ${srcdir}/john-$pkgver/run/*.chr ${pkgdir}/usr/share/john/ - install -m644 ${srcdir}/john-$pkgver/run/password.lst ${pkgdir}/usr/share/john/ install -Dm644 ${srcdir}/john-$pkgver/doc/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE # install password list and charset files @@ -73,5 +74,11 @@ package() { ln -s john unique ln -s john unshadow ln -s john undrop + ln -s john pdf2john + ln -s john rar2john + ln -s john ssh2john + ln -s john zip2john } +# vim:set ts=2 sw=2 et: + |