Commit Graph

116 Commits

Author SHA1 Message Date
Sergei Kolobov
93467b9170 Add patch forgotten in the previous commit to this port 2004-02-18 16:33:34 +00:00
Sergei Kolobov
dfcbc36755 - add two patches from squid-cache.org
- synchronize as much as possible with www/squid
- add SQUID_{U,G}ID and SQUID_LANGUAGE tunables
- utilize OPTIONS, PLIST_FILES, PLIST_DIRS, and USE_SIZE
- add a patch to make the LDAP helper at least compile
- add NO_LATEST_LINK and mark the port DEPRECATED
- bump PORTREVISION

PR:		ports/62443
Submitted by:	maintainer
2004-02-18 12:25:09 +00:00
Sergei Kolobov
8b49e5d66b - Add CONFLICTS [1]
- Pacify porlint

PR:		61315 [1]
Submitted by:	maintainer [1]
2004-01-16 13:11:55 +00:00
Mark Linimon
6603e62279 Thomas-Martin Seck has agreed to take over any remaining maintainence
duties of this port.  Note, however, from his email:

  As stated on ports@ already, I would like to retire it ASAP. I am
  currently trying to get all consumers of it to depend on www/squid.

So consider this as a heads-up that this port will be delted at
some time in the future.
2004-01-12 01:46:48 +00:00
Sergey A. Osokin
f37f7775e3 Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
PR:		56998
2003-09-24 09:37:11 +00:00
Dirk Meyer
f432bf4579 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/37917
maintainer/commiter timeout (1 year)
2003-06-27 04:30:46 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Adrian Chadd
65c5368534 Applied patch from PR.
PR:		42747
2003-01-31 09:00:42 +00:00
Adrian Chadd
b8b41ed250 Use the updated --enable-removal-policies option
PR:		43787
2003-01-31 08:49:05 +00:00
Adrian Chadd
1ae71ed37b Expressly create the directory - I'm not entirely sure why the PR
in question had a directory with the wrong permission but this
should alleviate all bar some silly umask fu.

PR:		26303
2003-01-31 08:29:00 +00:00
Edwin Groothuis
079f80fcd5 Unbreak build of www/squid24 on -current
Noticed by: bento

Approved by:	adrian@
2002-12-16 12:49:22 +00:00
Edwin Groothuis
89b95a574f Make www/squid24 building again.
Noticed on: bento

Approved by:	Adrian Chadd <adrian@FreeBSD.org>
2002-12-12 02:49:43 +00:00
Edwin Groothuis
b998f97bdb PRL -> REINPLACE
Noticed by: bento
2002-11-04 01:11:57 +00:00
Akinori MUSHA
46723b1c08 - Use MASTER_SITE_SUBDIR.
- Add MASTER_SITE_RINGSERVER to MASTER_SITES.
2002-10-13 21:07:00 +00:00
Adrian Chadd
3a063f9045 Update squid port to squid-2.4stable7.
This fixes a few security bugs so users should upgrade.
(Thanks for the reminder! :)

PR:		40175
2002-07-05 09:39:38 +00:00
Adrian Chadd
4e8d40ae7a Update the squid24 port to Squid-2.4.STABLE6.
STABLE5 was a buggy release, so we're skipping that one.
2002-03-22 00:19:55 +00:00
Adrian Chadd
42f0bf9749 Fix a typo, spotted by des. 2002-02-20 03:44:04 +00:00
Adrian Chadd
70be6c595f Update the port to squid-2.4stable4 . 2002-02-19 13:46:22 +00:00
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
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