Package Details: john-git 1.9.0.Jumbo.1.r1012.g9a55a3744-2

Git Clone URL: https://aur.archlinux.org/john-git.git (read-only, click to copy)
Package Base: john-git
Description: fast password cracker (using the git repository of the jumbo patch)
Upstream URL: http://www.openwall.com/john/
Licenses: GPL2, custom
Conflicts: john
Provides: john
Submitter: Atsutane
Maintainer: david_rysk
Last Packager: david_rysk
Votes: 10
Popularity: 0.000007
First Submitted: 2012-11-03 17:25 (UTC)
Last Updated: 2023-01-17 22:01 (UTC)

Dependencies (18)

Required by (8)

Sources (1)

Latest Comments

1 2 3 Next › Last »

david_rysk commented on 2023-01-17 22:02 (UTC)

aarch64 build should now be fixed. I tested on Arch Linux ARM in a VM on an M2 Mac.

Dulbi commented on 2020-09-08 07:34 (UTC) (edited on 2020-09-08 07:39 (UTC) by Dulbi)

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


diff --git a/PKGBUILD b/PKGBUILD
index dbfc40e..0004b9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 (UTC)

@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 (UTC)

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

Dulbi commented on 2020-09-03 09:01 (UTC)

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="http://www.openwall.com/$_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="${CFLAGS} -DCPU_FALLBACK"
  • 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 (UTC)

fixed thanks @bbx0

bbx0 commented on 2020-08-23 10:40 (UTC)

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"

Error:

$ 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 (UTC)

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 ?