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 @@ ...@@ -10,8 +10,8 @@
# - this script (named pkg) # - this script (named pkg)
# - VMOD re2 tarball (vmod-re2-$VERSION.tar.gz) # - VMOD re2 tarball (vmod-re2-$VERSION.tar.gz)
# - RPM spec file (vmod-re2.spec) # - RPM spec file (vmod-re2.spec)
# - yum repo config for varnish61@packagecloud (varnishcache_varnish61.repo) # - yum repo config for varnish62@packagecloud (varnishcache_varnish62.repo)
# (see https://packagecloud.io/varnishcache/varnish61/install#manual-rpm) # (see https://packagecloud.io/varnishcache/varnish62/install#manual-rpm)
# So this is a sample docker invocation: # So this is a sample docker invocation:
# #
...@@ -45,13 +45,13 @@ sudo yum install -y -q \ ...@@ -45,13 +45,13 @@ sudo yum install -y -q \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# set up varnish repo # 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 # build requirements
sudo yum install -y -q \ sudo yum install -y -q varnish-devel re2-devel pkgconfig make gcc gcc-c++ \
varnish-devel re2-devel pkgconfig make gcc gcc-c++ python-docutils python-docutils
# build RPMs # build RPMs
rpmbuild -ba -D "dist .${DIST}" \ rpmbuild -ba -D "dist .${DIST}" \
......
[varnishcache_varnish61] [varnishcache_varnish62]
name=varnishcache_varnish61 name=varnishcache_varnish62
baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/$basearch baseurl=https://packagecloud.io/varnishcache/varnish62/el/7/$basearch
repo_gpgcheck=1 repo_gpgcheck=1
gpgcheck=0 gpgcheck=0
enabled=1 enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish61/gpgkey gpgkey=https://packagecloud.io/varnishcache/varnish62/gpgkey
sslverify=1 sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300 metadata_expire=300
[varnishcache_varnish61-source] [varnishcache_varnish62-source]
name=varnishcache_varnish61-source name=varnishcache_varnish62-source
baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/SRPMS baseurl=https://packagecloud.io/varnishcache/varnish62/el/7/SRPMS
repo_gpgcheck=1 repo_gpgcheck=1
gpgcheck=0 gpgcheck=0
enabled=1 enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish61/gpgkey gpgkey=https://packagecloud.io/varnishcache/varnish62/gpgkey
sslverify=1 sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300 metadata_expire=300
...@@ -9,12 +9,12 @@ Group: System Environment/Daemons ...@@ -9,12 +9,12 @@ Group: System Environment/Daemons
URL: https://code.uplex.de/uplex-varnish/libvmod-re2 URL: https://code.uplex.de/uplex-varnish/libvmod-re2
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
# varnish from varnish61 at packagecloud # varnish from varnish62 at packagecloud
# This is the Requires for VMOD ABI compatibility with VRT >= 8.0. # This is the Requires for VMOD ABI compatibility with VRT >= 9.0.
Requires: varnishd(vrt)%{?_isa} >= 8 Requires: varnishd(vrt)%{?_isa} >= 9
Requires: re2 >= 20150501 Requires: re2 >= 20150501
BuildRequires: varnish-devel >= 6.1.0 BuildRequires: varnish-devel >= 6.2.0
BuildRequires: re2-devel >= 20150501 BuildRequires: re2-devel >= 20150501
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: make BuildRequires: make
...@@ -75,6 +75,9 @@ rm -rf %{buildroot} ...@@ -75,6 +75,9 @@ rm -rf %{buildroot}
/sbin/ldconfig /sbin/ldconfig
%changelog %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 * 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 - 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