Problem applying freeBSD patch ....

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Oct 11 07:07:07 PDT 2003


"Shrikant" <shrikant at corp.123india.com> writes:

> Hello ,
> 
> I am trying to apply the latest patch for Openssh FreeBSD-SA-03:15.openssh
> 
> In past i had applied all the patches but never came before such question  "File to patch:"
> 
> can any body suggest me  whihc file it is asking for .I have given the output below
> 
> 
> Shrikant
> 
> 
> 
> server1# patch < /path/to/patch/openssh47.patch
> Hmm...  Looks like a new-style context diff to me...
> The text leading up to this was:
> --------------------------
> |Index: crypto/openssh/auth-chall.c
> |===================================================================
> |RCS file: /home/ncvs/src/crypto/openssh/auth-chall.c,v
> |retrieving revision 1.2.2.3
> |retrieving revision 1.2.2.3.2.1
> |diff -p -c -r1.2.2.3 -r1.2.2.3.2.1
> |*** crypto/openssh/auth-chall.c        3 Jul 2002 22:11:41 -0000       1.2.2.3
> |--- crypto/openssh/auth-chall.c        24 Sep 2003 19:50:39 -0000      1.2.2.3.2.1
> --------------------------
> File to patch:

You should cd to /usr/src before executing that command...


More information about the freebsd-questions mailing list