Compiling Varnish from source¶
If there are no binary packages available for your system, or if you want to compile Varnish from source for other reasons, follow these steps:
Getting hold of the source¶
Download the appropriate release tarball, which you can find on https://varnish-cache.org/releases/ .
Alternatively, if you want to hack on Varnish, you should clone our git repository by doing.
git clone https://github.com/varnishcache/varnish-cache
Build dependencies on FreeBSD¶
To get the dependencies required to build varnish from source you can either:
pkg