[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need some guidance using the 3.0.tar.gz patch
I downloaded the tar. Patch and un-tared it in my /tmp dir.
Tar -zxvf 3.0.tar.gz
The above created /tmp/3.0 dir which has all the folders common, i386
etc...
I changed to the common folder as that is where the patch I want apply
is
cd /tmp/3.0/common
the patch in question is the SECURITY FIX: March 19, 2002
which is the 016_approval.patch
I issue the command...
patch -p0 < 016_approval.patch
and the following is the reply...
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Apply by doing:
| cd /usr/src
| patch -p0 < 016_approval.patch
|
|And then rebuild and install rshd, rexecd and atrun:
| cd libexec/rshd
| make obj
| make depend
| make && make install
|
| cd ../rexecd
| make obj
| make depend
| make && make install
|
| cd ../atrun
| make obj
| make depend
| make && make install
|
|Index: libexec/atrun/atrun.c
|===================================================================
|RCS file: /cvs/src/libexec/atrun/atrun.c,v
|retrieving revision 1.15
|retrieving revision 1.15.2.1
|diff -u -r1.15 -r1.15.2.1
|--- libexec/atrun/atrun.c 27 Aug 2001 16:18:58 -0000 1.15
|+++ libexec/atrun/atrun.c 19 Mar 2002 04:28:22 -0000 1.15.2.1
--------------------------
File to patch:
That is where I am stuck. What file do I tell it to patch? I thought it
knew where to go and what to patch. I could not find a faq. That
describes how to manually patch using the tar.gz files just how to use
the source from cvs located in the /usr/src dir. I would like to
manually patch it because well I need to learn ,but the faq says that
errata entries might not show up in the patch src for up to 48 hrs...
Any guidance would be appreciated.
Thanks in advance.