[arch-commits] Commit in varnish/trunk (PKGBUILD varnish-vcl-reload)

Dave Reisner dreisner at archlinux.org
Tue Aug 21 21:58:26 UTC 2012


    Date: Tuesday, August 21, 2012 @ 17:58:26
  Author: dreisner
Revision: 165514

upgpkg: varnish 3.0.3-1

- upstream release, freshly broken by toofishes. Leave PCRE_JIT compilation
  disabled for now until I can dissect and follow up with varnish/PCRE
  upstream.

Modified:
  varnish/trunk/PKGBUILD
  varnish/trunk/varnish-vcl-reload

--------------------+
 PKGBUILD           |   11 +++++++----
 varnish-vcl-reload |    1 -
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-08-21 19:57:50 UTC (rev 165513)
+++ PKGBUILD	2012-08-21 21:58:26 UTC (rev 165514)
@@ -5,8 +5,8 @@
 # Contributor: Roberto Alsina <ralsina at 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 @@
         "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 \

Modified: varnish-vcl-reload
===================================================================
--- varnish-vcl-reload	2012-08-21 19:57:50 UTC (rev 165513)
+++ varnish-vcl-reload	2012-08-21 21:58:26 UTC (rev 165514)
@@ -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




More information about the arch-commits mailing list