[arch-commits] Commit in varnish/repos (20 files)

Dave Reisner dreisner at archlinux.org
Mon Mar 14 11:41:21 UTC 2016


    Date: Monday, March 14, 2016 @ 12:41:21
  Author: dreisner
Revision: 261442

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  varnish/repos/extra-i686/PKGBUILD
    (from rev 261441, varnish/trunk/PKGBUILD)
  varnish/repos/extra-i686/varnish-vcl-reload
    (from rev 261441, varnish/trunk/varnish-vcl-reload)
  varnish/repos/extra-i686/varnish.install
    (from rev 261441, varnish/trunk/varnish.install)
  varnish/repos/extra-i686/varnish.service
    (from rev 261441, varnish/trunk/varnish.service)
  varnish/repos/extra-i686/varnish.sysusers
    (from rev 261441, varnish/trunk/varnish.sysusers)
  varnish/repos/extra-x86_64/PKGBUILD
    (from rev 261441, varnish/trunk/PKGBUILD)
  varnish/repos/extra-x86_64/varnish-vcl-reload
    (from rev 261441, varnish/trunk/varnish-vcl-reload)
  varnish/repos/extra-x86_64/varnish.install
    (from rev 261441, varnish/trunk/varnish.install)
  varnish/repos/extra-x86_64/varnish.service
    (from rev 261441, varnish/trunk/varnish.service)
  varnish/repos/extra-x86_64/varnish.sysusers
    (from rev 261441, varnish/trunk/varnish.sysusers)
Deleted:
  varnish/repos/extra-i686/PKGBUILD
  varnish/repos/extra-i686/varnish-vcl-reload
  varnish/repos/extra-i686/varnish.install
  varnish/repos/extra-i686/varnish.service
  varnish/repos/extra-i686/varnish.sysusers
  varnish/repos/extra-x86_64/PKGBUILD
  varnish/repos/extra-x86_64/varnish-vcl-reload
  varnish/repos/extra-x86_64/varnish.install
  varnish/repos/extra-x86_64/varnish.service
  varnish/repos/extra-x86_64/varnish.sysusers

---------------------------------+
 /PKGBUILD                       |  136 ++++++++++++++++++++++++++++++++++++++
 /varnish-vcl-reload             |   40 +++++++++++
 /varnish.install                |   44 ++++++++++++
 /varnish.service                |   30 ++++++++
 /varnish.sysusers               |    4 +
 extra-i686/PKGBUILD             |   57 ---------------
 extra-i686/varnish-vcl-reload   |   20 -----
 extra-i686/varnish.install      |   22 ------
 extra-i686/varnish.service      |   15 ----
 extra-i686/varnish.sysusers     |    2 
 extra-x86_64/PKGBUILD           |   57 ---------------
 extra-x86_64/varnish-vcl-reload |   20 -----
 extra-x86_64/varnish.install    |   22 ------
 extra-x86_64/varnish.service    |   15 ----
 extra-x86_64/varnish.sysusers   |    2 
 15 files changed, 254 insertions(+), 232 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-i686/PKGBUILD	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Douglas Soares de Andrade
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=varnish
-pkgver=4.1.1
-pkgrel=1
-pkgdesc="High-performance HTTP accelerator"
-arch=('i686' 'x86_64')
-url="http://www.varnish-cache.org/"
-license=('BSD')
-depends=('gcc' 'libedit' 'pcre')
-makedepends=('python-docutils')
-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"
-        varnish-vcl-reload
-        varnish.service
-        varnish.sysusers)
-md5sums=('b53ce8ba828a2ea1623d4efa7c4886d1'
-         'b494b41b2a605f406abe63ed02dc117f'
-         '8334d2e108695c121c41833b53838a05'
-         'da8263571f450e3c25fdd3c3b4a1e259')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var/lib \
-    --sbindir=/usr/bin
-
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-
-  install -m755 "$srcdir/varnish-vcl-reload" "$pkgdir/usr/bin"
-  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
-  # create varnish:varnish user/group
-  install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/varnish.conf"
-
-  # config
-  install -Dm644 "etc/example.vcl" "$pkgdir/etc/varnish/default.vcl"
-  install -Dm644 "etc/builtin.vcl" "$pkgdir/usr/share/doc/varnish/builtin.vcl"
-
-  # license
-  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: varnish/repos/extra-i686/PKGBUILD (from rev 261441, varnish/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Douglas Soares de Andrade
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=varnish
+pkgver=4.1.2
+pkgrel=1
+pkgdesc="High-performance HTTP accelerator"
+arch=('i686' 'x86_64')
+url="http://www.varnish-cache.org/"
+license=('BSD')
+depends=('gcc' 'libedit' 'pcre')
+makedepends=('python-docutils')
+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"
+        varnish-vcl-reload
+        varnish.service
+        varnish.sysusers)
+md5sums=('51d446c0193dd773f5a881f7c0beb304'
+         'b494b41b2a605f406abe63ed02dc117f'
+         '8334d2e108695c121c41833b53838a05'
+         'da8263571f450e3c25fdd3c3b4a1e259')
+
+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 \
+    --localstatedir=/var/lib \
+    --sbindir=/usr/bin
+
+  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"
+
+  make DESTDIR="$pkgdir" install
+
+  install -m755 "$srcdir/varnish-vcl-reload" "$pkgdir/usr/bin"
+  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+
+  # create varnish:varnish user/group
+  install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/varnish.conf"
+
+  # config
+  install -Dm644 "etc/example.vcl" "$pkgdir/etc/varnish/default.vcl"
+  install -Dm644 "etc/builtin.vcl" "$pkgdir/usr/share/doc/varnish/builtin.vcl"
+
+  # license
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: extra-i686/varnish-vcl-reload
===================================================================
--- extra-i686/varnish-vcl-reload	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-i686/varnish-vcl-reload	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,20 +0,0 @@
-#!/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
-fi
-
-activecfg=$(varnishadm 'vcl.list' | awk '/active/ { print $4 }')
-if [ -z "$activecfg" ]; then
-  printf 'ERROR: No active VCL found!\n' >&2
-  exit 1
-fi
-
-newcfg=$(date +'vcl-%s')
-printf 'INFO: using new config %s\n' "$cfg"
-
-varnishadm "vcl.load $newcfg $cfg" &&
-varnishadm "vcl.use $newcfg" &&
-varnishadm "vcl.discard $activecfg"

Copied: varnish/repos/extra-i686/varnish-vcl-reload (from rev 261441, varnish/trunk/varnish-vcl-reload)
===================================================================
--- extra-i686/varnish-vcl-reload	                        (rev 0)
+++ extra-i686/varnish-vcl-reload	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,20 @@
+#!/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
+fi
+
+activecfg=$(varnishadm 'vcl.list' | awk '/active/ { print $4 }')
+if [ -z "$activecfg" ]; then
+  printf 'ERROR: No active VCL found!\n' >&2
+  exit 1
+fi
+
+newcfg=$(date +'vcl-%s')
+printf 'INFO: using new config %s\n' "$cfg"
+
+varnishadm "vcl.load $newcfg $cfg" &&
+varnishadm "vcl.use $newcfg" &&
+varnishadm "vcl.discard $activecfg"

Deleted: extra-i686/varnish.install
===================================================================
--- extra-i686/varnish.install	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-i686/varnish.install	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# remove localstatedir -- compiled VCL and slab files will still be here.
-post_remove() {
-  rm -rf var/lib/varnish
-}
-
-post_install() {
-  systemd-sysusers varnish.conf
-}
-
-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"
-  fi
-
-  if [[ $(vercmp 4.1.0-1 "$2") -eq 1 ]]; then
-    systemd-sysusers varnish.conf
-  fi
-}

Copied: varnish/repos/extra-i686/varnish.install (from rev 261441, varnish/trunk/varnish.install)
===================================================================
--- extra-i686/varnish.install	                        (rev 0)
+++ extra-i686/varnish.install	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# remove localstatedir -- compiled VCL and slab files will still be here.
+post_remove() {
+  rm -rf var/lib/varnish
+}
+
+post_install() {
+  systemd-sysusers varnish.conf
+}
+
+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"
+  fi
+
+  if [[ $(vercmp 4.1.0-1 "$2") -eq 1 ]]; then
+    systemd-sysusers varnish.conf
+  fi
+}

Deleted: extra-i686/varnish.service
===================================================================
--- extra-i686/varnish.service	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-i686/varnish.service	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,15 +0,0 @@
-[Unit]
-Description=High-perfomance HTTP accelerator
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/varnishd -j unix -a 0.0.0.0:80 -a [::]:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -F
-ExecReload=/usr/bin/varnish-vcl-reload
-PrivateTmp=true
-PrivateDevices=true
-LimitNOFILE=131072
-LimitMEMLOCK=82000
-LimitCORE=infinity
-
-[Install]
-WantedBy=multi-user.target

Copied: varnish/repos/extra-i686/varnish.service (from rev 261441, varnish/trunk/varnish.service)
===================================================================
--- extra-i686/varnish.service	                        (rev 0)
+++ extra-i686/varnish.service	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,15 @@
+[Unit]
+Description=High-perfomance HTTP accelerator
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/varnishd -j unix -a 0.0.0.0:80 -a [::]:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -F
+ExecReload=/usr/bin/varnish-vcl-reload
+PrivateTmp=true
+PrivateDevices=true
+LimitNOFILE=131072
+LimitMEMLOCK=82000
+LimitCORE=infinity
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-i686/varnish.sysusers
===================================================================
--- extra-i686/varnish.sysusers	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-i686/varnish.sysusers	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,2 +0,0 @@
-u varnish - "Varnish Cache Proxy"
-g varnish -

Copied: varnish/repos/extra-i686/varnish.sysusers (from rev 261441, varnish/trunk/varnish.sysusers)
===================================================================
--- extra-i686/varnish.sysusers	                        (rev 0)
+++ extra-i686/varnish.sysusers	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,2 @@
+u varnish - "Varnish Cache Proxy"
+g varnish -

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-x86_64/PKGBUILD	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Douglas Soares de Andrade
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=varnish
-pkgver=4.1.1
-pkgrel=1
-pkgdesc="High-performance HTTP accelerator"
-arch=('i686' 'x86_64')
-url="http://www.varnish-cache.org/"
-license=('BSD')
-depends=('gcc' 'libedit' 'pcre')
-makedepends=('python-docutils')
-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"
-        varnish-vcl-reload
-        varnish.service
-        varnish.sysusers)
-md5sums=('b53ce8ba828a2ea1623d4efa7c4886d1'
-         'b494b41b2a605f406abe63ed02dc117f'
-         '8334d2e108695c121c41833b53838a05'
-         'da8263571f450e3c25fdd3c3b4a1e259')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var/lib \
-    --sbindir=/usr/bin
-
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-
-  install -m755 "$srcdir/varnish-vcl-reload" "$pkgdir/usr/bin"
-  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
-  # create varnish:varnish user/group
-  install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/varnish.conf"
-
-  # config
-  install -Dm644 "etc/example.vcl" "$pkgdir/etc/varnish/default.vcl"
-  install -Dm644 "etc/builtin.vcl" "$pkgdir/usr/share/doc/varnish/builtin.vcl"
-
-  # license
-  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: varnish/repos/extra-x86_64/PKGBUILD (from rev 261441, varnish/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Douglas Soares de Andrade
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=varnish
+pkgver=4.1.2
+pkgrel=1
+pkgdesc="High-performance HTTP accelerator"
+arch=('i686' 'x86_64')
+url="http://www.varnish-cache.org/"
+license=('BSD')
+depends=('gcc' 'libedit' 'pcre')
+makedepends=('python-docutils')
+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"
+        varnish-vcl-reload
+        varnish.service
+        varnish.sysusers)
+md5sums=('51d446c0193dd773f5a881f7c0beb304'
+         'b494b41b2a605f406abe63ed02dc117f'
+         '8334d2e108695c121c41833b53838a05'
+         'da8263571f450e3c25fdd3c3b4a1e259')
+
+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 \
+    --localstatedir=/var/lib \
+    --sbindir=/usr/bin
+
+  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"
+
+  make DESTDIR="$pkgdir" install
+
+  install -m755 "$srcdir/varnish-vcl-reload" "$pkgdir/usr/bin"
+  install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+
+  # create varnish:varnish user/group
+  install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/varnish.conf"
+
+  # config
+  install -Dm644 "etc/example.vcl" "$pkgdir/etc/varnish/default.vcl"
+  install -Dm644 "etc/builtin.vcl" "$pkgdir/usr/share/doc/varnish/builtin.vcl"
+
+  # license
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: extra-x86_64/varnish-vcl-reload
===================================================================
--- extra-x86_64/varnish-vcl-reload	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-x86_64/varnish-vcl-reload	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,20 +0,0 @@
-#!/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
-fi
-
-activecfg=$(varnishadm 'vcl.list' | awk '/active/ { print $4 }')
-if [ -z "$activecfg" ]; then
-  printf 'ERROR: No active VCL found!\n' >&2
-  exit 1
-fi
-
-newcfg=$(date +'vcl-%s')
-printf 'INFO: using new config %s\n' "$cfg"
-
-varnishadm "vcl.load $newcfg $cfg" &&
-varnishadm "vcl.use $newcfg" &&
-varnishadm "vcl.discard $activecfg"

Copied: varnish/repos/extra-x86_64/varnish-vcl-reload (from rev 261441, varnish/trunk/varnish-vcl-reload)
===================================================================
--- extra-x86_64/varnish-vcl-reload	                        (rev 0)
+++ extra-x86_64/varnish-vcl-reload	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,20 @@
+#!/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
+fi
+
+activecfg=$(varnishadm 'vcl.list' | awk '/active/ { print $4 }')
+if [ -z "$activecfg" ]; then
+  printf 'ERROR: No active VCL found!\n' >&2
+  exit 1
+fi
+
+newcfg=$(date +'vcl-%s')
+printf 'INFO: using new config %s\n' "$cfg"
+
+varnishadm "vcl.load $newcfg $cfg" &&
+varnishadm "vcl.use $newcfg" &&
+varnishadm "vcl.discard $activecfg"

Deleted: extra-x86_64/varnish.install
===================================================================
--- extra-x86_64/varnish.install	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-x86_64/varnish.install	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# remove localstatedir -- compiled VCL and slab files will still be here.
-post_remove() {
-  rm -rf var/lib/varnish
-}
-
-post_install() {
-  systemd-sysusers varnish.conf
-}
-
-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"
-  fi
-
-  if [[ $(vercmp 4.1.0-1 "$2") -eq 1 ]]; then
-    systemd-sysusers varnish.conf
-  fi
-}

Copied: varnish/repos/extra-x86_64/varnish.install (from rev 261441, varnish/trunk/varnish.install)
===================================================================
--- extra-x86_64/varnish.install	                        (rev 0)
+++ extra-x86_64/varnish.install	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# remove localstatedir -- compiled VCL and slab files will still be here.
+post_remove() {
+  rm -rf var/lib/varnish
+}
+
+post_install() {
+  systemd-sysusers varnish.conf
+}
+
+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"
+  fi
+
+  if [[ $(vercmp 4.1.0-1 "$2") -eq 1 ]]; then
+    systemd-sysusers varnish.conf
+  fi
+}

Deleted: extra-x86_64/varnish.service
===================================================================
--- extra-x86_64/varnish.service	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-x86_64/varnish.service	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,15 +0,0 @@
-[Unit]
-Description=High-perfomance HTTP accelerator
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/varnishd -j unix -a 0.0.0.0:80 -a [::]:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -F
-ExecReload=/usr/bin/varnish-vcl-reload
-PrivateTmp=true
-PrivateDevices=true
-LimitNOFILE=131072
-LimitMEMLOCK=82000
-LimitCORE=infinity
-
-[Install]
-WantedBy=multi-user.target

Copied: varnish/repos/extra-x86_64/varnish.service (from rev 261441, varnish/trunk/varnish.service)
===================================================================
--- extra-x86_64/varnish.service	                        (rev 0)
+++ extra-x86_64/varnish.service	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,15 @@
+[Unit]
+Description=High-perfomance HTTP accelerator
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/varnishd -j unix -a 0.0.0.0:80 -a [::]:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -F
+ExecReload=/usr/bin/varnish-vcl-reload
+PrivateTmp=true
+PrivateDevices=true
+LimitNOFILE=131072
+LimitMEMLOCK=82000
+LimitCORE=infinity
+
+[Install]
+WantedBy=multi-user.target

Deleted: extra-x86_64/varnish.sysusers
===================================================================
--- extra-x86_64/varnish.sysusers	2016-03-14 11:40:37 UTC (rev 261441)
+++ extra-x86_64/varnish.sysusers	2016-03-14 11:41:21 UTC (rev 261442)
@@ -1,2 +0,0 @@
-u varnish - "Varnish Cache Proxy"
-g varnish -

Copied: varnish/repos/extra-x86_64/varnish.sysusers (from rev 261441, varnish/trunk/varnish.sysusers)
===================================================================
--- extra-x86_64/varnish.sysusers	                        (rev 0)
+++ extra-x86_64/varnish.sysusers	2016-03-14 11:41:21 UTC (rev 261442)
@@ -0,0 +1,2 @@
+u varnish - "Varnish Cache Proxy"
+g varnish -



More information about the arch-commits mailing list