Commit 6f9de335 authored by Geoff Simmons's avatar Geoff Simmons

Set version 2.6.0, update RPM packaging, and update REQUIREMENTS.

parent af1ab5f9
...@@ -1357,9 +1357,9 @@ selector failure``. ...@@ -1357,9 +1357,9 @@ selector failure``.
REQUIREMENTS REQUIREMENTS
============ ============
The VMOD requires Varnish as of the current master branch. See the The VMOD requires Varnish since version 6.6.0. See the source
source repository for versions of the VMOD that are compatible with repository for versions of the VMOD that are compatible with released
released versions of Varnish. versions of Varnish.
INSTALLATION INSTALLATION
============ ============
......
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], [trunk], [varnish-support@uplex.de], [vmod-selector]) AC_INIT([libvmod-selector], [2.6.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 varnish61@packagecloud (varnishcache_varnish61.repo) # - yum repo config for varnish66@packagecloud (varnishcache_varnish66.repo)
# (see https://packagecloud.io/varnishcache/varnish61/install#manual-rpm) # (see https://packagecloud.io/varnishcache/varnish66/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_varnish61.repo /etc/yum.repos.d/ sudo cp /srv/varnishcache_varnish66.repo /etc/yum.repos.d/
sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish61' sudo yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish66'
# 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_varnish66]
name=varnishcache_varnish61 name=varnishcache_varnish66
baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/$basearch baseurl=https://packagecloud.io/varnishcache/varnish66/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/varnish66/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_varnish66-source]
name=varnishcache_varnish61-source name=varnishcache_varnish66-source
baseurl=https://packagecloud.io/varnishcache/varnish61/el/7/SRPMS baseurl=https://packagecloud.io/varnishcache/varnish66/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/varnish66/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-selector ...@@ -10,10 +10,10 @@ URL: https://code.uplex.de/uplex-varnish/libvmod-selector
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
# varnish from varnish61 at packagecloud # varnish from varnish61 at packagecloud
# This is the Requires for VMOD ABI compatibility with VRT >= 8.0. # This is the Requires for VMOD ABI compatibility with VRT >= 13.0.
Requires: varnishd(vrt)%{?_isa} >= 8 Requires: varnishd(vrt)%{?_isa} >= 13
BuildRequires: varnish-devel >= 6.1.0 BuildRequires: varnish-devel >= 6.6.0
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
...@@ -73,7 +73,35 @@ rm -rf %{buildroot} ...@@ -73,7 +73,35 @@ rm -rf %{buildroot}
/sbin/ldconfig /sbin/ldconfig
%changelog %changelog
* Fri Nov 30 2018 Geoff Simmons <geoff@uplex.de> - %{_version}-%{_release} * Wed Apr 21 2021 Geoff Simmons <geoff@uplex.de> - %{_version}-%{_release}
- Require VRT 13.0, compatible with Varnish 6.6
- Add .subroutine(), .check_call() and .bool()
- .compile() no longer required, and is deprecated
- Some source code re-org, for smaller sources
* Wed Dec 30 2020 Geoff Simmons <geoff@uplex.de> - 2.5.0-1
- Refactoring with breaking changes
- Faster implementations of .match() and .hasprefix()
- Compatible with VRT >= 12.0 (Varnish >= 6.5.1)
- .compile() is now required in vcl_init
- Various methods may invoke VCL failure on unrecoverable errors.
- Some means have been added to safeguard against VCL failure.
- Added the 'element' parameter, sets may now be used as associative arrays.
- For details see CHANGES.md in the source repository.
* Mon Dec 9 2019 Geoff Simmons <geoff@uplex.de> - 1.3.1-1
- Bugfix object finalization (issue #1)
* Tue Oct 8 2019 Geoff Simmons <geoff@uplex.de> - 1.3.0-1
- Require VRT 10.0, compatible with Varnish 6.3
* Fri Aug 23 2019 Geoff Simmons <geoff@uplex.de> - 1.2.0-1
Add the integer param to .add(), and the .integer() method.
* Tue Apr 16 2019 Geoff Simmons <geoff@uplex.de> - 1.1.0-1
Compatibilty with VRT 9 (Varnish 6.2)
* Fri Nov 30 2018 Geoff Simmons <geoff@uplex.de> - 1.0.0-1
Compatibilty with VRT 8 (Varnish 6.1 and libvarnishapi.so.2) Compatibilty with VRT 8 (Varnish 6.1 and libvarnishapi.so.2)
* Tue Jul 10 2018 Geoff Simmons <geoff@uplex.de> - 0.5.0-1 * Tue Jul 10 2018 Geoff Simmons <geoff@uplex.de> - 0.5.0-1
......
...@@ -1210,9 +1210,9 @@ selector failure``. ...@@ -1210,9 +1210,9 @@ selector failure``.
REQUIREMENTS REQUIREMENTS
============ ============
The VMOD requires Varnish as of the current master branch. See the The VMOD requires Varnish since version 6.6.0. See the source
source repository for versions of the VMOD that are compatible with repository for versions of the VMOD that are compatible with released
released versions of Varnish. versions of Varnish.
INSTALLATION INSTALLATION
============ ============
......
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