Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120121111058.GA10088@openwall.com>
Date: Sat, 21 Jan 2012 15:10:58 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Custom Build of John the Ripper v1.7.9 and 1.7.9 jumbo 5 for x86 Linux

On Fri, Jan 20, 2012 at 10:41:15PM -0500, Robert B. Harris wrote:
> Are you saying the following would be a complete set for x86 Linux (and all
> built with either linux-x86-64i or linux-x86-sse2i):
> 
> john-1.7.9-jumbo-5-Linux-x86-32.tar.gz
> john-1.7.9-jumbo-5-Linux-x86-64.tar.gz
> john-1.7.9-jumbo-5-omp-Linux-x86-32.tar.gz
> john-1.7.9-jumbo-5-omp-Linux-x86-64.tar.gz
> 
> Or are you saying just make the omp builds and that is it (all built with
> either linux-x86-64i or linux-x86-sse2i).
> So, a complete set would be:
> john-1.7.9-jumbo-5-omp-Linux-x86-32.tar.gz
> john-1.7.9-jumbo-5-omp-Linux-x86-64.tar.gz

Neither.

I meant that you would pack two John binaries per tarball.  Please take
a look at the official Windows build of 1.7.9 - it has john.exe and
john-omp.exe.  You would similarly have john and john-omp inside the run
directory in your tarball.  And you would have two tarballs: for 32-bit
and 64-bit separately.  Oh, and another two for jumbo vs. not.

So 8 binaries total, but four tarballs total.  Two binaries per tarball.

For the filenames, call them:

john-1.7.9-Linux-x86-32-2.tar.gz
john-1.7.9-Linux-x86-64-2.tar.gz
john-1.7.9-jumbo-5-Linux-x86-32-2.tar.gz
john-1.7.9-jumbo-5-Linux-x86-64-2.tar.gz

with "-2" indicating your second build of these same versions.

> Maybe all should be named with an x86i, like
> john-1.7.9-jumbo-5-omp-Linux-x86i-64.tar.gz?

No.  You should use the i-suffixed targets whenever possible, but you
should not include "i" in the tarball filenames.  Also no need to
include "omp" there because the same tarballs will have both binaries.

> I assume making the omp builds by just un-commenting the line "#OMPFLAGS =
> -fopenmp -msse2"

Yes.

(Some people will also want AVX and XOP builds, but let's not add this
complication to your builds yet, or you'd have to provide 24 binaries -
and that's ignoring MMX and older.)

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.