diff options
Diffstat (limited to 'extra/varnish')
-rw-r--r-- | extra/varnish/PKGBUILD | 13 | ||||
-rw-r--r-- | extra/varnish/varnish-vcl-reload | 1 |
2 files changed, 8 insertions, 6 deletions
diff --git a/extra/varnish/PKGBUILD b/extra/varnish/PKGBUILD index 89e9a668e..126dbd27b 100644 --- a/extra/varnish/PKGBUILD +++ b/extra/varnish/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 165295 2012-08-15 00:30:47Z dreisner $ +# $Id: PKGBUILD 165515 2012-08-21 21:58:47Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Douglas Soares de Andrade # Contributor: Roberto Alsina <ralsina@kde.org> pkgname=varnish -pkgver=3.0.2 -pkgrel=6 +pkgver=3.0.3 +pkgrel=1 pkgdesc="High-performance HTTP accelerator" arch=('i686' 'x86_64') url="http://www.varnish-cache.org/" @@ -21,15 +21,18 @@ source=("http://repo.varnish-cache.org/source/$pkgname-$pkgver.tar.gz" "rc.$pkgname" varnish-vcl-reload varnish.service) -md5sums=('c8eae0aabbe66b6daabdf3a1f58cd47a' +md5sums=('714310c83fdbd2061d897dacd3f63d8b' 'edd1237d097d72173d9772754335890c' '40b4c83b3ad225ed2f4bd7e677fe41a2' - '56be884f43b8b4c900a073d9282f124a' + '03196dee7fc68e75069393d52c370762' '45cc1fd57aa2ffc22d6af62f9eedc842') build() { cd "$pkgname-$pkgver" + # disable JIT compilation for now, as it's crashy on VCL reload + sed -i '/pcre_study/ s/PCRE_STUDY_JIT_COMPILE/0/' lib/libvarnish/vre.c + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/extra/varnish/varnish-vcl-reload b/extra/varnish/varnish-vcl-reload index aaac385c4..7e84a258b 100644 --- a/extra/varnish/varnish-vcl-reload +++ b/extra/varnish/varnish-vcl-reload @@ -1,7 +1,6 @@ #!/bin/sh cfg=${1:-/etc/varnish/default.vcl} - if [ ! -e "$cfg" ]; then printf 'ERROR: VCL file %s does not exist\n' "$cfg" >&2 exit 1 |