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

Dave Reisner dreisner at archlinux.org
Mon Mar 14 11:40:37 UTC 2016


    Date: Monday, March 14, 2016 @ 12:40:37
  Author: dreisner
Revision: 261441

upgpkg: varnish 4.1.2-1

- good luck to i686 users

Modified:
  varnish/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-14 11:24:50 UTC (rev 261440)
+++ PKGBUILD	2016-03-14 11:40:37 UTC (rev 261441)
@@ -5,7 +5,7 @@
 # Contributor: Roberto Alsina <ralsina at kde.org>
 
 pkgname=varnish
-pkgver=4.1.1
+pkgver=4.1.2
 pkgrel=1
 pkgdesc="High-performance HTTP accelerator"
 arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@
         varnish-vcl-reload
         varnish.service
         varnish.sysusers)
-md5sums=('b53ce8ba828a2ea1623d4efa7c4886d1'
+md5sums=('51d446c0193dd773f5a881f7c0beb304'
          'b494b41b2a605f406abe63ed02dc117f'
          '8334d2e108695c121c41833b53838a05'
          'da8263571f450e3c25fdd3c3b4a1e259')
@@ -28,6 +28,9 @@
 build() {
   cd "$pkgname-$pkgver"
 
+  # https://github.com/varnish/Varnish-Cache/pull/88
+  [[ $CARCH == i686 ]] && CFLAGS+=' -ffloat-store -fexcess-precision=standard'
+
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
@@ -37,6 +40,14 @@
   make
 }
 
+check() {
+  cd "$pkgname-$pkgver"
+
+  # Sometimes fails on i686 in address remapping test. Not sure if flaky
+  # test or otherwise...
+  make check
+}
+
 package() {
   cd "$pkgname-$pkgver"
 



More information about the arch-commits mailing list