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

Dave Reisner dreisner at archlinux.org
Fri Sep 30 00:10:13 UTC 2016


    Date: Friday, September 30, 2016 @ 00:10:12
  Author: dreisner
Revision: 277304

upgpkg: varnish 5.0.0-1

Modified:
  varnish/trunk/PKGBUILD
  varnish/trunk/varnish.install

-----------------+
 PKGBUILD        |   18 +++++++++---------
 varnish.install |   10 ++++------
 2 files changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-30 00:03:54 UTC (rev 277303)
+++ PKGBUILD	2016-09-30 00:10:12 UTC (rev 277304)
@@ -5,11 +5,11 @@
 # Contributor: Roberto Alsina <ralsina at kde.org>
 
 pkgname=varnish
-pkgver=4.1.2
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="High-performance HTTP accelerator"
 arch=('i686' 'x86_64')
-url="http://www.varnish-cache.org/"
+url="https://www.varnish-cache.org/"
 license=('BSD')
 depends=('gcc' 'libedit' 'pcre')
 makedepends=('python-docutils')
@@ -16,20 +16,20 @@
 optdepends=('python: needed for vmod development')
 backup=('etc/varnish/default.vcl')
 install=$pkgname.install
-source=("http://repo.varnish-cache.org/source/$pkgname-$pkgver.tar.gz"
+source=("https://repo.varnish-cache.org/source/$pkgname-$pkgver.tar.gz"
         varnish-vcl-reload
         varnish.service
         varnish.sysusers)
-md5sums=('51d446c0193dd773f5a881f7c0beb304'
-         'b494b41b2a605f406abe63ed02dc117f'
-         '8334d2e108695c121c41833b53838a05'
-         'da8263571f450e3c25fdd3c3b4a1e259')
+sha256sums=('5101ad72b29d288a07e2e5ded4c2abe850b70ff000c13ceb1764625e83823f4a'
+            '0369e3e735e4c6150f08677df8b7cdae1a36ea75fd0e03734abe814a94312f80'
+            '069904391237641eb770e8bc3989d18a3b3a9cb2374b9cd525235bfbb49b6b1d'
+            'b58dd6b00eb81c75e4bb30421b85b2be88c049d5b72a8ee553ba690a5414972b')
 
 build() {
   cd "$pkgname-$pkgver"
 
-  # https://github.com/varnish/Varnish-Cache/pull/88
-  [[ $CARCH == i686 ]] && CFLAGS+=' -ffloat-store -fexcess-precision=standard'
+  # https://github.com/varnishcache/varnish-cache/issues/1875
+  [[ $CARCH == i686 ]] && CFLAGS+=' -fexcess-precision=standard'
 
   ./configure \
     --prefix=/usr \

Modified: varnish.install
===================================================================
--- varnish.install	2016-09-30 00:03:54 UTC (rev 277303)
+++ varnish.install	2016-09-30 00:10:12 UTC (rev 277304)
@@ -1,5 +1,3 @@
-#!/bin/sh
-
 # remove localstatedir -- compiled VCL and slab files will still be here.
 post_remove() {
   rm -rf var/lib/varnish
@@ -10,10 +8,10 @@
 }
 
 post_upgrade() {
-  if [[ $(vercmp 4.0.0-1 "$2") -eq 1 ]]; then
-    echo ":: You must update your VCL to be compatible with 4.0.0. See the following"
-    echo "   upgrade guide to port your configuration:"
-    echo "   https://www.varnish-cache.org/docs/trunk/whats-new/upgrading.html"
+  if [[ $(vercmp 5.0.0-1 "$2") -eq 1 ]]; then
+    echo ":: You must update your VCL to be compatible with varnish 5.0.0. See the"
+    echo "   following upgrade guide to port your configuration:"
+    echo "   http://varnish-cache.org/docs/5.0/whats-new/upgrading-5.0.html"
   fi
 
   if [[ $(vercmp 4.1.0-1 "$2") -eq 1 ]]; then



More information about the arch-commits mailing list