Bug 71260 - [Maintainer] www/squid: new vendor patches, tunable rcNG'fication
Summary: [Maintainer] www/squid: new vendor patches, tunable rcNG'fication
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 19:20 UTC by Thomas-Martin Seck
Modified: 2004-09-02 17:10 UTC (History)
0 users

See Also:


Attachments
file.diff (8.67 KB, patch)
2004-09-01 19:20 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 2004-09-01 19:20:25 UTC
Implement vendor patches for the following issues:
- try to prevent crashes of the digest helper (squid bug #1031)
- correct parsing of the acl_time directive when multiple time specifications
  are given (squid bug #1060)
- correct "cachemgr config" output for http_header_* directives
  (squid bug #1056)
- recognize the Content-Disposition header to be able to specify
  http_header_access directives using it (squid bug #961)

See <http://www.squid-cache.org/Versions/v2/2.5/bugs/> for further
information.

Reimplement the rcNG support:
- Implement a new option "WITH_SQUID_RCNG" which defaults to on, so
  squid will now install an rcNG script by default even on 4.x systems.
  If WITHOUT_SQUID_RCNG is defined or the respective option is unset using
  "make config", an "rcOld only" script will be installed instead.
  The rcNG version of squid.sh does not fall back to rcOld anymore.
  Note to committer: see below for a proposed /usr/ports/UPDATING entry.
- Take into account that the squid master process waits up to
  shutdown_lifetime seconds before it shuts down its child and itself.
  The restart_command thus needs to wait for this actual shutdown to
  happen after the stop_command has been sent before the start_command
  may be issued (thanks to FUJISHIMA Satsuki <sf@freebsd.org> for
  pointing this out and providing a patch).

Remove updating notes from pkg-descr and pkg-install that should have
served their purpose by now and remove a superflous newline in pkg-descr
while at it.

Proposed /usr/ports/UPDATING entry:
20040901:
  AFFECTS: users of www/squid
  AUTHOR: tmseck@netcologne.de

  www/squid now installs an rcNG script by default. This means you
  need to explicitly enable squid by setting squid_enable=yes in
  /etc/rc.conf.
  The squid.sh script uses the following variables:
  squid_chdir
  squid_flags
  squid_user
  
  Please see the squid.sh script for further details.

  If you want to install an old style rc-script, build the port with
  "WITHOUT_SQUID_RCNG=YES" or by rerunning "make config" and disabling this
  option.

Fix: Apply this patch:
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2004-09-02 07:44:26 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 Oliver Eikemeier 2004-09-02 17:03:18 UTC
Thomas-Martin Seck wrote:

> Reimplement the rcNG support:
> - Implement a new option "WITH_SQUID_RCNG" which defaults to on, so
>   squid will now install an rcNG script by default even on 4.x systems.

Thanks.
-Oliver