summaryrefslogtreecommitdiff
path: root/community/john/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/john/PKGBUILD')
-rw-r--r--community/john/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD
index b5d0288c4..f8e685e90 100644
--- a/community/john/PKGBUILD
+++ b/community/john/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=john
pkgver=1.7.9
-pkgrel=1
+pkgrel=2
_jumbover=5
pkgdesc="John The Ripper - A fast password cracker (jumbo-$_jumbover included)"
arch=('i686' 'x86_64' 'mips64el')
@@ -42,7 +42,7 @@ build() {
sed -i 's|#include <des.h>|#include "des/des.h"|' KRB5_std.h
# enable OMP
- sed -i 's|#OMPFLAGS = -fopenmp|OMPFLAGS = -fopenmp|' Makefile
+ sed -i 's|#OMPFLAGS = -fopenmp$|OMPFLAGS = -fopenmp|' Makefile
# build john
if [ "$CARCH" == "x86_64" ]; then
@@ -67,6 +67,7 @@ package() {
${pkgdir}/usr/share/john/
install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{dumb16,dumb32,dynamic}.conf \
${pkgdir}/usr/share/john/
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/dynamic.conf ${pkgdir}/etc/john/
# install binaries
install -Dm755 ${srcdir}/john-$pkgver/run/john ${pkgdir}/usr/bin/john