Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070407152138.GA3870@openwall.com>
Date: Sat, 7 Apr 2007 19:21:38 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Need help appying a patch to john 1.7.2

On Sat, Apr 07, 2007 at 11:06:09AM -0400, Gavin Westermann wrote:
> e220r% patch -p1 < john-1.7.2-mscash-alainesp-4.1.diff  
>  Looks like a unified context diff.
> File to patch:

Here's a specific example for a Linux system:

host!user:~/john$ ls
john-1.7.2-mscash-alainesp-4.1.diff.gz  john-1.7.2.tar.bz2
host!user:~/john$ tar xjf john-1.7.2.tar.bz2
host!user:~/john$ cd john-1.7.2
host!user:~/john/john-1.7.2$ zcat ../john-1.7.2-mscash-alainesp-4.1.diff.gz | patch -p1
patching file src/Makefile
patching file src/john.c
patching file src/loader.c
patching file src/mscash_fmt.c
patching file src/options.c
host!user:~/john/john-1.7.2$ cd src
host!user:~/john/john-1.7.2/src$ make linux-x86-sse2
...

Other systems might lack bzip2 (then download the .tar.gz) and/or the "j"
option to tar (then use "z" on a .tar.gz archive instead or invoke
"bzip2 -dc john-1.7.2.tar.bz2 | tar xf -").  If there's no zcat, use
explicit "gzip -dc" in its place.

-- 
Alexander Peslyak <solar at openwall.com>
GPG key ID: 5B341F15  fp: B3FB 63F4 D7A3 BCCC 6F6E  FC55 A2FC 027C 5B34 1F15
http://www.openwall.com - bringing security into open computing environments

Was I helpful?  Please give your feedback here: http://rate.affero.net/solar

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

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.