[SQU] Squid's install directories.

From: Mac <dmccann@dont-contact.us>
Date: Wed, 29 Nov 2000 15:34:07 +0000 (GMT)

Hi all,

[First posting to squid-users, hope it's not completely stupid]

I've just been forced into upgrading from Squid 1.1.11 (argh!) up to
version 2.3.RELEASE4.

A few comments.

The page http://www.squid-cache.org/Versions/v2/ states that the
latest release of version 2.3 is STABLE3, which it isn't. That page
links to http://www.squid-cache.org/Versions/v2/2.3/ which gives
STABLE4 instead.

Fetching, untarring and "./configure"-ing was fine.

And then I tried to install. The main problem comes with the use of
'sysconfdir'. I believe this name is supposed to refer to the directory
where machine-specific files are stored. However the makefiles use this
location to store the general purpose 'icons' and 'errors' files. The
'datadir' option would be much more suited to that.

I've modified the Makefile.in files in 'icons', 'src' and 'errors' to
use this instead. (context diff available if required). This does
result in the creation of an additional directory in the installed squid
hierarchy (a share/, next to the etc/).

I guess the original behaviour could be restored by making the default
for 'datadir' to be the etc/ directory as well (I don't think it's used
for anything at all in squid, so that won't break anything, I hope). A
deft edit of configure (or configure.in) is all that's required.

(Why would I want to do this? So I can have separate 'etc/' directories
for each of the squid's that I run, but they can all share the same
'share/icons' and 'share/errors' directories)

And finally.

RunCache.in (and RunAccel.in) both use "$localstatedir" as the definition of
the logfile directory, whereas everything else (src/Makefile.in for
example) uses "$localstatedir/logs" as the definition.

This is awkward because the squid.out file ends up in the main squid
directory instead of with all the other logfiles. I realise that
the actual location of the logfiles might be set in the config file
to somewhere else.

Am I being completely loony? Or am I missing something important here?

                               Mac
          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann@nibsc.ac.uk
   Work: +44 1707 654753 x285 Everything else: +44 7956 237670 (anytime)

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Nov 29 2000 - 08:37:00 MST

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