# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {jmr @jmroot} openmaintainer
description advanced proxy caching server for http, https, ftp, gopher
long_description Squid is a high-performance proxy caching server for \
web clients, supporting FTP, gopher, and HTTP data \
objects. Unlike traditional caching software, Squid \
handles all requests in a single, non-blocking, \
I/O-driven process. Squid keeps meta data and \
especially hot objects cached in RAM, caches DNS \
lookups, supports non-blocking DNS lookups, and \
implements negative caching of failed requests. \
Squid 4.x is the latest release series, and needs a \
homepage http://www.squid-cache.org/
master_sites https://mirror.aarnet.edu.au/pub/squid/squid/ \
https://www.mirrorservice.org/sites/ftp.squid-cache.org/pub/squid/ \
http://ftp.ring.gr.jp/archives/net/www/squid/ \
ftp://ftp.is.co.za/pub/squid/ \
ftp://ftp1.cl.squid-cache.org/pub/squid/ \
http://www.squid-cache.org/Versions/v4/ \
ftp://ftp.squid-cache.org/pub/squid/
distname squid-${version}
checksums md5 5c2e335dd1e8ced9dda6e0e11894b344 \
sha1 43c90a1a2eb4d1613f1bfc603ad08e8a835be319 \
rmd160 164d000671dba370ebd1b1d1e36137b1d9d7df67
patchfiles patch-cf.data.pre.diff \
patch-compat_types.h.diff \
patch-basic_pam_auth.cc.diff \
kerberos_ldap_group_Makefile.in.diff \
# ticket #37102, /usr/include/rpcsvc/yp_prot.h tries to redefine bool
patchfiles-append snowleopard-bool.diff
depends_build port:pkgconfig
depends_lib port:expat port:zlib
compiler.cxx_standard 2011
configure.args --mandir=${prefix}/share/man \
--sysconfdir=${prefix}/etc/squid \
--datadir=${prefix}/share/squid \
--localstatedir=${prefix}/var/squid \
--libexecdir=${prefix}/libexec/squid \
--with-swapdir=${prefix}/var/squid/cache \
--with-pidfile=${prefix}/var/run/squid/squid.pid \
--disable-strict-error-checking \