Commit Graph

97 Commits

Author SHA1 Message Date
Adrian Chadd
5fa3173ffa Remove the RunCache stuff and let squid handle its own child maintainence.
This now means that 'stop' as an argument works correctly, and doesn't
end up having squid restarted.

I've added some sleep code to wait for squid to complete its shutdown,
but I have commented it out for the time being as I don't know whether
its good practice to have your machine sleep during shutdown.
I'll research it some more. :)
2001-09-01 08:34:14 +00:00
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
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
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
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
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