2012-12-11 14:43:20 +00:00
|
|
|
# Template file for 'varnish'
|
|
|
|
pkgname=varnish
|
|
|
|
version=3.0.3
|
2012-12-11 15:10:10 +00:00
|
|
|
revision=2
|
2012-12-11 14:43:20 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
|
|
|
makedepends="pkg-config pcre-devel readline-devel"
|
|
|
|
short_desc="A fast caching HTTP reverse proxy"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Simplified BSD"
|
|
|
|
homepage="https://www.varnish-cache.org/"
|
|
|
|
distfiles="http://repo.varnish-cache.org/source/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=2d37d18d952f58b208ac3a0706d4d3e4c0de304b1fcc9df5019571c75f148ab2
|
|
|
|
long_desc="
|
|
|
|
Varnish Cache is a web application accelerator also known as a caching HTTP
|
|
|
|
reverse proxy. You install it in front of any server that speaks HTTP and
|
|
|
|
configure it to cache the contents. Varnish Cache is really, really fast.
|
|
|
|
It typically speeds up delivery with a factor of 300 - 1000x, depending on
|
|
|
|
your architecture. A high level overview of what Varnish does can be seen
|
|
|
|
in the video attached to this web page."
|
|
|
|
|
|
|
|
subpackages="libvarnishapi libvarnishapi-devel"
|
|
|
|
conf_files="/etc/varnish/default.vcl"
|
|
|
|
systemd_services="varnish.service on"
|
2012-12-11 15:10:10 +00:00
|
|
|
make_dirs="/var/varnish 750 nobody nogroup"
|
2012-12-11 14:43:20 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# systemd reload helper
|
|
|
|
vinstall ${FILESDIR}/varnish-vcl-reload 755 usr/sbin
|
|
|
|
# systemd service
|
|
|
|
vinstall ${FILESDIR}/varnish.service 644 usr/lib/systemd/system
|
|
|
|
}
|