[arch-commits] Commit in varnish/repos/extra-x86_64 (5 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Mon Jan 31 04:32:34 UTC 2022
Date: Monday, January 31, 2022 @ 04:32:31
Author: svenstaro
Revision: 435572
archrelease: copy trunk to extra-x86_64
Added:
varnish/repos/extra-x86_64/PKGBUILD
(from rev 435571, varnish/trunk/PKGBUILD)
varnish/repos/extra-x86_64/varnish.install
(from rev 435571, varnish/trunk/varnish.install)
Deleted:
varnish/repos/extra-x86_64/PKGBUILD
varnish/repos/extra-x86_64/varnish.install
varnish/repos/extra-x86_64/varnish.sysusers
------------------+
PKGBUILD | 128 ++++++++++++++++++++++++-----------------------------
varnish.install | 16 +-----
varnish.sysusers | 2
3 files changed, 63 insertions(+), 83 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-31 04:32:21 UTC (rev 435571)
+++ PKGBUILD 2022-01-31 04:32:31 UTC (rev 435572)
@@ -1,69 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: 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=7.0.2
-pkgrel=1
-pkgdesc="High-performance HTTP accelerator"
-arch=('x86_64')
-url="https://www.varnish-cache.org/"
-license=('BSD')
-depends=('gcc' 'libnsl' 'pcre2')
-makedepends=('python-docutils' 'python-sphinx' 'git')
-optdepends=('python: needed for vmod development')
-backup=('etc/varnish/default.vcl')
-install=$pkgname.install
-source=("https://varnish-cache.org/_downloads/varnish-$pkgver.tgz"
- "git+https://github.com/varnishcache/pkg-varnish-cache.git#commit=d3e6a3f"
- varnish.sysusers)
-sha512sums=('5eb08345c95152639266b7ad241185188477f8fd04e88e4dfda1579719a1a413790a0616f25d70994f6d3b8f7640ea80926ece7c547555dad856fd9f6960c9a3'
- 'SKIP'
- '1eeeba4ab990c1790495f9ff4625ad37f21e155e08e0c255e09d18c44054f3a59613b81c07d8701610b0b266e5181ae8bbae2523138737f3c4f0e1a6c287bb0c')
-
-prepare() {
- cd "varnish-$pkgver"
-
- ./autogen.sh
-}
-
-build() {
- cd "varnish-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --sbindir=/usr/bin
-
- make
-}
-
-# check() {
-# cd "varnish-$pkgver"
-#
-# make check
-# }
-
-package() {
- cd "varnish-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir/pkg-varnish-cache/systemd/varnish.service" "$pkgdir/usr/lib/systemd/system/varnish.service"
- install -Dm644 "$srcdir/pkg-varnish-cache/systemd/varnishncsa.service" "$pkgdir/usr/lib/systemd/system/varnishncsa.service"
- install -Dm755 "$srcdir/pkg-varnish-cache/systemd/varnishreload" "$pkgdir/usr/bin/varnishreload"
- install -Dm755 "$srcdir/pkg-varnish-cache/systemd/varnish.logrotate" "$pkgdir/etc/logrotate.d/varnish"
-
- # create varnish:varnish user/group
- install -Dm644 "$srcdir/varnish.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 435571, varnish/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-31 04:32:31 UTC (rev 435572)
@@ -0,0 +1,59 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: 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=7.0.2
+pkgrel=2
+pkgdesc="High-performance HTTP accelerator"
+arch=('x86_64')
+url="https://www.varnish-cache.org/"
+license=('BSD')
+depends=('gcc' 'libnsl' 'pcre2')
+makedepends=('python-docutils' 'python-sphinx' 'git')
+optdepends=('python: needed for vmod development')
+backup=('etc/varnish/default.vcl')
+install=$pkgname.install
+source=("https://varnish-cache.org/_downloads/varnish-$pkgver.tgz"
+ "git+https://github.com/varnishcache/pkg-varnish-cache.git#commit=a5df068")
+sha512sums=('5eb08345c95152639266b7ad241185188477f8fd04e88e4dfda1579719a1a413790a0616f25d70994f6d3b8f7640ea80926ece7c547555dad856fd9f6960c9a3'
+ 'SKIP')
+
+build() {
+ cd "varnish-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --sbindir=/usr/bin
+
+ make
+}
+
+check() {
+ cd "varnish-$pkgver"
+
+ rm bin/varnishtest/tests/m00000.vtc
+ make check
+}
+
+package() {
+ cd "varnish-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/pkg-varnish-cache/systemd/varnish.service" "$pkgdir/usr/lib/systemd/system/varnish.service"
+ install -Dm644 "$srcdir/pkg-varnish-cache/systemd/varnishncsa.service" "$pkgdir/usr/lib/systemd/system/varnishncsa.service"
+ install -Dm755 "$srcdir/pkg-varnish-cache/systemd/varnishreload" "$pkgdir/usr/bin/varnishreload"
+ install -Dm755 "$srcdir/pkg-varnish-cache/systemd/varnish.logrotate" "$pkgdir/etc/logrotate.d/varnish"
+ install -Dm755 "$srcdir/pkg-varnish-cache/systemd/varnish.sysusers" "$pkgdir/usr/lib/sysusers.d/varnish.conf"
+
+ # config
+ install -Dm644 "etc/example.vcl" "$pkgdir/etc/varnish/default.vcl"
+
+ # license
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Deleted: varnish.install
===================================================================
--- varnish.install 2022-01-31 04:32:21 UTC (rev 435571)
+++ varnish.install 2022-01-31 04:32:31 UTC (rev 435572)
@@ -1,12 +0,0 @@
-# remove localstatedir -- compiled VCL and slab files will still be here.
-post_remove() {
- rm -rf var/lib/varnish
-}
-
-post_upgrade() {
- if [[ $(vercmp 6.0.0-1 "$2") -eq 1 ]]; then
- echo ":: You must update your VCL to be compatible with varnish 6. See the"
- echo " following upgrade guide to port your configuration:"
- echo " http://varnish-cache.org/docs/6.2/whats-new/upgrading-6.2.html"
- fi
-}
Copied: varnish/repos/extra-x86_64/varnish.install (from rev 435571, varnish/trunk/varnish.install)
===================================================================
--- varnish.install (rev 0)
+++ varnish.install 2022-01-31 04:32:31 UTC (rev 435572)
@@ -0,0 +1,4 @@
+# remove localstatedir -- compiled VCL and slab files will still be here.
+post_remove() {
+ rm -rf var/lib/varnish
+}
Deleted: varnish.sysusers
===================================================================
--- varnish.sysusers 2022-01-31 04:32:21 UTC (rev 435571)
+++ varnish.sysusers 2022-01-31 04:32:31 UTC (rev 435572)
@@ -1,2 +0,0 @@
-u varnishlog -:varnish "Varnish Cache Proxy"
-g varnish -
More information about the arch-commits
mailing list