It depends a bit on the patch.
Patches fron NLANR are generally applied by going to the
squid-2.2.STABLE4/src directory and running
patch <filename.patch
My patches are always applied by going to the top source directory
(squid-2.2.STABLE4) and running
patch -p1 -s <filename.patch
The latter is also true for some patches published by NLANR.
In all cases you need to use GNU patch, as most vendors version of patch
is hopeless out out date.
For a better understanding of how to determine which method to use, see
the description of the -p option in the man page for patch, and how
patch determines the filename to patch (also in the manpage).
-- Henrik Nordstrom Spare time Squid hacker Simon Bryan wrote: > > Hi, > I have finally upgraded to Squid 2. I have downloaded a number of 'patches' > but have no idea how to apply them. Can someone point me in the right > direction please. > Cheers, > > -- > Simon Bryan sbryan@olmc.nsw.edu.au > Information Technology Manager sbryan@mpx.com.au > OLMC ParramattaReceived on Tue Aug 31 1999 - 19:47:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:09 MST