I've created a /usr/src/patches directory which I've downloaded and
untarred the 5.1.tar.gz into.

Per the patch instructions, I cd to /usr/src and then: # patch -p0 <
/usr/src/patches/5.1/common/001_libcrypto.patch

this is what I get:

# patch -p0 < /usr/src/patches/5.1/common/001_libcrypto.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Apply by doing:
|       cd /usr/src
|       patch -p0 < 001_libcrypto.patch
|
|And then rebuild and install libcrypto:
|       cd lib/libssl/crypto
|       make obj
|       make depend
|       make
|       make install
|
|Index: lib/libssl/src/crypto/mem.c
|===================================================================
|RCS file: /cvs/src/lib/libssl/src/crypto/mem.c,v
|retrieving revision 1.13
|retrieving revision 1.13.8.1
|diff -u -p -r1.13 -r1.13.8.1
|--- lib/libssl/src/crypto/mem.c        1 Oct 2010 22:58:53 -0000       1.13
|+++ lib/libssl/src/crypto/mem.c        22 Apr 2012 01:39:22 -0000      1.13.8.1
--------------------------
Patching file lib/libssl/src/crypto/mem.c using Plan A...
Hunk #1 succeeded at 362.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: lib/libssl/src/crypto/asn1/a_d2i_fp.c
|===================================================================
|RCS file: /cvs/src/lib/libssl/src/crypto/asn1/a_d2i_fp.c,v
|retrieving revision 1.5
|retrieving revision 1.5.16.1
|diff -u -p -r1.5 -r1.5.16.1
|--- lib/libssl/src/crypto/asn1/a_d2i_fp.c      6 Sep 2008 12:17:48
-0000       1.5
|+++ lib/libssl/src/crypto/asn1/a_d2i_fp.c      22 Apr 2012 01:39:22
-0000      1.5.16.1
--------------------------
Patching file lib/libssl/src/crypto/asn1/a_d2i_fp.c using Plan A...
Hunk #1 succeeded at 57.
Hunk #2 succeeded at 144.
Hunk #3 succeeded at 164.
Hunk #4 succeeded at 176.
Hunk #5 succeeded at 208.
Hunk #6 succeeded at 227.
Hunk #7 succeeded at 251.
Hunk #8 succeeded at 272.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: lib/libssl/src/crypto/buffer/buffer.c
|===================================================================
|RCS file: /cvs/src/lib/libssl/src/crypto/buffer/buffer.c,v
|retrieving revision 1.8
|retrieving revision 1.8.8.1
|diff -u -p -r1.8 -r1.8.8.1
|--- lib/libssl/src/crypto/buffer/buffer.c      1 Oct 2010 22:58:54
-0000       1.8
|+++ lib/libssl/src/crypto/buffer/buffer.c      22 Apr 2012 01:39:22
-0000      1.8.8.1
--------------------------
File to patch:



I've read some prior posts, and I THOUGHT the patch is wanting me to
tell it the path to the buffer.c file, but I don't have a
/usr/src/lib/libssl/src/crypto/buffer/ directory with the buffer.c
file (I only have a /usr/src/lib/libssl/src/crypto directory).

Can someone tell me what I'm doing wrong?

Thank you,
Ed

Reply via email to