Commit 1c2f3ef0 authored by Geoff Simmons's avatar Geoff Simmons

Update RPM builds for VRT 9.0 / Varnish 6.2.0.

parent f05a1bc5
......@@ -10,8 +10,8 @@
# - this script (named pkg)
# - VMOD re2 tarball (vmod-re2-$VERSION.tar.gz)
# - RPM spec file (vmod-re2.spec)
# - yum repo config for varnish61@packagecloud (varnishcache_varnish61.repo)
# (see https://packagecloud.io/varnishcache/varnish61/install#manual-rpm)
# - yum repo config for varnish62@packagecloud (varnishcache_varnish62.repo)
# (see https://packagecloud.io/varnishcache/varnish62/install#manual-rpm)
# So this is a sample docker invocation:
#
......@@ -45,13 +45,13 @@ sudo yum install -y -q \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# set up varnish repo
sudo cp /srv/varnishcache_varnish61.repo /etc/yum.repos.d/
sudo cp /srv/varnishcache_varnish62.repo /etc/yum.repos.d/
sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish61'
sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish62'
# build requirements
sudo yum install -y -q \
varnish-devel re2-devel pkgconfig make gcc gcc-c++ python-docutils
sudo yum install -y -q varnish-devel re2-devel pkgconfig make gcc gcc-c++ \
python-docutils
# build RPMs
rpmbuild -ba -D "dist .${DIST}" \
......
[varnishcache_varnish61]
name=varnishcache_varnish61
baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/$basearch
[varnishcache_varnish62]
name=varnishcache_varnish62
baseurl=https://packagecloud.io/varnishcache/varnish62/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish61/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish62/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[varnishcache_varnish61-source]
name=varnishcache_varnish61-source
baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/SRPMS
[varnishcache_varnish62-source]
name=varnishcache_varnish62-source
baseurl=https://packagecloud.io/varnishcache/varnish62/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish61/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish62/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
......@@ -9,12 +9,12 @@ Group: System Environment/Daemons
URL: https://code.uplex.de/uplex-varnish/libvmod-re2
Source0: %{name}-%{version}.tar.gz
# varnish from varnish61 at packagecloud
# This is the Requires for VMOD ABI compatibility with VRT >= 8.0.
Requires: varnishd(vrt)%{?_isa} >= 8
# varnish from varnish62 at packagecloud
# This is the Requires for VMOD ABI compatibility with VRT >= 9.0.
Requires: varnishd(vrt)%{?_isa} >= 9
Requires: re2 >= 20150501
BuildRequires: varnish-devel >= 6.1.0
BuildRequires: varnish-devel >= 6.2.0
BuildRequires: re2-devel >= 20150501
BuildRequires: pkgconfig
BuildRequires: make
......@@ -75,6 +75,9 @@ rm -rf %{buildroot}
/sbin/ldconfig
%changelog
* Mon Apr 15 2019 Geoff Simmons <geoff@uplex.de> - 1.6.2
- Dependency is VRT 9.0, compatible with Varnish 6.2
* Mon Dec 3 2018 Geoff Simmons <geoff@uplex.de> - 1.6.1
- True dependency on VRT 8.0, compatible with Varnish 6.1, libvarnishapi.so.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment