Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 07 Apr 2007 11:52:20 -0400
From: Gavin Westermann <gwestermann@...ornet.com>
To: john-users@...ts.openwall.com
Subject: Re: Need help appying a patch to john 1.7.2

Solar Designer wrote:

>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.
>
>  
>
I started out using "gzip -dc" but still stall at the same spot. Your 
out put above just seems to flow and find the files it wants all by 
itself, mine stops and waits for me to direct it. Could it be an issue 
with my system not knowing how to find the files? How would I set the 
variable $JOHN so the sytem knows the path? In john.conf for example 
"MODES" are set to find the .chr files through a path. ie: File = 
$JOHN/all.chr I have never set that so maybe the patch is failing becuse 
of that?

-- 
Gavin Westermann
(Personal account)


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ