Commit 303c4459 authored by Geoff Simmons's avatar Geoff Simmons

Version 1.0.0, compatible with VRT 8 (Varnish 6.1, libvarnishapi.so.2)

parent 4ac32436
AC_PREREQ(2.68) AC_PREREQ(2.68)
AC_COPYRIGHT([Copyright (c) 2018 UPLEX - Nils Goroll Systemoptimierung]) AC_COPYRIGHT([Copyright (c) 2018 UPLEX - Nils Goroll Systemoptimierung])
AC_INIT([libvmod-selector], [0.5.0], [varnish-support@uplex.de], [vmod-selector]) AC_INIT([libvmod-selector], [1.0.0], [varnish-support@uplex.de], [vmod-selector])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/vmod_selector.vcc) AC_CONFIG_SRCDIR(src/vmod_selector.vcc)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
# - this script (named pkg) # - this script (named pkg)
# - VMOD selector tarball (vmod-selector-$VERSION.tar.gz) # - VMOD selector tarball (vmod-selector-$VERSION.tar.gz)
# - RPM spec file (vmod-selector.spec) # - RPM spec file (vmod-selector.spec)
# - yum repo config for varnish60@packagecloud (varnishcache_varnish60.repo) # - yum repo config for varnish61@packagecloud (varnishcache_varnish61.repo)
# (see https://packagecloud.io/varnishcache/varnish60/install#manual-rpm) # (see https://packagecloud.io/varnishcache/varnish61/install#manual-rpm)
# Sample docker invocation: # Sample docker invocation:
# $ docker run -t -v $PWD:/srv -e VERSION=47.1.1 -e RELEASE=815 \ # $ docker run -t -v $PWD:/srv -e VERSION=47.1.1 -e RELEASE=815 \
...@@ -44,9 +44,9 @@ sudo yum install -y -q \ ...@@ -44,9 +44,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_varnish60.repo /etc/yum.repos.d/ sudo cp /srv/varnishcache_varnish61.repo /etc/yum.repos.d/
sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish60' sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish61'
# 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_varnish60] [varnishcache_varnish61]
name=varnishcache_varnish60 name=varnishcache_varnish61
baseurl=https://packagecloud.io/varnishcache/varnish60/el/7/$basearch baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/$basearch
repo_gpgcheck=1 repo_gpgcheck=1
gpgcheck=0 gpgcheck=0
enabled=1 enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish60/gpgkey gpgkey=https://packagecloud.io/varnishcache/varnish61/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_varnish60-source] [varnishcache_varnish61-source]
name=varnishcache_varnish60-source name=varnishcache_varnish61-source
baseurl=https://packagecloud.io/varnishcache/varnish60/el/7/SRPMS baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/SRPMS
repo_gpgcheck=1 repo_gpgcheck=1
gpgcheck=0 gpgcheck=0
enabled=1 enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish60/gpgkey gpgkey=https://packagecloud.io/varnishcache/varnish61/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-selector URL: https://code.uplex.de/uplex-varnish/libvmod-selector
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
# varnish from varnish60 at packagecloud # varnish from varnish61 at packagecloud
# This is the Provides for VMOD ABI compatibility, currently does not # This is the Provides for VMOD ABI compatibility with VRT >= 8.0.
# allow versioning. # allow versioning.
Requires: varnishabi-7.0 Requires: varnishd(vrt)%{?_isa} >= 8
BuildRequires: varnish-devel >= 6.0.0 BuildRequires: varnish-devel >= 6.1.0
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
...@@ -75,4 +75,7 @@ rm -rf %{buildroot} ...@@ -75,4 +75,7 @@ rm -rf %{buildroot}
%changelog %changelog
* Tue Jul 10 2018 Geoff Simmons <geoff@uplex.de> - %{_version}-%{_release} * Tue Jul 10 2018 Geoff Simmons <geoff@uplex.de> - %{_version}-%{_release}
Compatibilty with VRT 8 (Varnish 6.1 and libvarnishapi.so.2)
* Tue Jul 10 2018 Geoff Simmons <geoff@uplex.de> - 0.5.0-1
Initial package version for compatibility with Varnish 6.0.0. Initial package version for compatibility with Varnish 6.0.0.
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