88dd211266
Update the squid-2.4 port to actually _be_ squid-2.4 . Phew. This port builds, installs, packages, pkg_delete's cleanly. I'm going to run it through some more linting and tidying up before I'm completely done with it. Differences from squid22/squid23 : * install-pinger isn't built. I'll tackle this later, possibly by creating a squid user/group. I don't like having suid binaries installed, even more so when 99% of the users of this port won't even enable ICMP pinging. * I've enabled the lru and heap replacement policies. LRU is used by default, the beauty here is that the user can choose one or the other without needing a recompile. * I've enabled ufs (sync), diskd (async) and null (no caching, only proxying). This again lets users choose what they want without needing a recompile. The default is still a 100mb cache in /usr/local/squid/cache/ running ufs. I would change it to diskd but if the user hasn't tweaked their sysV shm/msg parameters sufficiently they'll just be puzzled when squid gives mysterious sysV errors (and if they load it up enough to have UFS become an issue, they'd be better off reading the squid FAQ anyhow..)
80 lines
2.4 KiB
Plaintext
80 lines
2.4 KiB
Plaintext
etc/rc.d/squid.sh
|
|
etc/squid/mib.txt
|
|
etc/squid/squid.conf.default
|
|
etc/squid/squid.conf
|
|
etc/squid/mime.conf.default
|
|
etc/squid/mime.conf
|
|
etc/squid/icons/anthony-binhex.gif
|
|
etc/squid/icons/anthony-bomb.gif
|
|
etc/squid/icons/anthony-box.gif
|
|
etc/squid/icons/anthony-box2.gif
|
|
etc/squid/icons/anthony-c.gif
|
|
etc/squid/icons/anthony-compressed.gif
|
|
etc/squid/icons/anthony-dir.gif
|
|
etc/squid/icons/anthony-dirup.gif
|
|
etc/squid/icons/anthony-dvi.gif
|
|
etc/squid/icons/anthony-f.gif
|
|
etc/squid/icons/anthony-image.gif
|
|
etc/squid/icons/anthony-image2.gif
|
|
etc/squid/icons/anthony-layout.gif
|
|
etc/squid/icons/anthony-link.gif
|
|
etc/squid/icons/anthony-movie.gif
|
|
etc/squid/icons/anthony-pdf.gif
|
|
etc/squid/icons/anthony-portal.gif
|
|
etc/squid/icons/anthony-ps.gif
|
|
etc/squid/icons/anthony-quill.gif
|
|
etc/squid/icons/anthony-script.gif
|
|
etc/squid/icons/anthony-sound.gif
|
|
etc/squid/icons/anthony-tar.gif
|
|
etc/squid/icons/anthony-tex.gif
|
|
etc/squid/icons/anthony-text.gif
|
|
etc/squid/icons/anthony-unknown.gif
|
|
etc/squid/icons/anthony-xbm.gif
|
|
etc/squid/icons/anthony-xpm.gif
|
|
etc/squid/errors/ERR_ACCESS_DENIED
|
|
etc/squid/errors/ERR_CACHE_ACCESS_DENIED
|
|
etc/squid/errors/ERR_CACHE_MGR_ACCESS_DENIED
|
|
etc/squid/errors/ERR_CANNOT_FORWARD
|
|
etc/squid/errors/ERR_CONNECT_FAIL
|
|
etc/squid/errors/ERR_DNS_FAIL
|
|
etc/squid/errors/ERR_FORWARDING_DENIED
|
|
etc/squid/errors/ERR_FTP_DISABLED
|
|
etc/squid/errors/ERR_FTP_FAILURE
|
|
etc/squid/errors/ERR_FTP_FORBIDDEN
|
|
etc/squid/errors/ERR_FTP_NOT_FOUND
|
|
etc/squid/errors/ERR_FTP_PUT_CREATED
|
|
etc/squid/errors/ERR_FTP_PUT_ERROR
|
|
etc/squid/errors/ERR_FTP_PUT_MODIFIED
|
|
etc/squid/errors/ERR_FTP_UNAVAILABLE
|
|
etc/squid/errors/ERR_INVALID_REQ
|
|
etc/squid/errors/ERR_INVALID_URL
|
|
etc/squid/errors/ERR_LIFETIME_EXP
|
|
etc/squid/errors/ERR_NO_RELAY
|
|
etc/squid/errors/ERR_ONLY_IF_CACHED_MISS
|
|
etc/squid/errors/ERR_READ_ERROR
|
|
etc/squid/errors/ERR_READ_TIMEOUT
|
|
etc/squid/errors/ERR_SHUTTING_DOWN
|
|
etc/squid/errors/ERR_SOCKET_FAILURE
|
|
etc/squid/errors/ERR_TOO_BIG
|
|
etc/squid/errors/ERR_UNSUP_REQ
|
|
etc/squid/errors/ERR_URN_RESOLVE
|
|
etc/squid/errors/ERR_WRITE_ERROR
|
|
etc/squid/errors/ERR_ZERO_SIZE_OBJECT
|
|
libexec/diskd
|
|
libexec/unlinkd
|
|
libexec/cachemgr.cgi
|
|
sbin/RunCache
|
|
sbin/RunAccel
|
|
sbin/squid
|
|
sbin/client
|
|
@exec mkdir -p %D/squid/cache
|
|
@exec chown nobody:nogroup %D/squid/cache
|
|
@exec mkdir -p %D/squid/logs
|
|
@exec chown nobody:nogroup %D/squid/logs
|
|
@dirrm etc/squid/icons
|
|
@dirrm etc/squid/errors
|
|
@dirrm etc/squid
|
|
@dirrm squid/logs
|
|
@dirrm squid/cache
|
|
@dirrm squid
|