Upgrading Squid config file

From: John Saunders <John.Saunders@dont-contact.us>
Date: Thu, 31 Oct 1996 10:23:38 +1000

Tom Minchin wrote:
> So if you do a make install and don't update your config file (yes, it's
> boring) you'll probably be caught out. Always useful to diff the old
> and the new blank config file to see what new goodies Duane has included.

What I do is, _before_ (after is too late) I upgrade I make a unified
diff
file of my local changes:

        diff -u squid.conf.default squid.conf >local.diffs

Then after the "make install" I apply my local diffs to the new config
file:

        cp squid.conf.default squid.conf
        patch -s <local.diffs

If all is well then patch should be silent. This process seems to make
the upgrade step fairly painless.

Cheers.
-- +------------------------------------------------------------+
      . | John Saunders mailto:John.Saunders@scitec.com.au (Work) |
  ,--_|\ | mailto:john@nlc.net.au (Home) |
 / Oz \ | http://www.nlc.net.au/~john/ |
 \_,--\_/ | SCITEC LIMITED Phone +61 2 9428 9563 Fax +61 2 9428 9933 |
       v | "Alcatraz triathalon: dig, swim, run" |
          +------------------------------------------------------------+
Received on Wed Oct 30 1996 - 15:26:02 MST

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