Notable features:
* I'm building _all_ of the error page languages now
* I'm building a handful of the helper modules (the ones that don't
require ldap or samba to be installed)
* underscores in hostnames are enabled - every few weeks we squid people
get emails asking why someone can't get to some_user.geocities.com .
Bad geocities. :)
* Sort pkg-plist
* Replace %B%f with %B/%f (%B does not contain the trailing '/')
* Rewrote tests using || rather than &&. With &&, if the condition fails
then the test returns false, and sysinstall's pkg_add would fail at
install time.
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..)
"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.
files were repository copied to www/squid11, then this commit brings it
to 1.1.b13. (This was Satoshi's idea :-) It preserves the history)
Squid-1.0 and 1.1 are under parallel development, kinda like when we had
2.1-stable and 2.2-current in parallel development. The 1.0 code is well
polished, and 1.1 is "on the bleeding edge" as such. The features and
performance are much improved, but it can be a bit hair-raising. I
personally have no major hassles with 1.1beta13.
Among the nicer things that this version has over 1.0:
- URL redirector.. ie: you can rewrite url's of sites with "mirrors"
so that you don't have 15 copies of the same files.
- optional ident logging
- improved acl's
- dramatically improved cache directory structure (scales much better with
gigantic disk caches)
- much improved DNS ttl handling (esp. with resolver hack)
- more control over neighbor status; parent, sibling etc.
- much improved refresh rules to help combat stupid sites that needlessly
set the Expires: field to zero when it doesn't need to be. (This is fine
when it's genuinely needed, but some sites really abuse it to to attempt
to negate caching to get inflated hit counts etc)
Reviewed by:
Submitted by:
Obtained from:
and stability measures.
This port installs in a "FreeBSD-native" tree (like apache) rather than
with a mini hierarchy under /usr/local/squid/{bin,etc,cache,logs,...}
(the default behavior seems to have changed between 1.0.0 and 1.0.20)
Also, build a rc.d/squid.sh script.