Date: Sat, 7 Apr 2007 23:05:35 +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 Please try to quote relevant context only. On Sat, Apr 07, 2007 at 01:46:08PM -0400, Gavin Westermann wrote: > e220r% pwd > /home/gavin/tools/john-1.7.2 > > *** now from inside the main john-1.7.2 directory I'll run Alains > suggestion on the unzipped diff file > > e220r% patch -p1 < john-1.7.2-mscash-alainesp-4.1.diff > Looks like a unified context diff. > File to patch: > 220r% ** it stops there asking for the file to patch unlike yours which > seems to know what and where to find. ... You've never mentioned what OS you're doing this on (try "uname -a"). Maybe your "patch" command is simply non-working or more limited. You might want to try with GNU patch, or on a system that provides GNU patch out of the box. > Now I don't understand the impact of the different "p" modifiers, This should be explained in "man patch". > 1 in Alain's case and 0 in others? I don't know where you found an example with "-p0", but it is wrong for this patch file when applied from under "john-1.7.2". -- 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
Powered by Openwall GNU/*/Linux - Powered by OpenVZ