Package Details: john-git 1.9.0.Jumbo.1.r1510.g96ca996ff-1

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 (Xeonacid)
Last Packager: david_rysk
Votes: 9
Popularity: 0.000000
First Submitted: 2012-11-03 17:25 (UTC)
Last Updated: 2025-01-26 16:00 (UTC)

Dependencies (20)

Required by (8)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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 ?

CyberShadow commented on 2018-10-15 23:28 (UTC)

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

Sorry, I must have missed the comment.

I'll fix it now.

NaBoo commented on 2018-02-13 20:57 (UTC) (edited on 2018-02-13 21:01 (UTC) by NaBoo)

@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"
 #else
-#define CFG_FULL_NAME          "$JOHN/john.conf"
+#define CFG_FULL_NAME          "/etc/john/john.conf"
 #endif
 #if JOHN_SYSTEMWIDE
 #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 ) odf2john.py by libreoffice2john.py. Link to the new script

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

jachymb commented on 2017-11-29 23:44 (UTC)

Build fails with the following error: ==> Starting prepare()... patching file params.h Hunk #1 FAILED at 101. 1 out of 1 hunk FAILED -- saving rejects to file params.h.rej ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build john-git.