Commit graph

236 commits

Author SHA1 Message Date
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
Edwin Groothuis
b3f2631a43 [Maintainer] www/squid: rc(8) related fixups
- Fix rc(8) preamble in the squid run script
	- Use the .sh suffix only for the old style script
	- Do not refer to "rcNG" in pkg-install anymore, rcNG is the default
	  rc style by now
	- Bump PORTREVISION (to mark this change and because the package content
	  changes)

PR:		ports/90858
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de>
2005-12-25 23:38:48 +00:00
Renato Botelho
878295ccf1 - Integrate vendor patch to fix a problem with the SMB helper when
--enable-ntlm-fail-open was specified as an additional configuration
  option (squid bug #1022).
  The port does not enable this option by default; document it, while at it.
- Add SHA256 checksum for the squid tarball
- Integrate ICAP client support based upon the icap project's CVS repository,
  turned off by default.
  To activate it, build the port with WITH_SQUID_ICAP defined or rerun
  'make config'.
- Bump PORTREVISION

PR:		ports/90688
Submitted by:	maintainer
2005-12-20 16:01:15 +00:00
Kirill Ponomarev
f903bed87f Update to 2.5.STABLE12
PR:		ports/88327
Submitted by:	maintainer
2005-11-01 14:05:59 +00:00
Renato Botelho
29dca01b77 Integrate the following vendor patches as published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

- document that tcp_outgoing_xxx works badly in combination with
  server_persistent_connections (squid bug #454)
- add more tracing in test mode of squid_ldap_auth (squid bug #1395)
- fix breakage of accel_single_host when combined with
  server_persistent_connection (squid bug #1402)
- correctly implement the CACHE_HTTP_PORT configuration directive
  (squid bug #1403)
- fix the problem that CNAME addresses were remembered with a wrong TTL
  (squid bug #1404)
- fix incorrect handling of squid-internal-dynamic/netdb in conjunction with
  httpd_accel/transparent proxies (squid bug #1410)
- properly revalidate the cache on HEAD requests (squid bug #1411)
- correct handling of Set-Cookie headers on cache refreshes (squid bug #1419)
- fix a vulnerability in the FTP parsing code (squid bug #1426)

PR:		ports/87637
Submitted by:	maintainer
2005-10-19 12:21:11 +00:00
Marcus Alves Grando
c5799da9be Fix smb_auth helper
PR:		86850
Pointed by:	Dean M. Phillips <dmphilli@gmail.com>
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2005-10-06 18:47:55 +00:00
Renato Botelho
8d51ef89de Integrate a patch from
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:
- fix delay pools behaviour which was broken by the patch for squid bug #500,
  introduced in squid-2.5.10_6 (squid bug #1405)

PR:		ports/86669
Submitted by:	maintainer
2005-09-28 12:55:56 +00:00
Renato Botelho
c6e5ee8cbf - Update to 2.5-STABLE11
- Adapt the follow-XFF patches to the changes to squid's sources

PR:		ports/86472
Submitted by:	maintainer
2005-09-22 17:28:33 +00:00
Pav Lucistnik
f8834e53d2 Update the NTLM-scheme patch to version 2. The first version of the patch is
broken (cf <http://www.squid-cache.org/bugs/show_bug.cgi?id=1391>).

PR:		ports/86215
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2005-09-16 17:39:01 +00:00
Pav Lucistnik
43e58bb9bc - Integrate the following vendor patches:
- LDAP helpers do not work with TLS (-Z option)
    (squid bug #1389)
  - Incorrect store dir selection debug message on objects >2G
    (squid bug #1343)
  - Enums cannot be assumed to be signed ints
    (squid bug #1343)
  - Allow leaving core dumps on Linux
    (squid bug #1335)
  - Do not let clients bypass delay pools by faking a cache hit
    (squid bug #500)
  - Fix problems regarding CONNECT requests when squid is configured with
    "pipeline_prefetch on"
  - Fix a possible DOS condition which may be triggered by certain NTLM
    authentication requests
    (squid bug #1391)
- Remove patching relevant to recently removed pf from ports option

PR:		ports/86179
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2005-09-15 20:10:59 +00:00
Pav Lucistnik
3ba03fca82 - Remove dependencies on security/pf, it was removed. pf is in base since
502106

Pointy hat to:	pav
2005-09-14 23:27:00 +00:00
Sergey Matveychuk
b082667271 - Fix somewhat messed up titles in FTP listings (squid bug #1220)
- FTP listings use "BASE HREF" much more than necessary (squid bug #1204)
- Cleanups for 64bit architectures (squid bug #1316)
- Allow wb_ntlm_auth to run more silent (squid bug #518)
- Add a new 'mail_program' configuration option
- Fix a possible denial of service condition regarding sslConnectTimeout
  (squid bug #1355, Secunia Advisory SA16674)
- Avoid a possible assertion failure in StatHist.c (squid bug #1325)
- Fix issues regarding chroot'ed installations on 'squid -k reconfigure'
  (squid bug #1331)
- Make URLs in error pages more consistent and less confusing (squid bug #1342)
- Fix compilation when _FORTIFY_SOURCE is defined (squid bug #1344)
- Fix handling of unexpected 250 replies from certain odd FTP servers
  (squid bug #1348)
- Add Greek error pages (squid bug #1351)
- Fix a possible denial of service condition with regards to aborted requests
  (squid bug #1368)
- Fix the -U option of squid_ldap_auth (squid bug #1370)
- Fix the output of the SNMP cacheClientTable for IP adresses that consist of
  16 digits (squid bug #1375)
- Make the From: field of mails sent from squid configurable to avoid
  mails getting lost due to spam filtering (squid bug #1380)

PR:		ports/85688
Submitted by:	maintainer
2005-09-04 07:57:55 +00:00
Florent Thoumie
aa4c9add34 - Update transparent patch.
PR:		ports/82838
Submitted by:	maintainer
2005-06-30 19:25:09 +00:00
Jean-Yves Lefort
9c2eddd2c6 Update the chroot vendor patch to version 2, cf
http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE10-chroot

PR:		ports/82739
Submitted by:	maintainer
2005-06-29 20:41:27 +00:00
Michael Johnson
342997ec98 - Integrate the following vendor patches as published on
<http://www.squid-cache.org/Versions/v2/2.5/bugs/>:

  + double content-length often harmless (squid bug #1305)
  + update spanish error pages
  + squid internal icons were served with slightly incorrect headers
    (squid bug #1275)
  + squid -k fails in combination with chroot (squid bug #1307)
  + core dump with --enable-ipf-transparent if access to NAT device is denied
    (squid bug #1313)
  + http_accel_single_host incompatible with redirection (squid bug #1314)
  + squid -k reconfigure caused data corruption when a cache_dir type had been
    changed (squid bug #1308)
  + SNMP getnext failed if the given OID was outside the squid MIB (squid bug
    #1317)

PR:		ports/82703
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2005-06-28 02:38:39 +00:00
Jean-Yves Lefort
0561518b0c - Read cachemgr.conf rather than cachemgr.conf.default
- Add a missing %SUBDIR% in MASTER_SITES

PR:		ports/81319
Submitted by:	maintainer
2005-05-22 13:49:22 +00:00
Pav Lucistnik
33ad773d04 - Update Squid to 2.5.STABLE10
PR:		ports/81213
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
2005-05-19 14:17:01 +00:00