Re: [Re: How to use squid patch?]

From: Network Admin <cyber-scope@dont-contact.us>
Date: 29 Jun 00 23:55:50 MDT

Hi
  am a novice but i tried yur solution while trying to upgrade my
squid2.3stable2 to 3 , i followed the same procedure on my Redhat 6.0 Kernel
2.2-12. But got the errors as

  # patch -p0 < ../squid-2.3.stable3-carp_compile.patch
  patching file `src/carp.c'
  Hunk #1 FAILED at 84.
  1 out of 1 hunk FAILED -- saving rejects to src/carp.c.rej

  # patch -p0 < ../squid-2.3.stable3-storeExpiredReferenceAge.patch
  patching file `src/store.c'
  Hunk #1 FAILED at 1223.
  1 out of 1 hunk FAILED -- saving rejects to src/store.c.rej

  # patch -p0 < ../squid-2.3.stable3-zero-content-length.patch
  patching file `src/client_side.c'
  Hunk #1 FAILED at 860.
  1 out of 1 hunk FAILED -- saving rejects to src/client_side.c.rej

  Any issue as far as i am concerned ? , do i need to download the latest
patch
  binary from gnu or what? I checked up the issue at the archives and at faq
i
  did not get any help.

  regards

  Network Admin
  Cyber-scope

  David Rees <dbr@spoke.nols.com> wrote:
  On Tue, Jun 27, 2000 at 09:26:06AM +0800, big_fish@email.com.cn wrote:
> I've got a patch for squid-2.3s3.(disk over limit)
> But I don't know how to use it?
> I know little about 'patch' command,still after reading
> manual.

  Here's how to do it:

  Untar/gzip the squid source:

> gunzip -c squid-2.3.STABLE3-src.tar.gz | tar xvf -

  Change into the squid directory:

> cd squid-2.3.STABLE3

  And apply all three bugfixes:

> patch -p0 < ../squid-2.3.stable3-carp_compile.patch
> patch -p0 < ../squid-2.3.stable3-storeExpiredReferenceAge.patch
> patch -p0 < ../squid-2.3.stable3-zero-content-length.patch

  Then configure, compile, and reinstall.

  -Dave

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
Received on Fri Jun 30 2000 - 00:01:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:14 MST