Bug 145675 - [Maintainer] www/squid30: move cache and log directories to /var/
Summary: [Maintainer] www/squid30: move cache and log directories to /var/
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 18:30 UTC by Thomas-Martin Seck
Modified: 2010-05-02 12:00 UTC (History)
0 users

See Also:


Attachments
file.diff (7.68 KB, patch)
2010-04-13 18:30 UTC, Thomas-Martin Seck
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas-Martin Seck 2010-04-13 18:30:01 UTC
- update MASTER_SITES
- move default cache and log directories from $PREFIX/squid/ to /var/squid/

UPDATING entry:

Starting with 3.0.25_1 the directory containing the default cache and log
directory was changed from $PREFIX/squid/ to /var/squid/.

The default value for the following Squid configuration parameters
have changed as follows:

cache_log from $PREFIX/squid/logs/cache.log to /var/squid/logs/cache.log

cache_store_log from $PREFIX/squid/logs/store.log to /var/squid/logs/store.log

pid_filename from $PREFIX/squid/logs/squid.pid to /var/squid/logs/squid.pid

coredump_dir from $PREFIX/squid/cache to /var/squid/cache

Please check whether you need to define any of these variables in
your squid.conf to the old defaults explicitly before updating,
especially if you have set up automated log processing or automated
log rotation. If you define pid_filename in your squid.conf you
should also set squid_pidfile to the same value in /etc/rc.conf,
cf. $PREFIX/etc/rc.d/squid.

Fix: Apply this patch:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-04-14 19:15:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-05-02 11:52:24 UTC
miwi        2010-05-02 10:52:12 UTC

  FreeBSD ports repository

  Modified files:
    www/squid31          Makefile distinfo pkg-descr 
    www/squid31/files    pkg-deinstall.in pkg-install.in 
                         pkg-message.in squid.in 
  Log:
  - Update MASTER_SITES
  - Move default cache and log directories from $PREFIX/squid/ to /var/squid/
  
  PR:             145675
  Submitted by:   Thomas-Martin Seck <tmseck@web.de> (maintainer)
  
  Revision  Changes    Path
  1.237     +25 -38    ports/www/squid31/Makefile
  1.183     +3 -3      ports/www/squid31/distinfo
  1.5       +12 -3     ports/www/squid31/files/pkg-deinstall.in
  1.6       +20 -11    ports/www/squid31/files/pkg-install.in
  1.9       +7 -9      ports/www/squid31/files/pkg-message.in
  1.7       +5 -5      ports/www/squid31/files/squid.in
  1.19      +0 -3      ports/www/squid31/pkg-descr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-05-02 11:53:25 UTC
miwi        2010-05-02 10:53:14 UTC

  FreeBSD ports repository

  Modified files:
    www/squid30          Makefile 
    www/squid30/files    pkg-deinstall.in pkg-install.in 
                         pkg-message.in squid.in 
  Log:
  - Update MASTER_SITES
  - Move default cache and log directories from $PREFIX/squid/ to /var/squid/
  
  PR:             145675
  Submitted by:   Thomas-Martin Seck <tmseck@web.de> (maintainer)
  
  Revision  Changes    Path
  1.237     +18 -18    ports/www/squid30/Makefile
  1.4       +11 -3     ports/www/squid30/files/pkg-deinstall.in
  1.5       +2 -2      ports/www/squid30/files/pkg-install.in
  1.8       +5 -9      ports/www/squid30/files/pkg-message.in
  1.7       +5 -5      ports/www/squid30/files/squid.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2010-05-02 11:55:54 UTC
State Changed
From-To: open->closed

Committed. Thanks!