Port details on branch 2023Q4 |
- squid HTTP Caching Proxy
- 6.5 www
=0 6.5Version of this port present on the latest quarterly branch. - Maintainer: timp87@gmail.com
 - Port Added: 2023-10-26 12:57:08
- Last Update: 2023-11-10 11:32:56
- Commit Hash: 9c5ab2e
- License: GPLv2
- WWW:
- http://www.squid-cache.org/
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/www/squid/ && make install clean
- To add the package, run one of these commands:
- pkg install www/squid
- pkg install squid
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: squid
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1699367517
SHA256 (squid-6.5.tar.xz) = 5070f8a3ae6666870c8fc716326befb0a1abe8b5ff3a6f3932cbc5543d7c8549
SIZE (squid-6.5.tar.xz) = 2554492
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- perl5>=5.34<5.35 : lang/perl5.34
- Runtime dependencies:
-
- perl5>=5.34<5.35 : lang/perl5.34
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for squid-6.5:
ARP_ACL=on: ARP/MAC/EUI based authentification
CACHE_DIGESTS=on: Use cache digests
DEBUG=off: Build with extended debugging support
DELAY_POOLS=on: Delay pools (bandwidth limiting)
DOCS=on: Build and/or install documentation
ECAP=off: Loadable content adaptation modules
ESI=off: ESI support
EXAMPLES=on: Build and/or install examples
FOLLOW_XFF=on: Support for the X-Following-For header
FS_AUFS=on: AUFS (threaded-io) support
FS_DISKD=on: DISKD storage engine controlled by separate service
FS_ROCK=on: ROCK storage engine
HTCP=on: HTCP support
ICAP=on: the ICAP client
ICMP=on: ICMP pinging and network measurement
IDENT=on: Ident lookups (RFC 931)
IPV6=on: IPv6 protocol support
KQUEUE=on: Kqueue(2) support
LARGEFILE=on: Support large (>2GB) cache and log files
LAX_HTTP=on: Do not enforce strict HTTP compliance
NETTLE=off: Nettle MD5 algorithm support
SNMP=on: SNMP support
SSL=on: SSL gatewaying support
SSL_CRTD=on: Use ssl_crtd to handle SSL cert requests
STACKTRACES=off: Enable automatic backtraces on fatal errors
TDB=off: TrivialDB support required for session and time quota external helpers
VIA_DB=on: Forward/Via database
WCCP=on: Web Cache Coordination Protocol
WCCPV2=on: Web Cache Coordination Protocol v2
====> Authentication helpers
AUTH_LDAP=off: Install LDAP authentication helpers
AUTH_NIS=on: Install NIS/YP authentication helpers
AUTH_SASL=off: Install SASL authentication helpers
AUTH_SMB=off: Install SMB auth. helpers (req. Samba)
AUTH_SQL=off: Install SQL based auth
====> GSSAPI Security API support: you have to select exactly one of them
GSSAPI_NONE=off: Disable GSSAPI support
GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos)
GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
GSSAPI_MIT=off: GSSAPI support via security/krb5
====> Options available for the radio FW: you can only select none or one of them
TP_IPF=off: Transparent proxying with IPFilter
TP_IPFW=on: Transparent proxying with IPFW
TP_PF=off: Transparent proxying with PF
===> Use 'make config' to modify these settings
- Options name:
- www_squid
- USES:
- compiler:c++11-lib cpe gmake localbase:ldflags perl5 shebangfix tar:xz gssapi ssl
- pkg-message:
- For install:
- 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
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.
- Master Sites:
|