Commit Graph

62 Commits

Author SHA1 Message Date
Adrian Chadd
066b60ed0c Update the port to squid-2.4STABLE3.
From the ChangeLog:

Changes to Squid-2.4.STABLE3 (Nov 28, 2001):

        - Fixed bug #255: core dump on SSL/CONNECT if access denied by
          miss_access
        - Fixed bug #246: corrupt on-disk meta information preventing
          rebuilds of lost swap.state files
        - Fixed bug #243: squid_ldap_auth now supports spaces in passwords
        - Fixed a coredump when creating FTP directories
        - Fixed a compile time problem with statHistDump prototype
	  mistmatch, reported by some compilers
        - Fixed a potential coredump situation on snmpwalk in certain
          configurations
        - Fixed bug #229: filedescriptor leakage in the "aufs" cache_dir
          store implementation
        - Serbian error message translations
2001-12-03 03:39:14 +00:00
Adrian Chadd
dab5cbaf8a * Update the port to use the newly-release squid-2.4STABLE2
* Fix the Makefile to actually chown our log/cache dirs to nobody
  when they're created
2001-08-28 16:48:35 +00:00
Adrian Chadd
bdcd6c305d PR: 26339
Fix the diskd path issue. diskd should now be found by squid and work happy.
2001-04-10 14:41:19 +00:00
Adrian Chadd
33c9c61150 Add the latest patch - a HTCP (cache control protocol, not a HTTP extension)
fix.
2001-04-03 09:06:34 +00:00
Adrian Chadd
42e0c7c84e Add some PATCHFILES to this port, and bump its PORTREVISION.
I ran off and updated the patch files on the squid website for 2.4.stable1,
and then updated this port to use them.

Note that diskd is still broken here - I haven't actually
committed a fix to squid yet .. :-P
2001-03-31 11:41:18 +00:00
Adrian Chadd
88dd211266 PR: 26059
Update the squid-2.4 port to actually _be_ squid-2.4 . Phew.
This port builds, installs, packages, pkg_delete's cleanly.

I'm going to run it through some more linting and tidying up before
I'm completely done with it.

Differences from squid22/squid23 :

* install-pinger isn't built. I'll tackle this later, possibly by creating
  a squid user/group. I don't like having suid binaries installed,
  even more so when 99% of the users of this port won't even enable
  ICMP pinging.

* I've enabled the lru and heap replacement policies. LRU is used by
  default, the beauty here is that the user can choose one or the other
  without needing a recompile.

* I've enabled ufs (sync), diskd (async) and null (no caching, only proxying).
  This again lets users choose what they want without needing a recompile.
  The default is still a 100mb cache in /usr/local/squid/cache/ running
  ufs. I would change it to diskd but if the user hasn't tweaked their
  sysV shm/msg parameters sufficiently they'll just be puzzled when squid
  gives mysterious sysV errors (and if they load it up enough to have UFS
  become an issue, they'd be better off reading the squid FAQ anyhow..)
2001-03-27 12:28:47 +00:00
Peter Wemm
2d740e43f7 Long overdue update. Add some vendor supplied patches.
Nagged by: many folks
2001-01-05 10:49:01 +00:00
Maxim Sobolev
7d2b0dbb5c Update to the latest 2.3.STABLE4 version plus official patches.
PR:		20211
Submitted by:	Naoki IDO <ido@hitachi-ms.co.jp>
Reviewed by:	adrian
2000-07-28 07:27:36 +00:00
Maxim Sobolev
415b1f6a31 Add an official patch.
Synopsis:

"If you fill up your squid cache, CPU will go to 100% but the cache will not be
cleaned up."

PR:		18920
Submitted by:	Mike Harding <mvh@ix.netcom.com>
Obtained from:	http://www.squid-cache.org/Versions/v2/2.3/bugs/
2000-06-01 06:49:51 +00:00
Peter Wemm
25863e3f7e Update from squid 2.3-stable2 to 2.3-stable3. Unfortunately the new
package version mechanism doesn't seem to have a place to show this new
release. :-(
2000-05-17 01:18:36 +00:00
Peter Wemm
5666584c24 Update the squid23 port to fix a few loose ends:
- the distributed patches got regenerated to have the correct paths
- disable optimization because of gcc bugs (as recommended by squid folks)
- list a few new --enable/--disable options
2000-04-17 20:32:58 +00:00
Peter Wemm
f9f28f91d1 Update to squid 2.3-stable2. This has matured enough that it should
probably be used instead of -stable1 now.
2000-03-05 14:08:51 +00:00
Peter Wemm
0cf7e3ccdb Update squid2.2-STABLE5 -> squid2.3-STABLE1 after a repo copy from
ports/www/squid22.
2000-01-29 20:13:18 +00:00
Peter Wemm
e08496775f Update from squid-2.2.STABLE4 -> squid-2.2.STABLE5 1999-11-11 02:40:19 +00:00
Peter Wemm
b4600af686 Update from 2.2-STABLE3 -> 2.2-STABLE4 1999-08-08 13:53:35 +00:00
Peter Wemm
174310193b Update from squid 2.1 -> 2.2 after repository copy. 1999-05-23 21:15:17 +00:00
Peter Wemm
48238359bf Update from squid 2.0 -> squid 2.1 (after repository copy) 1998-12-26 15:55:47 +00:00
Peter Wemm
dc2c268f2d Add patches to bring up to 2.0 patchlevel 2 1998-10-19 12:12:45 +00:00
Peter Wemm
6c7cefe24e Update from squid-1.2beta22 -> 2.0.RELEASE after a repository copy.
Squid 2.0 is the-version-formerly-known-as-1.2.
v2.0 has NOVM-like functionality internally, so there's no seperate
NOVM version.  v1.1.* is no longer officially supported.
1998-10-06 00:19:50 +00:00
Peter Wemm
d3355e85fa Update from squid 1.2b20 -> 1.2b22 1998-06-09 15:08:09 +00:00
Peter Wemm
c2941cb794 Update from 1.2.beta19 -> 1.2.beta20 (+patch 1) 1998-04-26 07:57:21 +00:00
Peter Wemm
52cd19d8a9 Update squid-1.2b18 -> 1.2.b19 (with dist patch)
Read ChangeLog for the large list of bugfixes/changes/new features.
1998-04-10 05:11:38 +00:00
Peter Wemm
f80f190a5a Update squid-1.2beta17 -> 1.2beta18 1998-03-26 13:29:13 +00:00
Peter Wemm
fa7d16b2bb Update squid 1.2.beta16 -> 1.2.beta17 1998-03-20 14:00:53 +00:00
Peter Wemm
9310d31e0b Include the regularly-scheduled post-beta-release patch. 1998-03-09 03:35:12 +00:00
Peter Wemm
5f825c7ab9 Update squid1.2.beta14 -> beta16.
Note: the b14 -> b15 change will loose your cache unless you take
the steps on http://squid.nlanr.net/ to recover it.

Read the Changelog for details, this is a fairly large update.
1998-03-05 06:43:06 +00:00
Peter Wemm
944b653282 Include 1.2.beta14 patches
Submitted by:	Evan Champion <evanc@synapse.net>
1998-02-14 03:12:38 +00:00
Peter Wemm
2fa2cd74f6 Update from 1.2.beta11 -> 1.2beta14
Major changes:
  - the URL and SHA cache key methods are gone, MD5 is the only option.
  - the swap.state system has been redesigned as a transaction log for
    much faster restarts and crash recovery.
  - SIZE on ftp binary transfers.
  - Lots of bug fixes and code cleanups.

From the web page; http://squid.nlanr.net/Squid/1.2.beta/

WARNING, with beta12 we are starting to stuff object metadata into
the beginning of objects on disk.  With beta13 we have changed the
"swap.state" file format to binary instead of text. When you run this
version for the first time you WILL LOSE YOUR CACHE!

The previous warning still stands:
This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
1998-02-08 03:04:59 +00:00
Peter Wemm
a75bf13b55 Update squid-1.2.beta10+dist_patches -> squid-1.2.beta11+dist_patches 1998-01-10 14:38:29 +00:00
Peter Wemm
1fd04fe183 Update 1.2b8 -> 1.2b10 (plus dist patch) 1998-01-04 09:30:21 +00:00
Peter Wemm
63a33a0692 Initial squid 1.2beta8 port. As the squid www page says:
"We are currently in a beta-test period for Squid-1.2. If you like
seeing Squid coredump frequently, please join us!"

"This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.

Here is a brief list of the major features of this version:
   HTTP/1.1 persisitent connections.
   Lower VM usage; in-transit objects are not held fully in memory.
   Totally independent swap directories.
   Customizable error texts.
   FTP supported internally; no more ftpget.
   Asynchronous disk operations (optional, requires pthreads library).
   Internal icons for FTP and gopher directories.
   snprintf() used everywhere instead of sprintf().
   ...and many more!
"
As well, there is support for using MD5 or SHA hashes of URL's in the
cache index for space (and speed?) savings, SNMP support, poll(2) is
used by default, etc.

Please see  http://squid.nlanr.net/Squid/1.2.beta/  before using.
1997-12-06 12:28:14 +00:00
Peter Wemm
5e1c2ab940 Update squid 1.1.17 -> 1.1.18 1997-11-01 11:10:37 +00:00
Peter Wemm
917f170330 Update 1.1.16 -> 1.1.17 1997-10-25 02:51:14 +00:00
Peter Wemm
f099b4defb Update 1.1.15 -> 1.1.16. Minor fixes - the ChangeLog has the details. 1997-09-07 13:08:53 +00:00
Peter Wemm
8c431b2d52 Update to squid 1.1.15, Among the changes is the fix for fetch's very slow
tranfsers due to it's T/TCP-style send-request-and-half-shutdown query.
1997-08-13 02:59:42 +00:00
Peter Wemm
9741869521 Update squid-1.1.11 -> 1.1.14. See ChangeLog for details, there are some
important fixes, but note that 1.1.12 and 1.1.13 were withdrawn due to
stability problems.
1997-07-18 05:06:51 +00:00
Peter Wemm
68c1c0ff5c Update squid-1.1.10 to squid-1.1.11 1997-07-01 21:05:23 +00:00
Peter Wemm
716b9db32e Update 1.1.9 -> 1.1.10. See ChangeLog for details. 1997-05-17 19:45:28 +00:00
Peter Wemm
36ff53c9eb Update 1.1.8+patches -> 1.1.9.
See ChangeLog for the (large) list of changes.
1997-03-31 11:14:54 +00:00
Peter Wemm
4831d065a0 Use official patches from dist site. Included is a possible fix to the
slowdown problem.

Note, I've changed the DIST_SUBDIR.. all the patches files seem to be
called "fixes.patch" and were colliding with each other.
Reviewed by:
Submitted by:
Obtained from:
1997-03-23 15:43:45 +00:00
Peter Wemm
a33c2b4870 Update from 1.1.7+patches to 1.1.8. This fixes a number of unresolved
problems, including a patching braino on my part...
1997-03-04 12:03:32 +00:00
Peter Wemm
07524f9e18 Update 1.1.6 -> 1.1.7 + vendor patches.
Note: the patch file on the web site has several problems.. First, it
doesn't apply, and second, it bogusly changes the version.  It also
introduces some problems for FreeBSD where the author missed the point of
a fix I sent back. :-(
1997-03-02 02:50:43 +00:00
Satoshi Asami
3d10f648f7 Patchfile has changed. 1997-02-25 08:51:27 +00:00
Peter Wemm
93145a0668 Include patch distributed on the web page to tie up some problems:
- POST didn't work if there were null characters (strncpy vs. memcpy)
- defensive measures to try and stop "HELP! IP cache overflowing"
- warn when forced to do blocking gethostbyxxxx() calls
- fix some coredumps and other problems
Reviewed by:
Submitted by:
Obtained from:
1997-02-20 17:17:36 +00:00
Peter Wemm
8f69c1d194 Update 1.1.5+patches -> 1.1.6
Note, there are a few important changes to the squid.conf file,
be sure to read the ChangeLog file for the details.  Some names
have been renamed, and a new option needs to be specified if squid
is run as root - it needs to know what uid to change to, it won't run
as root by default.  This may require changes to the port to create a
user or something.
1997-02-08 16:19:17 +00:00
Peter Wemm
917e646b61 Update 1.1.4+vendor patches to 1.1.5+vendor patches 1997-01-29 07:53:59 +00:00
Peter Wemm
4b5079e3d2 Update 1.1.3 -> 1.1.4 + distributed patches
Among the changes are some patches submitted to the maintainers by
yours truly to improve the password support in cachemgr.cgi.  It also
reports the resource "maxrss" correctly for what it is.

The distributed patches to 1.1.4:
    * ftpget.c.patch: Changes the default MIME type to
      "application/octet-stream" and fixes directory listings from
      NetWare servers.
    * icp.c.patch: Fixes "Unknown status reply from server: 0!" error
      messages in Netscape.
    * ipcache.c.patch: Fixes ipcache_dnsHandleRead() coredumps.
    * neighbors.c.patch: Fixes BIT_SET/BIT_TEST typo in
      getDefaultParent().

Reviewed by:
Submitted by:
Obtained from:
1997-01-19 03:24:13 +00:00
Peter Wemm
b5e5e70ca2 Update 1.1.2 -> 1.1.3 1997-01-07 18:49:07 +00:00
Peter Wemm
55a7a37df3 Update 1.1.1 -> 1.1.2
The usual bug fixes, including one that prevented ftp objects being
cached (they immediately timed out).....
1996-12-26 22:00:50 +00:00
Peter Wemm
38078b6e98 Update 1.1.0 -> 1.1.1 ; from the Changelog:
- Fixed announcement bug.  Announcements were always off unless
  a file was specified.
- Fixed wrong number of args to examine_select() debug.
- Fixed null-string content-type
- Don't cache replies with 'Set-Cookie:' headers.
- Fixed bug when client issues IMS, Squid has stale object and
  Squid's lastmod time is greater than the client IMS time.
  A 304 reply would be appropriate for Squid, but not the client
  (diagnosed by Mark Treacy).
- Fixed httpBuildRequestHeader() content length bug which breaks for
  really large POST requests (Takahiro Yugawa).
- Fixed 'passthrough_proxy' to pick up port number from list of
  neighbors.
- Ensure pid file is world-readable if umask is set otherwise
  (Doug Urner).
- Collect statistics on a few more HTTP headers.
Reviewed by:
Submitted by:
Obtained from:
1996-12-16 06:42:15 +00:00