Commit graph

252 commits

Author SHA1 Message Date
Martin Wilke
f6eb936232 - Update to 2.7.STABLE9
- Update MASTER_SITES
- Move default cache and log directories from $PREFIX/squid/ to /var/squid/

PR:		145674
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2010-05-02 10:51:08 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Martin Wilke
f72d71e852 - Update to 2.7.STABLE8
PR:		144668
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2010-03-17 07:42:01 +00:00
Xin LI
c0cd5f4cb7 Update www/squid and www/squid30 to address Squid HTCP Packet Processing
NULL Pointer Dereference vulnerability (SQUID-2010:2)
2010-02-15 06:29:30 +00:00
Xin LI
3f1f30c23c Security patch for Squid advisory 2010:1, denial of service.
Submitted by:	maintainer (Thomas-Martin Seck <tmseck web de>)
2010-02-01 20:25:56 +00:00
Wen Heping
1680bea3d3 - Implement OPTIONS vor SQUID_KERBEROS_AUTH and SQUID_NIS_AUTH
- Add a CONFLICT with www/lusca-head
- Make the Squid configuration directory world readable in new
  installations to ease use of cachemgr.cgi
- Implement squid_conf in the rc script and document user settable
  variables

PR:		ports/141930
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2009-12-24 02:58:32 +00:00
Martin Wilke
770fda5a40 - Add squid_fib option for alternate routing tables
PR:		140146
Submitted by:	Alson van der Meulen <alson+bugs@waalsdorp.nl> (based on)
Approved by:	maintainer
2009-11-21 15:19:56 +00:00
Martin Wilke
d3ea172568 - Update to 2.7-STABLE7
PR:		138941
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
Feature safe:	yes
2009-09-18 22:41:44 +00:00
Martin Wilke
e63a1bce8e - Update MASTER_SITE_SUBDIR
PR:		136122
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2009-06-28 16:20:42 +00:00
Martin Wilke
92531c1b9e - The squid_kerb_auth helper needs to know about the endianness of the system
at compile time. Its author suggests to use -D__LITTLE_ENDIAN__ in the
  program's Makefile and this is the solution proposed in ports/131878. Since
  FreeBSD (and FreeBSD ports) might be used on big-endian architectures as
  well as on little endian architectures I decided to instrument an already
  present endianness check directly in the affected source file instead.

- Bump PORTREVISION since this affects the content (and functionality) of
  the port's binary package.

Pr:		133159
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2009-03-31 22:20:42 +00:00
Martin Wilke
57a14a35f2 - Update 2.7.STABLE6
PR:		131431
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
Security:	http://www.vuxml.org/freebsd/9c2460a4-f6b1-11dd-94d9-0030843d3802.html
2009-02-09 14:32:11 +00:00
Wesley Shields
9168603ee2 - Remove conditional checks for FreeBSD 5.x and older
Approved by:	pav
2009-01-06 16:53:07 +00:00
Martin Wilke
3ef59d946b - Update to 2.7.STABLE5
PR:		128253
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-10-24 12:36:23 +00:00
Martin Wilke
1965ac2854 - Update to 2.7.STABLE4
PR:		126413
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-08-10 21:57:28 +00:00
Beech Rintoul
b7b482db37 - Update to 2.7.STABLE3
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-07-14 19:10:08 +00:00
Beech Rintoul
000ed5c09c - Update to 2.6.STABLE21
PR:		ports/125099
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-07-03 22:27:12 +00:00
Martin Wilke
4193e70b91 Refactoring and fixes regarding the squid_kerb_auth helper:
- Move the content of
files/patch-helpers-negotiate_auth_squid_kerb_auth-Makefile.in and
-squid_kerb_auth.c to files/fix-kerberos.patch.

- Implement additional configure check for the presence of
gssapi/gssapi.h and gssapi.h and prefer the former over the latter in
squid_kerb_auth.c. This is done to prevent a compiler warning on
FreeBSD 7 and higher where gssapi.h is only present for compatibility
reasons.

- Actually enable the "negotiate" authentication method in Squid
(thanks to John Marshall for pointing this out to the maintainer).
Bump PORTREVISION for this change.

Removed files:

files/patch-helpers-negotiate_auth-squid_kerb_auth-Makefile.in
files/patch-helpers-negotiate_auth-squid_kerb_auth-squid_kerb_auth.c

PR:		124872
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-06-23 10:51:51 +00:00
Martin Wilke
d9a406ceda - Fix build after Heimdal update on HEAD
PR:		123782
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-05-22 00:08:58 +00:00
Martin Wilke
270caa4970 - Fix a mistake I (the maintainer) had introduced regarding the
installation of the cachemgr.conf.default file: instead of explicitly
installing it I thought it would be enough to change an automake
variable that served an entirely different purpose, namely
hardcoding the path to the configuration in the cachemgr.cgi
binary.
- While at it: remove a no longer needed .sh reference from
files/pkg-message.in.
- Set PORTREVISION to 1 because the hardcoded name of the default
configuration file has changed within cachemgr.cgi.

PR:		123573
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-05-16 12:27:17 +00:00
Martin Wilke
50bccdb821 - Update to 2.6STABLE20
PR:		123432
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-05-08 12:07:41 +00:00
Beech Rintoul
e4467f39ee - Update to 2.6.STABLE19
- Add a patch for Squid bug #2203 (Fixed in the 3.0 but not yet in the 2.6 series)
- Update maintainer mail address

PR:		ports/122383
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-04-05 00:46:55 +00:00
Martin Wilke
e76f05e7db - Update to 2.6.STABLE18
PR:		119563
Submitted by:	Thomas-Martin Seck <tmseck@web.de> (maintainer)
2008-01-12 13:11:04 +00:00
Xin LI
2c42e822cc Update to 2.6.STABLE17
PR:		ports/118430
Submitted by:	maintainer
2007-12-11 19:24:36 +00:00
Xin LI
dcd7ea8201 Apply vendor patch 11780 for SQUID-2007_2.
Security:	Denial of Service from trusted client
Security:	VuXML 6eb580d7-a29c-11dc-8919-001c2514716c
Approved by:	portmgr (erwin)
2007-12-04 19:48:35 +00:00
Edwin Groothuis
4d5623ea35 Remove support for OSVERSION < 5 2007-10-04 00:08:39 +00:00
Martin Wilke
33bb7de5ae - Remove unneccessary USE_GCC line
Submitted by:	Derkjan de Haan <haanjdj@gmail.com>
Approved by:	maintainer via private mail
2007-09-20 19:24:00 +00:00
Martin Wilke
662ea1757e - Update to 2.6.STABLE16
PR:		116165
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2007-09-20 00:26:28 +00:00
Sergey Matveychuk
961f9d778d - Update to 2.6STABLE15 + 5 vendors patches.
See http://www.squid-cache.org/Versions/v2/2.6/changesets/

PR:		ports/116093
Submitted by:	maintainer
2007-09-05 15:27:58 +00:00
Andrew Pantyukhin
b5e87c03a7 - Honor NOPORTEXAMPLES
Approved by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2007-08-16 22:11:13 +00:00
Xin LI
ff0343a5c4 - Update to 2.6.STABLE14 plus three patches (see
http://www.squid-cache.org/Versions/v2/2.6/changesets/ for details)
 - Add two new authentication helpers: DB and squid_kerb_auth
 - Add the website mirrors to the list of download sites as a last resort
   in case the distfiles do not make it to the FTP mirrors in time
 - Update the mirror server list a bit after checking with the official list
   at http://www.squid-cache.org/Download/mirrors.dyn
 - Stop handling the "WITH_DEBUG" case: bsd.port.mk handles this just fine
 - Add a new rc configuration variable "squid_pidfile" that defaults to
   $PREFIX/squid/logs/squid.pid, use this variable for $pidfile in
   the rc script and document it in the Squid default/example configuration
 - Update the ICAP-2.6-bootstrap patch to reflect changes in the Squid
   sources

Submitted by:	maintainer
PR:		ports/115453 (in followup)
2007-08-14 02:32:11 +00:00
Xin LI
4d4711e32e - update to 2.6.STABLE13
- replace sunsite.auc.dk which is no longer serving Squid distfiles
   (cf fenner's distfile survey) and replace it with ftp.belnet.be.
   The Squid mirror list seems to have vanished (temporarily) during
   their website redesign spree but it used to be listed there as
   an official Belgian mirror.
 - remove files/extra-patch-changeset_11375 which was added in
   2.6.12_1, the fix is present in 2.6.STABLE13.
 - simplify the SQUID_KQUEUE parsing; Squid-2 will automatically enable
   kqueue(2) support and the new OPTIONS parser does no longer require
   .ifndef WITHOUT_* constructs
 - remove IGNORE for the combination of SQUID_SSL and SQUID_ICAP
 - (try to) adapt the ICAP-core patch to the changes in the Squid code base
 - add a +ICAP identifier to the internal Squid version string to help the
   Squid developers in identifying patched up Squid versions (some
   reported bugs were not really Squid but rather ICAP bugs it seems)

Submitted by:	Thomas-Martin Seck (maintainer)
PR:		ports/112751
2007-05-25 01:52:13 +00:00
Martin Wilke
4d7c38b497 Add a patch for Squid bug #1814, see <http://www.squid-cache.org/bugs/show_bug.cgi?id=1814>.
The patchset is a slightly modified version of the Squid patchset 11375.

Notes:
Since this patch conflicts with the ICAP patchset and only affects
non-default configurations that have been compiled using the
WITH_SQUID_SSL configuration option, apply the patch only when this
option is enabled. Set IGNORE when both WITH_SQUID_SSL and
WITH_SQUID_ICAP are defined.

PR:		112054
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2007-04-26 08:11:29 +00:00
Martin Wilke
cd0b28485e - Update to 2.6.STABLE.12
PR:             110610
Submitted by:   Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
Security:       http://www.vuxml.org/freebsd/c27bc173-d7aa-11db-b141-0016179b2dd5.html
2007-03-21 13:13:07 +00:00
Martin Wilke
f2d474a5f0 - Update to 2.6.STABLE11.
- Update the ICAP client patchset to not remove a specific function call;
  this should fix timeout issues reported on the squid-dev list

PR:             110471
Submitted by:   Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2007-03-18 11:49:07 +00:00
Martin Wilke
fdc0926be9 - Update to 2.6 stable10
PR:             110046
Submitted by:   Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2007-03-07 22:47:15 +00:00
Pav Lucistnik
ef5d6a8edb Rename
www/squid -> www/squid25
  www/squid26 -> www/squid

thus effectively updating www/squid to 2.6.STABLE9

PR:		ports/108562
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
Repocopies by:	marcus
2007-02-07 08:42:31 +00:00
Martin Wilke
5859c78c45 - Add a patch for Squid bug #1857 (segfault on certain FTP URLs).
- Bump Portrevision

PR:		ports/107961
Submitted by:	Thomas-Martin Sec <tmseck@netcologne.de>
2007-01-22 08:49:50 +00:00
Jean Milanez Melo
cf47688c94 - Fix mastersites.
PR:		ports/105418
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2006-11-17 12:51:29 +00:00
Stanislav Sedov
44752edb42 - Fix typo in LDFLAGS (s,-I,-L,)
Approved by:	maintainer via private email
2006-11-14 20:36:01 +00:00
Martin Wilke
b0fe9e8706 - update pkg-descr and remove some cruft
- consistently use "Squid" when referring to the software's name
- define COMMENT a bit less chatty
- replace the progeny.com mirror with the one hosted by Vistech
- fix a wrong path in pkg-message.in (thanks to "Tuc at the Beach House")
- pass ${squid_flags} when stopping or reconfiguring Squid (ports/100510)

PR:		ports/105023
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-04 23:03:40 +00:00
Ion-Mihai Tetcu
28bd30a98e - integrate a vendor patch from
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>
  to correct a problem with logging that could occur in certain cases
  (Squid bug #1605)
- add some of the WWW mirrors found on
  <http://www.squid-cache.org/Mirrors/http-mirrors.html> as additional
  PATCH_SITES
  (thanks to Robert Backhaus for the initial submission)
- make the rc.d script print "Stopping squid." in the hand rolled stop command
  when shutting down, just like default rc.subr stop routine would do

PR:		ports/100056
Submitted by:	maintainer
2006-07-11 09:26:23 +00:00
Jean Milanez Melo
4fcbdb49da - Update the list of MASTER_SITES.
- Update the icap-core patchset to CVS as of 2006-05-25.

PR:		ports/98279
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
Approved by:	mnag (mentor)
2006-06-05 22:00:46 +00:00
Sergey Matveychuk
2b17f205b0 - Integrate a vendor patch published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/> to fix an "assertion
  failed: HttpReply.c:105: rep" error (squid bug #1606).

- Update the customlog patchset accordingly.

- Bump PORTREVISION.

PR:		ports/97066
Submitted by:	maintainer
2006-06-04 19:55:31 +00:00
Renato Botelho
0ee692d937 - Update to 2.5.STABLE14
- accept 7-CURRENT's WITHOUT_NIS switch as a synonym for NO_NIS
- add a missing "/" in files/pkg-message.in
- update the ICAP core patchset to the latest CVS (2006-05-21)
- update the custom logfile patchset to the latest CVS (2006-05-21)

PR:		ports/97607
Submitted by:	maintainer
2006-05-22 16:11:43 +00:00
Emanuel Haupt
b663d9f740 - Introduce four vendor patches [1] which:
- simplify definition of the SQUIDHOSTNAMELEN constant (squid bug #1434)
 - correct display of mime icons when visible_hostname contains only the plain
   hostname  without a domain (squid bug #1532)
 - plug a memory leak in the HTCP client code (squid bug #1553)
 - plug a memory leak in the ident processing code (squid bug #1557)

- Bump PORTREVISION

[1] http://www.squid-cache.org/Versions/v2/2.5/bugs/

PR:		97356
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2006-05-16 21:33:59 +00:00
Pav Lucistnik
f5d5cd4bb4 - Fix WITH_SQUID_CUSTOM_LOG patch to work with 2.5.13
PR:		ports/94665
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2006-03-19 00:20:09 +00:00
Pav Lucistnik
4a5a7a317c - Update to 2.5.STABLE13
- Implement a new option WITH_SQUID_SASL_AUTH, off by default
- Update the ICAP core patchset to the latest CVS
- Extensive portlintification and cleanups

PR:		ports/94642
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2006-03-18 17:11:13 +00:00
Sergey Matveychuk
e8de9cc8fd Implemented custom log format patch, providing similar functionality
to that of Apache LogFormat and CustomLog configuration directives.
This also allows for output in multiple formats to different log files.

See http://devel.squid-cache.org/customlog/ for more information.

PR:		ports/92522
Submitted by:	Matthew Will <mwill@spingen.com>
Approved by:	maintainer
2006-02-04 11:45:40 +00:00
Sergey Matveychuk
7f1969a357 Integrate two vendor patches being published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

- Fix wbinfo_group.pl to correctly work with the wbinfo command
  from samba-3.0.21 (squid bug #1472)

- Fix a crash when accessing async IO function counters via the
  cachemgr CGI in cases where squid was compiled for aufs support
  but not actually using it (squid bug #1464)

While at it, remove an unneeded patch from the ICAP core patchset.

PR:		ports/91831
Submitted by:	maintainer
2006-01-15 15:44:36 +00:00
Jean-Yves Lefort
52b6e16149 Rename the rc script back to squid.sh, since some versions of
/etc/rc.d/localpkg only run scripts ending in .sh

PR:		ports/91387
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>, maintainer
2006-01-09 13:37:54 +00:00