BSD Ports

www/squid 7.7 FreeBSD

HTTP Caching Proxy

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c1ddf91668
License
GPLv2
Categories
www
Package size
2471.0 KiB, 8049.2 KiB installed

Description

Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.

In the other systems

SystemPortVersion
FreeBSDwww/squid7.7
OpenBSDwww/squid7.7p0v0
DragonFlywww/squid6.13
MidnightBSDwww/squid7.6

Install

Binary package:

pkg install squid

From the ports tree:

cd /usr/ports/www/squid/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	squid>0:www/squid

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest7.77.75.76.14_17.7
FreeBSD:14:quarterly7.77.7n/a6.147.7
FreeBSD:15:latest7.77.7n/a6.14_16.14_1
FreeBSD:15:quarterly7.77.7n/an/an/a
FreeBSD:16:latest7.77.7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 5
Run dependencies 1
Required by 2

Configuration

Options name: www_squid

OptionDefaultDescription
ARP_ACLonARP/MAC/EUI based authentification
AUTH_LDAPoffInstall LDAP authentication helpers
AUTH_NISonInstall NIS/YP authentication helpers
AUTH_SASLoffInstall SASL authentication helpers
AUTH_SMBoffInstall SMB auth. helpers (req. Samba)
AUTH_SQLoffInstall SQL based auth
CACHE_DIGESTSonUse cache digests
DEBUGoffBuild with extended debugging support
DELAY_POOLSonDelay pools (bandwidth limiting)
DOCSoffBuild and/or install documentation
ECAPoffLoadable content adaptation modules
EXAMPLESoffBuild and/or install examples
FOLLOW_XFFonSupport for the X-Following-For header
FS_AUFSonAUFS (threaded-io) support
FS_DISKDonDISKD storage engine controlled by separate service
FS_ROCKonROCK storage engine
GSSAPI_BASEonGSSAPI support via base system (needs Kerberos)
GSSAPI_HEIMDALoffGSSAPI support via security/heimdal
GSSAPI_MIToffGSSAPI support via security/krb5
GSSAPI_NONEoffDisable GSSAPI support
HTCPonHTCP support
ICAPonthe ICAP client
ICMPonICMP pinging and network measurement
IPV6offIPv6 protocol support
KQUEUEonKqueue(2) support
LARGEFILEonSupport large (>2GB) cache and log files
LAX_HTTPonDo not enforce strict HTTP compliance
NETTLEoffNettle MD5 algorithm support
SNMPonSNMP support
SSLonSSL gatewaying support
SSL_CRTDonUse ssl_crtd to handle SSL cert requests
STACKTRACESoffEnable automatic backtraces on fatal errors
TDBoffTrivialDB support required for session and time quota external helpers
TP_IPFoffTransparent proxying with IPFilter
TP_IPFWonTransparent proxying with IPFW
TP_PFoffTransparent proxying with PF
VIA_DBonForward/Via database
WCCPonWeb Cache Coordination Protocol
WCCPV2onWeb Cache Coordination Protocol v2
USES
compiler:c++17-lang cpe gmake localbase:ldflags perl5 pkgconfig shebangfix tar:xz
Service scripts
squid
Conflicts with
squid-devel

Message after installing

o 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.

Files

Manual pages 27
  • basic_db_auth(8)
  • basic_getpwnam_auth(8)
  • basic_ldap_auth(8)
  • basic_ncsa_auth(8)
  • basic_pam_auth(8)
  • basic_pop3_auth(8)
  • basic_radius_auth(8)
  • basic_sasl_auth(8)
  • digest_file_auth(8)
  • ext_delayer_acl(8)
  • ext_edirectory_userip_acl(8)
  • ext_file_userip_acl(8)
  • ext_kerberos_sid_group_acl(8)
  • ext_ldap_group_acl(8)
  • ext_session_acl(8)
  • ext_sql_session_acl(8)
  • ext_time_quota_acl(8)
  • ext_unix_group_acl(8)
  • ext_wbinfo_group_acl(8)
  • helper-mux(8)
  • log_db_daemon(8)
  • negotiate_kerberos_auth(8)
  • security_fake_certverify(8)
  • security_file_certgen(8)
  • squid(8)
  • storeid_file_rewrite(8)
  • url_lfs_rewrite(8)
pkg-plist 177
  • etc/periodic/weekly/900.squid-rotate-log
  • sbin/squid
  • share/man/man8/url_lfs_rewrite.8.gz
  • share/man/man8/storeid_file_rewrite.8.gz
  • share/man/man8/squid.8.gz
  • share/man/man8/security_fake_certverify.8.gz
  • share/man/man8/log_db_daemon.8.gz
  • share/man/man8/helper-mux.8.gz
  • share/man/man8/ext_unix_group_acl.8.gz
  • share/man/man8/ext_file_userip_acl.8.gz
  • share/man/man8/ext_delayer_acl.8.gz
  • share/man/man8/digest_file_auth.8.gz
  • share/man/man8/basic_radius_auth.8.gz
  • share/man/man8/basic_pop3_auth.8.gz
  • share/man/man8/basic_pam_auth.8.gz
  • share/man/man8/basic_ncsa_auth.8.gz
  • share/man/man8/basic_getpwnam_auth.8.gz
  • share/man/man8/basic_db_auth.8.gz
  • libexec/squid/url_lfs_rewrite
  • libexec/squid/url_fake_rewrite.sh
  • libexec/squid/url_fake_rewrite
  • libexec/squid/storeid_file_rewrite
  • libexec/squid/security_fake_certverify
  • libexec/squid/ntlm_fake_auth
  • libexec/squid/log_file_daemon
  • libexec/squid/log_db_daemon
  • libexec/squid/helper-mux
  • libexec/squid/ext_unix_group_acl
  • libexec/squid/ext_file_userip_acl
  • libexec/squid/ext_delayer_acl
  • libexec/squid/digest_file_auth
  • libexec/squid/basic_radius_auth
  • libexec/squid/basic_pop3_auth
  • libexec/squid/basic_pam_auth
  • libexec/squid/basic_ncsa_auth
  • libexec/squid/basic_getpwnam_auth
  • libexec/squid/basic_fake_auth
  • libexec/squid/basic_db_auth
  • libexec/squid/unlinkd
  • share/man/man8/ext_time_quota_acl.8.gz
  • share/man/man8/ext_session_acl.8.gz
  • libexec/squid/ext_time_quota_acl
  • libexec/squid/ext_session_acl
  • share/man/man8/security_file_certgen.8.gz
  • libexec/squid/security_file_certgen
  • @(,squid,4510) libexec/squid/pinger
  • libexec/squid/diskd
  • etc/squid/squid.conf.documented
  • etc/squid/mib.txt
  • etc/squid/icons/silk/script_palette.png
  • etc/squid/icons/silk/script_gear.png
  • etc/squid/icons/silk/script.png
  • etc/squid/icons/silk/plugin_add.png
  • etc/squid/icons/silk/plugin.png
  • etc/squid/icons/silk/picture.png
  • etc/squid/icons/silk/photo.png
  • etc/squid/icons/silk/page_world.png
  • etc/squid/icons/silk/page_white_zip.png
  • etc/squid/icons/silk/page_white_word.png
  • etc/squid/icons/silk/page_white_text.png
  • etc/squid/icons/silk/page_white_stack.png
  • etc/squid/icons/silk/page_white_powerpoint.png
  • etc/squid/icons/silk/page_white_picture.png
  • etc/squid/icons/silk/page_white_magnify.png
  • etc/squid/icons/silk/page_white_flash.png
  • etc/squid/icons/silk/page_white_cplusplus.png
  • etc/squid/icons/silk/page_white_c.png
  • etc/squid/icons/silk/page_white_acrobat.png
  • etc/squid/icons/silk/page_white.png
  • etc/squid/icons/silk/page_green.png
  • etc/squid/icons/silk/page_excel.png
  • etc/squid/icons/silk/page_code.png
  • etc/squid/icons/silk/package_go.png
  • etc/squid/icons/silk/package.png
  • etc/squid/icons/silk/music.png
  • etc/squid/icons/silk/link.png
  • etc/squid/icons/silk/layout.png
  • etc/squid/icons/silk/layers.png
  • etc/squid/icons/silk/information.png
  • etc/squid/icons/silk/image.png
  • etc/squid/icons/silk/folder_table.png
  • etc/squid/icons/silk/folder.png
  • etc/squid/icons/silk/film_key.png
  • etc/squid/icons/silk/film.png
  • etc/squid/icons/silk/drive_disk.png
  • etc/squid/icons/silk/database_table.png
  • etc/squid/icons/silk/database.png
  • etc/squid/icons/silk/cup.png
  • etc/squid/icons/silk/css.png
  • etc/squid/icons/silk/computer_link.png
  • etc/squid/icons/silk/compress.png
  • etc/squid/icons/silk/chart_line.png
  • etc/squid/icons/silk/cd.png
  • etc/squid/icons/silk/bullet_red.png
  • etc/squid/icons/silk/bricks.png
  • etc/squid/icons/silk/box.png
  • etc/squid/icons/silk/bomb.png
  • etc/squid/icons/silk/arrow_up.png
  • etc/squid/icons/silk/application.png
  • etc/squid/icons/SN.png

The first 100 are listed.

distinfo 1
FileSizeSHA256
squid-7.7.tar.xz2.437896e+06e3bd613b91b1c498ec2992276063342a85cd6edddd5521294e04f44bc055da9b
Master sites 1
  • https://github.com/squid-cache/squid/releases/download/${PORTNAME:tu}_${DISTVERSION:S|.|_|g}/

Commit history 2

DateCommitCreditsLog message
c1ddf91668 ml www/squid: Update 7.6 => 7.7
Changelog: https://github.com/squid-cache/squid/blob/SQUID_7_7/ChangeLog PR: 298736 Security: CVE-2026-47729 Security: GHSA-j9pf-q9f6-v44c Sponsored by: UNIS Labs (vvd, commit patch) MFH: 2026Q3
b7c3610b95 ml www/squid: Update 7.4 => 7.6
Changelogs: https://github.com/squid-cache/squid/blob/SQUID_7_6/ChangeLog PR: 296633 Approved by: Pavel Timofeev <[email protected]> (maintainer) Sponsored by: UNIS Labs Co-authored-by: [email protected] MFH: 2026Q3