Package Details: john-git 1.8.0.jumbo.1.r7035.gedcbeda1f-1

Git Clone URL: https://aur.archlinux.org/john-git.git (read-only)
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: zezadas
Last Packager: zezadas
Votes: 9
Popularity: 0.786677
First Submitted: 2012-11-03 17:25
Last Updated: 2018-12-05 14:25

Dependencies (18)

Required by (7)

Sources (1)

Latest Comments

1 2 Next › Last »

semeion commented on 2018-12-07 05:59

I can´t compile, I am getting that errors:

single.c:170:25: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
            (mpi_p_local > 1 | options.fork)
             ~~~~~~~~~~~~^~~
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops tty.c -o tty.o
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops wordlist.c -o wordlist.o
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops mkv.c -o mkv.o
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops mkvlib.c -o mkvlib.o
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops listconf.c -o listconf.o
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops fake_salts.c -o fake_salts.o
listconf.c: In function 'listconf_list_build_info':
listconf.c:153:30: error: expected ')' before 'CPU_FALLBACK_BINARY'
  puts("CPU fallback binary: " CPU_FALLBACK_BINARY);
                              ^~~~~~~~~~~~~~~~~~~~
                              )
mpicc -DAC_BUILT -march=native  -DJOHN_ -c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -DJOHN_SYSTEMWIDE=1  -DCPU_FALLBACK  -I/usr/local/include -DARCH_LITTLE_ENDIAN=1 -DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC='"/usr/bin"' -DJOHN_SYSTEMWIDE_HOME='"/usr/share/john"'  -Wall -Wdeclaration-after-statement -fno-omit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wunused-but-set-variable -std=gnu89 -Wdate-time -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -fopenmp -DHAVE_MPI    -D_FORTIFY_SOURCE=2 -I/usr/local/include -DCL_SILENCE_DEPRECATION -DHAVE_OPENCL  -funroll-loops win32_memmap.c -o win32_memmap.o
make[1]: *** [Makefile:1851: listconf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/mnemonic/.aur/john-git/john-git/src/john/src'
make: *** [Makefile:189: default] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...
[sudo] password for mnemonic: 
checking dependencies...
:: john-git optionally requires nss: to use mozilla2john
:: john-git optionally requires libgsf: to use office2john

Packages (3) libgsf-1.14.44-1  nss-3.40-2  opencl-headers-2:2.2.20170516-2

Total Removed Size:  7.34 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/3) removing opencl-headers                                                                                                                   [########################################################################################] 100%
(2/3) removing nss                                                                                                                              [########################################################################################] 100%
(3/3) removing libgsf                                                                                                                           [########################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

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"
 #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

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.

yan12125 commented on 2017-04-07 16:32

Hello @CyberShadow, I don't use John the Ripper anymore and I'll disown this. Feel free to update and fix issues.

CyberShadow commented on 2017-04-06 23:42

Config files currently broken, please add "hybrid," to line 72.

Also, shouldn't this have opencl-headers in optdepends or makedepends or something?

md5crypt-opencl is broken for me with nvidia, but I don't think it's a packaging bug.

yan12125 commented on 2015-10-27 14:26

Added best64.conf but `john --test` still fails in some OpenCL related tests. I'm not familiar with OpenCL so I can't help more.

matse commented on 2015-10-25 20:28

In the PKGBUILD in line 70 "base64" is missing, john complains about missing List.Rules:base64 otherwise,
greetings,
matse

sanerb commented on 2015-07-30 17:47

(tested against opencl-nvidia-beta driver in AUR btw)