Commit Graph

17 Commits

Author SHA1 Message Date
Jimmy Olgeni
56e5f94c60 Misc. fixes:
* 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.
2001-08-31 14:03:02 +00:00
Adrian Chadd
a0cf24270f Make sure we don't delete mime.conf and squid.conf at package
uninstallation time if they've been modified.
2001-06-17 22:24:02 +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
Jimmy Olgeni
edbd395b42 Try to remove ${LOCALBASE}/squid at deinstall time, if it is empty.
Reported by:		bento logs
2001-03-13 14:34:05 +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
174310193b Update from squid 2.1 -> 2.2 after repository copy. 1999-05-23 21:15:17 +00:00
Peter Wemm
f80f190a5a Update squid-1.2beta17 -> 1.2beta18 1998-03-26 13:29:13 +00:00
Peter Wemm
8a4dbd9e6a Add missing files to PLIST
Approved by:  asame
1998-03-22 03:34:45 +00:00
Peter Wemm
deb84dc66e Some backend clients were moved from sbin to libexec..
Submitted by: Evan Champion <evanc@synapse.net>
1998-02-08 03:42:07 +00:00
Peter Wemm
d965f7b40c Missing PLIST entries 1998-02-08 03:25:31 +00:00
Satoshi Asami
f51d0003d3 This port doesn't install etc/squid/mib.txt.default, it installs mib.txt. 1997-12-18 08:24:16 +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
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
3f8bf3d375 Squid-1.1.beta13. This was a little unusual in that the www/squid ncvs
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:
1996-11-06 17:21:00 +00:00
Peter Wemm
a6d6133eb7 Update from squid-1.0.0 to 1.0.20. There are a large number of bug fixes
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.
1996-11-06 16:37:26 +00:00
Satoshi Asami
8b81bdf083 Upgrade from 1.0 beta11 to 1.0 release.
Submitted by:	Andrew Stesin <stesin@elvisti.kiev.ua>
1996-07-10 21:50:18 +00:00
Satoshi Asami
f9a9561a7c A post-harvest www cache proxy.
Submitted by:	Andrew V. Stesin <stesin@elvisti.kiev.ua> and Peter Stubbs <PETERS@staidan.qld.edu.au>
1996-06-03 02:21:13 +00:00