Package Details: john-git 1.9.0.Jumbo.1.r268.g51f7f3dcd-1

Git Clone URL: (read-only, click to copy)
Package Base: john-git
Description: fast password cracker (using the git repository of the jumbo patch)
Upstream URL:
Licenses: GPL2, custom
Conflicts: john
Provides: john
Submitter: Atsutane
Maintainer: zezadas
Last Packager: zezadas
Votes: 9
Popularity: 0.033461
First Submitted: 2012-11-03 17:25
Last Updated: 2020-09-04 09:34

Dependencies (18)

Required by (9)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Dulbi commented on 2020-09-08 07:34

To make it work it had to add some new lines :

diff --git a/PKGBUILD b/PKGBUILD
index dbfc40e..0004b9a 100644
@@ -5,7 +5,7 @@

_pkgname=john pkgname=john-git -pkgver=1.9.0.Jumbo.1.r268.g51f7f3dcd +pkgver=1.9.0.Jumbo.1.r271.g7acdb59dd pkgrel=1 pkgdesc="fast password cracker (using the git repository of the jumbo patch)" arch=('i686' 'x86_64' "aarch64") @@ -83,6 +83,9 @@ build() { mv ../run/john{,-non-xop} ./configure "${options[@]}" CFLAGS="${CFLAGS} -mxop" make clean; make + elif [[ "${CARCH}" == "aarch64" ]]; then + ./configure "${options[@]}" CFLAGS="" + make clean; make else ./configure "${options[@]}" CFLAGS="${CFLAGS}" make clean; make

Dulbi commented on 2020-09-04 15:47

@zeadas. The arch is well recognized but unfortunately, it doesn't go to the end : listconf.c:165:30: erreur: expected « ) » before « CPU_FALLBACK_BINARY » 165 | puts("CPU fallback binary: " CPU_FALLBACK_BINARY); | ^~~~~~~~~~~~~~~~~~~~ | ) make[1]: [Makefile:1584 : listconf.o] Erreur 1 make[1]: Attente des tâches non terminées.... make[1] : on quitte le répertoire « /var/tmp/pamac-build-pi/john-git/src/john/src » make: *** [Makefile:190 : default] Erreur 2 ==> ERREUR : Une erreur s’est produite dans build().

zezadas commented on 2020-09-04 09:37

Added aarch64 to the "arch" list @Dulbi, check if it's working.

Dulbi commented on 2020-09-03 09:01

I was able to compile it on my raspberrypi 4 : diff --git a/PKGBUILD b/PKGBUILD index f297e66..0ee7248 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgname=john-git pkgver=1.9.0.Jumbo.1.r268.g51f7f3dcd pkgrel=1 pkgdesc="fast password cracker (using the git repository of the jumbo patch)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'aarch64') url="$_pkgname/" license=('GPL2' 'custom') depends=('openssl' 'gmp' 'libpcap' 'openmpi' 'gcc-libs' 'opencl-icd-loader') @@ -47,7 +47,7 @@ build() { cd "$srcdir/$_pkgname/src" #export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig

  • local CFLAGS="${CFLAG}" local options=( --prefix=/usr --with-systemwide

Could you please modify the PKGBUILD to enable aarch64 compilation ?

zezadas commented on 2020-09-02 12:15

fixed thanks @bbx0

bbx0 commented on 2020-08-23 10:40

Looks like the PKGBUILD does not copy the header files for the opencl kernels. I removed the .cl extention filter to make it work for me.

# opencl
install -Dm 644 run/opencl/* -t "${pkgdir}/usr/share/john/opencl"


$ john --test --format=descrypt-opencl 
Build log: <kernel>:9:10: fatal error: 'opencl_DES_kernel_params.h' file not found
#include "opencl_DES_kernel_params.h"

Dulbi commented on 2020-04-20 12:04

Wasn't able to compile it on a Manjaro ARM. I know that available arch are only 'i686' and 'x86_64' but it is supposed to be able to other arch... Can anyone have a look at this, please ?

CyberShadow commented on 2018-10-15 23:28

Okay, it looks like the outdated patch is not the only problem. The directory structure seems to have changed, and the package() function now fails.

Looking at the community package in ABS, it looks like the PKGBUILDs have diverged significantly. Reconciling them would be a non-trivial amount of work.

I'm not interested in doing that work right now, so I'm orphaning the package for now. @xtrm0 feel free to adopt the package if you're up to the task; otherwise, I may re-adopt it later when I have some time to sort through this.

CyberShadow commented on 2018-10-15 23:09

Sorry, I must have missed the comment.

I'll fix it now.

NaBoo commented on 2018-02-13 20:57

@jachymb :

To fix the patch problem you need to change the params.h.patch

I think this will work

--- params.h.orig   2018-02-13 19:15:10.027258087 +0100
+++ params.h    2018-02-13 19:15:35.492398333 +0100
@@ -156,9 +156,9 @@
  * File names.
 #ifdef __DJGPP__
-#define CFG_FULL_NAME          "$JOHN/john.ini"
+#define CFG_FULL_NAME          "/etc/john/john.ini"
-#define CFG_FULL_NAME          "$JOHN/john.conf"
+#define CFG_FULL_NAME          "/etc/john/john.conf"
 #ifdef __DJGPP__

You will also need to change in PKGBUILD

first you need to change the md5sum of the patch file (line 29). For example my patch file md5sum is : 2594814704667e63847b8a9ee97b7d61

Then you have to replace ( line 88 ) by Link to the new script

And voila you should be able to compile. I hope this will help you.