Commit 7310d62d authored by Geoff Simmons's avatar Geoff Simmons

Update packaging for version 2.7.0 (compatible with Varnish 6.2).

parent 32f974d6
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung]) AC_COPYRIGHT([Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung])
AC_INIT([libvmod-re], [2.6.0]) AC_INIT([libvmod-re], [2.7.0])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst])) m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
AC_CONFIG_SRCDIR(src/vmod_re.vcc) AC_CONFIG_SRCDIR(src/vmod_re.vcc)
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
# - this script (named pkg) # - this script (named pkg)
# - VMOD re tarball (libvmod-re-v$VERSION.tar.gz) # - VMOD re tarball (libvmod-re-v$VERSION.tar.gz)
# - RPM spec file (vmod-re.spec) # - RPM spec file (vmod-re.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,9 +45,9 @@ sudo yum install -y -q \ ...@@ -45,9 +45,9 @@ 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 varnish-devel pkgconfig make gcc python-docutils sudo yum install -y -q varnish-devel pkgconfig make gcc python-docutils
......
[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
...@@ -10,10 +10,10 @@ URL: https://code.uplex.de/uplex-varnish/libvmod-re ...@@ -10,10 +10,10 @@ URL: https://code.uplex.de/uplex-varnish/libvmod-re
Source0: lib%{name}-%{version}.tar.gz Source0: lib%{name}-%{version}.tar.gz
# varnish from varnish60 at packagecloud # varnish from varnish60 at packagecloud
# The Requires specifies ABI >= 8.0 (Varnish 6.1, libvarnishapi.so.2) # The Requires specifies ABI >= 9.0 (Varnish 6.2)
Requires: varnishd(vrt)%{?_isa} >= 8 Requires: varnishd(vrt)%{?_isa} >= 9
BuildRequires: varnish-devel >= 6.1.0 BuildRequires: varnish-devel >= 6.2.0
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
......
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