Commit graph

91 commits

Author SHA1 Message Date
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
Maxim Sobolev
4ca0e60800 -pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
2001-03-29 16:35:19 +00:00
Adrian Chadd
4ec1030ca3 .. and update the Makefile to indicate that its my port, built by me. :) 2001-03-27 12:56:41 +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
Jimmy Olgeni
046b1114c5 Fix typo: othervise -> otherwise. 2001-02-19 13:15:19 +00:00
Jimmy Olgeni
d2f3fc0d14 Some spaces -> tabs for ports/www. 2001-02-05 15:33:58 +00:00
Peter Wemm
529787e5c4 Pass the maintainership bit to adrian (who happens to be a squid committer) 2001-01-12 06:46:04 +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
Peter Wemm
9b7938c331 These patches are redundant, and have been for quite some time.
The configure script used to override our manual settings, but no more.
2001-01-05 10:41:15 +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
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +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
Steve Price
d95c34faac Correct a typo.
PR:		16476
Submitted by:	Christopher J. Michaels <cjm2@altavista.net>
2000-05-29 23:48:03 +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
Chris Piazza
c3bb46468e Update with the new PORTNAME/PORTVERSION variables 2000-04-10 00:07:29 +00:00
Peter Wemm
3790804b86 Remove NO_LATEST_LINK - both squid ports had it, which obviously isn't
useful.
2000-03-05 14:11:42 +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
e7aa81f1a6 $Id$ -> $FreeBSD$ 1999-08-31 02:43:35 +00:00
Michael Haro
b8f8618362 echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
1999-08-27 22:30:39 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Peter Wemm
b4600af686 Update from 2.2-STABLE3 -> 2.2-STABLE4 1999-08-08 13:53:35 +00:00
Steve Price
81bb6bf339 Don't require interaction on install while PACKAGE_BUILDING. 1999-06-22 17:21:59 +00:00
Michael Haro
da333d08a5 s,/usr/local,${PREFIX},g 1999-06-05 19:58:45 +00:00
Peter Wemm
174310193b Update from squid 2.1 -> 2.2 after repository copy. 1999-05-23 21:15:17 +00:00
Michael Haro
4248fdbf3c Yet more WWW: fun. 1999-05-03 04:42:18 +00:00
Masafumi Max NAKANE
1b11de8170 Update the MASTER_SITES. 1999-04-18 06:46:51 +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
8a4dbd9e6a Add missing files to PLIST
Approved by:  asame
1998-03-22 03:34:45 +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
Satoshi Asami
d44a58abe9 Define NO_LATEST_LINK for net/ncftp3 and www/squid12 because these are
unstable betas with better versions in the tree.  (There are probably more
but these were the only ones I could pull off the top of my head.)
1998-02-16 13:16:43 +00:00
Peter Wemm
ecceedd1fb Argh.. yet another botch.. Sigh.. :-/
Pointed out by:	 Evan Champion <evanc@synapse.net>
1998-02-14 14:36:12 +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
7c658cae10 I forgot to strip the binaries in the new locations, I missed this
change in the Makefile Evan sent me.

Submitted by:	Evan Champion <evanc@piano.synapse.net>
1998-02-09 01:35:20 +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
25343123ce Evan sent me a port update moments after I committed one. Pick out some
of the changes he's made..  (Although I'm not so sure about moving the
cache to /var/spool/squid...)

Reviewed by:	Evan Champion <evanc@synapse.net>
1998-02-08 03:39:06 +00:00
Peter Wemm
d965f7b40c Missing PLIST entries 1998-02-08 03:25:31 +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
a75cb27231 Update this for the benefit of the new broken patch. Tell it to look at
Index: like posix says, rather than going into dummy mode.  The distributed
patches are generated with standard cvs and don't have ache's hack (which
doesn't work when new files are added anyway).
1998-01-21 03:06:06 +00:00