Update to upstream version 3.5.16 PR: 208463 Submitted by: timp87@gmail.com (maintainer)c0bc304fdc
no CVE referenced
HTTP Caching Proxy
# pkg install squidinstalls 7.7 from latest; from quarterly (2026Q4) 7.7# cd /usr/ports/www/squid && make install clean# make -C /usr/ports/www/squid config # change options first
squid, group squido You can find the configuration files for this package in the
directory /usr/local/etc/squid.
o The default cache directory is /var/squid/cache/.
The default log directory is /var/log/squid/.
Note:
You must initialize new cache directories before you can start
squid. Do this by running "squid -z" as 'root' or 'squid'.
If your cache directories are already initialized (e.g. after an
upgrade of squid) you do not need to initialize them again.
o When using DiskD storage scheme remember to read documentation:
http://wiki.squid-cache.org/Features/DiskDaemon
and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
work reliably without this. Last recomendations were:
kern.ipc.msgmnb=8192
kern.ipc.msgssz=64
kern.ipc.msgtql=2048
o The pre-translated error pages are no longer included into the port.
If you need them install www/squid-langpack port as well.
o The default configuration will deny everyone but the local host and
local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
4291 for IPv6 access to the proxy service. Edit the "http_access
allow/deny" directives in /usr/local/etc/squid/squid.conf
to suit your needs.
o If AUTH_SQL option is set, please, don't forget to install one of
following perl modules depending on database you like:
databases/p5-DBD-mysql (MySQL)
databases/p5-DBD-mysql4 (MariaDB)
databases/p5-DBD-Pg
databases/p5-DBD-SQLite
To enable Squid, set squid_enable=yes in either
/etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
Please see /usr/local/etc/rc.d/squid for further details.
Note:
If you just updated your Squid installation from an earlier version,
make sure to check your Squid configuration against the 3.4 default
configuration file /usr/local/etc/squid/squid.conf.sample.
/usr/local/etc/squid/squid.conf.documented is a fully annotated
configuration file you can consult for further reference.
Additionally, you should check your configuration by calling
'squid -f /path/to/squid.conf -k parse' before starting Squid.| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 7.7 | 7.7 | – |
| FreeBSD 15 | 7.7 | 7.7 | – |
| FreeBSD 14 | 7.7 | 7.7 | 7.7 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 7.7 | 7.7 | – |
| FreeBSD 14 | 7.7 | 7.7 | 7.7 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
pkg audit for the packaged version 7.7.no CVE referenced
no CVE referenced
no CVE referenced
Update to upstream version 3.5.16 PR: 208463 Submitted by: timp87@gmail.com (maintainer)c0bc304fdc
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat: portmgr
Sponsored by: Absolight72ea7e696bwww/squid: cleanup, adding patches 1. Turn ON all options that don't require external dependencies. 2. Split SMB options to more items to make it possible to compile squid with samba36 and samba42.* 3. Set databases/p5-DBI as a dependency for SQL option and add note to pkg-message about perl DBD drivers.* 4. Add fix for PF+IPv6.** 5. Require SSL option if SSL_CRTD is on. 6. Small fixes. 7. Add all available patches from upstream. * thanks to Alonso Cardenas Marquez! ** thanks to Orlando Bassotto! PR: 208290 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer)49060d673c
www/squid: Fix crashes under heavy load Squid 3.5.15 addresses security issues, but reports have been made that it is unstable under load. These patches repair stability while not requiring we downgrade to 3.5.14 which reintroduces security vulnerabilities. PR: 207762 Approved by: maintainer MFH: 2016Q183f061736c
www/squid: update 3.5.14 -> 3.5.15 Changes: * Bug 3870 assertion failed: String.cc: 'len_ + len <65536' in ESI::CustomParser * Fix multiple assertion on String overflows * Fix unit test errors on MacOS * Better handling of huge response headers. Fewer incorrect "Bug #3279" messages * Log noise reduction for eCAP PR: 207454 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) Security: https://vuxml.FreeBSD.org/freebsd/660ebbf5-daeb-11e5-b2bd-002590263bf5.html X-MFH-With: r406625, r40914817dd2f442b
www/squid: update 3.5.13 -> 3.5.14 PR: 207294 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) Security: CVE-2016-2390 Security: https://vuxml.FreeBSD.org/freebsd/56562efb-d5e4-11e5-b2bd-002590263bf5.html X-MFH-Note: MFH not required, only 3.5.13 in ports/head is vulnerable35856a34b0
Bump versions to chase Nettle shared library updatec590f0bad9
www/squid: update 3.5.12 -> 3.5.13 Changes: * Bug 4397: DragonFly BSD, POSIX shared memory is implemented as filepath * Bug 4387: Kerberos build errors on Solaris * TLS: Support Ephemeral Elliptic Curve Diffie-Hellman (EECDH) key exchange * TLS: Complete certificate chains using external intermediate certificates * Avoid memory leaks when an X.509 certificate validator is used with SslBump * Fix connection retry and fallback after failed server TLS connections * Fix GnuTLS detection via pkg-config * Fix startup crash with a misconfigured (too-small) shared memory cache * ... and some documentation updates PR: 206127 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer)8e836c7293
www/squid: Heimdal option build fixes - Fix squid build with Heimdal from ports. - Additionally fix squid build with base Heimdal when Heimdal from ports is installed. PR: 205461 Reported by: dewayne@heuristicsystems.com.au Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) MFH: 2016Q1 (build fix blanket)5c9b906109
Update to 3.5.12 PR: 204913 Submitted by: <timp87@gmail.com> (maintainer)d27395484a
www/squid: update 3.5.10 -> 3.5.11 - Regen patches for new release and for portlint - Drop creating/deleting /var/run/squid in the rc script as this duplicates handling it in the pkg-plist Changes: * Bug 3574: crashes on reconfigure and startup * Bug 4347: compile errors with LibreSSL 2.3 * Bug 4281: copy-paste typos in src/tools.cc * Bug 4279: No response from proxy for FTP-download of non-existing file * Bug 4188: Bumping intercepted SSL connections does not work on Solaris * Fix incorrect authentication headers on cache digest requests * Fix connection stats, including %<lp, missing for persistent connections * Fix invalid memory access issues in SBuf * Avoid errors when parsing manager ACL in old squid.conf PR: 204217 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) Tested by: ncrogers@gmail.com16470e6c22
Update to 3.5.10 PR: 203501 Submitted by: <timp87@gmail.com> (maintainer)5d0ada8ed3
rc.d/squid: Check the config before starting, reloading, or restarting.1252cd9f8c
www/squid: security update and build fix - security update 3.5.8 -> 3.5.9 [1] - Fix TP_IPF build on FreeBSD 9 [2] PR: 203186 [1] PR: 202950 [2] Approved by: Pavel Timofeev <timp87@gmail.com> (maintainer) [1] Security: d3a98c2d-5da1-11e5-9909-002590263bf5 MFH: 2015Q3 X-MFH-With: r391555, r392222, r393602, r396106, r396185, r397215918c4eba90
Rather than produce a warning message that IPv6 is not supported under ipfilter 4 (FreeBSD 9) every tenth time, reduce the message to one in a million. This has the effect of displaying the message at or shortly after startup with a reminder every blue moon. PR: 202950ac8a8b1b7e
Fix TP_IPF build.26b12386e0
www/squid: update 3.5.7 -> 3.5.8 PR: 202826 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) Approved by: feld (mentor)0c4b442c16
www/squid: update 3.5.6 -> 3.5.7 - Fix build with ecap by clang - Get rid of useless and always empty /var/squid/logs - Rework patches to make portlint a bit happier PR: 202053 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer)9d747aadc2
www/squid: pkg-list fix - add missing pkg-plist entry (SSL_CRTD option) PR: 201463 Submitted by: s3erios@gmail.com Approved by: timp87@gmail.com (maintainer)92b6a435d1
www/squid: Support DragonFly SHM segments Out of the box, squid would not run on dragonfly due to its handling of SHM segments. On DragonFly, SHM segments are always treated as files but on FreeBSD it depends on whether or not application is inside a jail. In any case, the case for DragonFly was no supported, so it has been added via patch. This also requires the return of /var/run/squid directory which is where the SHM files are stored (defined by localstatedir and supported by RC script). The RC script would define this directory if missing, but let's make sure it is always available. PR: 201405 Submitted by: marino Approved by: maintainer (timp87/gmail)d49600aa37
Update to 3.5.6 Resolve security issue, no CVE assigned yet Approved by: maintainer Security: 150d1538-23fa-11e5-a4a5-002590263bf5e422358def
- update to 3.5.5 - fix GASSAPI_NONE handling; - unbreak eCAP option, but only for FreeBSD < 10, no luck with clang. PR: 200070 Submitted by: <timp87@gmail.com> (maintainer)671f31feb3
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight60d1a83c2awww/squid finally gets a maintainer Pavel Timofeev spearheaded the update to squid to version 3.5 and has been prepared to be the port's maintainer. Let's make that happen! Thanks for taking care of this popular port, Timp87.bc5ba3417e
www/squid: Add MAP_NOSYNC flay to mmap call This is the same technique used by PostgreSQL to prevent dirty pages from flushing prematurely (performance hit). In any case, it can't hurt and it's been used in production for 18 months. Timp87 provided the 3.5 version of squid; the port is still unmaintained. PR: 198920 Submitted by: emz (norma.perm.ru) concurred: timp87 (gmail)083f772cc8
www/squid: 3.4.12 -> 3.5.3 As it is written on http://www.squid-cache.org/Versions/ for 3.4.x versions: they are no longer intended for general use in new installations. So this is a big upgrade. Changes to squid-3.5.3 (28 Mar 2015): - Regression Bug 4213: negotiate_kerberos_auth: freeing non-dynamic memory - Regression Bug 4206: Incorrect connection close on expect:100-continue - Bug 4204: ./configure does not abort when required helpers cannot be built - Bug 3805: support shared memory on MacOS X in Mem::IPC::Segment - Bug 2907: high CPU usage on CONNECT when using delay pools - basic_getpwnam_auth: fail authentication on crypt() failures - basic_nis_auth: fail authentication on crypt() failures - ext_kerberos_ldap_group_acl: Heimdal support improvements - ext_wbinfo_group_acl: Perl 5.20 support - ... and several compile issues Changes to squid-3.5.2 (18 Feb 2015): - Regression Bug 4176: Digest auth too many helper lookups - Regression Bug 4180: not-fully-initialized data member in ACLUserData - Bug 4172: Solaris broken krb5-config - Bug 4073: Cygwin compile errors - Bug 3919: remove several never-true / never-false comparisons - HTTPS: Add missing root CAs when validating chains that passed internal checks - Fix some cbdataFree related memory leaks - Quieten CBDATA 'leak' messages - Set SNI information in transparent bumping mode - negotiate_kerberos_auth: fix krb5.conf backward compatibility - Fix memory leaks in cachemgr.cgi URL parser - Fix sslproxy_options in peek-and-splice mode - ... and fix several portability and build issues - ... and some documentation updates - ... and all fixes from squid 3.4.11 Changes to squid-3.5.1 (13 Jan 2015): - Fix handling of invalid SSL server certificates when splicing connections - basic_smb_lm_auth: Simplified MSNT basic auth helper - squidclient: Fix -A and -P options - ... and several portability fixes - ... and all fixes from squid 3.4.11 - ... and a lot of documentation updates Changes to squid-3.5.0.4 (21 Dec 2014): - Bug 3826: pt 2: Provide a systemd .service file for Squid - Support http_access denials of SslBump "peeked" connections. - Fix DONT_VERIFY_DOMAIN ssl flag - Fix peek-and-splice mode: certificate validation for domain mismatched errors - negotiate_kerberos_auth: MEMORY keytab and replay cache support - ... and some documentation updates - ... and a large amount of code polishing (non-logic changes) Changes to squid-3.5.0.3 (09 Dec 2014): - Bug 4146: workaround SSL Bump crash on Linux - Bug 4135: Support \-escaped characters in regex patterns - Bug 4131: SIGSEGV at store.cc:962 content_length > store_maxobjsize - Fix delay_parameters parsing - HTTP/2: handle 'PRI' method found in HTTP/1.x traffic - ... and all changes from squid 3.4.10 - ... and a lot of documentation updates Changes to squid-3.5.0.2 (31 Oct 2014): - Fix FTP socket opening during reconfigure - ... and all changes from 3.4.9 - ... and some build errors in rarely used code - ... and several documentation updates Changes to squid-3.5.0.1 (17 Oct 2014): - Port from 2.7: redirector and logging urlgroup feature - Bug 4093: source-maintenance.sh bad perl -i option - Bug 3608: per-service name for workers UDS sockets - Bug 2554: 32-bit wrap in AUFS counters - Bug 1961 pt1: URL handling redesign - Bug 1202 pt1: documentation for refresh_pattern algorithms - Update Squid boilerplate copyright/license - Update the http(s)_port directives protocol= parameter - Update forward_max_tries to permit 25 server paths - Update Kerberos library detection and build options - Support ACLs on ftp_epsv directive - Support >32KB objects in cache_dir rock storage - Support client connection annotation by helpers via clt_conn_tag=TAG - Support native FTP Relay - Support libgnugss Kerberos library - Support libecap v1.0 - Support SSL Peek and Splice feature - Support receiving PROXY protocol version 1 and 2 - Replace --enable-ssl build option with --with-openssl - Enable -n service name command line option for all Squid builds - Enable ICAP client by default - Fix configuration file parsing bugs, related to quoted strings - Fix Windows MinGW build errors - Fix multiple TCP outgoing TOS/DiffServ bugs - Fix Cygwin /etc/resolv.conf parsing - Fix crash when sending %ssl::cert_subject to external ACL w/o certificate - Fix crash reading malformed config files - Send selected SSL version and cipher to the certificate validation helper - Validate server certificates without bumping - Add zero-copy string buffer support - Add automated squid.conf parser testing with squid -k parse - Add adaptation_service ACL - Add logformat code %tS to log transaction start time - Add logformat code %>rd to log client URL domain name - Add key_extras to proxy authentication - Add url_rewrite_extras and store_id_extras directives - Add send_hit and store_miss directives - Add collapsed_forwarding directive - Add sslproxy_cert_sign_hash directive - Add SMP SSL session cache - Add cache_peer standby connections - Add helper ext_delayer_acl - Add TCP_TUNNEL log code for CONNECT tunnels which are not SSL-bumped - Add BUILDCXX and BUILDCXXFLAGS configure options for cross-compile - Remove COSS storage in favour of Rock storage - Remove dnsserver and external DNS helper API in favour of mDNS - Remove broken mallinfo() accounting and memory tracing - Remove hierarchy_stoplist in favour of always_direct - Deprecate tag ACL type in favour of note ACL type - Deprecate urlgroup feature in favour of note ACL type - HTTP/1.1: method names are case-sensitive - HTTP/1.1: register new headers from RFC 723x - squidclient: polish and update help display - squidclient: support TLS with GnuTLS 3.1.5+ - squidclient: support verbosity levels - squidclient: --ping mode module support - url_fake_rewrite: support concurrency - storeid_file_rewrite: support concurrency - digest_file_auth: support concurrency - digest_edirectory_auth: support concurrency - digest_ldap_auth: support concurrency - ... and many error page translation updates - ... and much code cleanup and polishing PR: 198089 Submitted by: Pavel Timofeev <timp87@gmail.com> Tested by: John Marshall <john.marshall@riverwillow.com.au>2175aea539
- Update to 3.4.12 - While I'm here: - Pet portlint - Remove contiguous blank lines Changes: http://www.squid-cache.org/Versions/v3/3.4/RELEASENOTES.html PR: 197812 Submitted by: <timp87@gmail.com>4178d658aa
- Update to 3.4.11 - Fix STACKTRACES option - Put correct permissions on /var directories creted by the port PR: 196711 Submitted by: timp87 at gmail.com77098893f9
www/squid: implement proper backtrace support Now Squid will print full backtrace for problematic cases when it is about to die on some signal and should emit stacktrace. You'll obviously need to compile it with STACKTRACES option. Tested at: KIAE Grid production Squid cluster MFC after: 1 week MFH: 2014Q4 Sponsored by: Kurchatov Institute of Atomic Energy4ecbb0c75b
Remove a directory that is created/deleted by rc script from stagedir4983dfef44
Add security/nettle dependency and fix pkg-plist. Squid detects libnettle when available and uses it without yet forcing it as a required dependency.81d05767f3
www/squid: Upgrade version 3.4.9 => 3.4.10 PR: 195843 Submitted by: timp87 (gmail)a19b2c08dd
Allow building with clang 3.5 Those warnings should be fixed, but squelch them for now PR: ports/195665c1a88cc65e
swapdir should be in /var/squid/cache.269f68db67
www/squid: Remove one file from SHEBANG_FILES ksh was removed from dependencies list in version 3.4.9, so cert_tool doesn't have to be fixed anymore. PR: 194777 Submitted by: timp87 (gmail)599433dc71
www/squid: Upgrade version 3.4.8 => 3.4.9 This update should address some memory leak issues PR: 193938 PR: 194726 Submitted by: timp87 (gmail)88b11813b3
www/squid: DragonFly needs an include CFLAG with Kerberosfa37091ec7
Since http://bazaar.launchpad.net/~squid/squid/3-trunk/revision/12842, Squid's configure script defaults to -march=native, if the flag is supported by the compiler. And this even *overrides* your own specified CPUTYPE or -march= flag! That could cause squid to crash when using a package that was built on a newer CPU type that the one where the package would run on. Submitted by: dim26cf8a5178
Add CPE info to squid ports. Requested by: des@93a48a0444
- Make diskd and rock storage schemes options (diskd enabled by default) [1] - Add note in pkg-message about diskd needing some tuning [1] - Fix transparent proxy with PF [1] [2] - Fix a pair of typos [1] PR: 193705 [1], 193752 [2] Submitted by: arcade@b1t.name [1], kib@ [2]63ba86356f
- Unbreak ECAP option71bca552f4
Update squid to 3.4.8 and add patches to squid33. This update addresses CVE-2014-6270. PR: 193737 Submitted by: timp87 at gmail.com092811c89d
www/squid and www/squid33: Fix plist error depending on selected options PR: 193717 Reported by: kib@ Fixed by: timp87 (gmail)b1f1599e6d
www/squid: Upgrade version 2.7.9 => 3.4.7 From now on, there will only be one squid port, this one. Squid33 has been deprecated and will expire on 31 JAN 2015. PR: 192828 Submitted by: timp87 (gmail) Contributions: takefu (airport.fm), Dennis Glattinge24475de2e
Retire www/squid in a month, and deprecate 6 dependent ports too Squid cache is only supported for one stable release. There was an exception for squid 2.7 (www/squid) as it was supported until squid 3.x reached feature parity which occurred with the release of Squid 3.2 Thus the maintainers of Squid have declared Squid 2.7 reached End-of-Life on 14 August 2012. As a result, set this port to expire on 15 Sept 2014. Seven ports dependent on www/squid have been deprecated with the same date. Perhaps they can be switched to www/squid33 before they expire. Approved by: portmgr (implicit, some ports not staged)8c2460d2e7
Stage www/squid I went further than this PR, removing post-install script invocation and cat messages, preinstall too. This unmaintained port needs some more modernizing, particularly involving options. PR: 189898 Submitted by: Joe (thrallingpenguin.com)eaf047d2e1
www/squid, squid32, squid33: Reset maintainer At least 2 PRs per port have been submitted to provide staging going back to May, but the maintainer has not responded. These PRs prevented the maintainer from being reset on the big pass, so do it now that there are only 2 weeks left to stage these ports. Approved by: portmgr (implicit, NOT_STAGED)9eabe97aba
Convert a bunch of USE_BZIP2 to USES=tar:bzip2 Approved by: portmgr (not really, but touches unstaged ports)bbc8c4d740
Rename www/ patch-xy patches to reflect the files they modify.5fef74e277
net/openldap24-*: - Convert to USES=libtool and bump dependent ports - Avoid USE_AUTOTOOLS - Don't use PTHREAD_LIBS - Use MAKE_CMD databases/glom: - Drop :keepla - Add INSTALL_TARGET=install-strip databases/libgda4* databases/libgda5*: - Convert to USES=libtool and bump dependent ports - USES=tar:xz - Use INSTALL_TARGET=install-strip - Use @sample databases/libgdamm: - Drop :keepla - USES=tar:bzip2 - Use INSTALL_TARGET=install-strip databases/libgdamm5: - Add INSTALL_TARGET=install-strip - Drop --enable-static (inherited from old repocopy) devel/anjuta x11-toolkits/py-gnome-extras: - Drop :keepla dns/powerdns dns/powerdns-devel: - Convert to USES=libtool - Add INSTALL_TARGET=install-strip - Disable static modules - Stop creating library symlinks with .0 suffix, not needed for dynamically opened modules mail/dovecot2: - Add USES=libtool mail/dovecot2-pigeonhole: - Drop CONFIGURE_TARGET (incorrect for Dragonfly) - Add USES=libtool and INSTALL_TARGET=install-strip math/gnumeric: - USES=libtool tar:xz Approved by: portmgr (implicit, bump unstaged ports)37f54e0f66