diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-03-27 11:36:30 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-03-27 11:36:30 +0200 |
commit | 4564b6c9776eecfece2eb097ebe5aebfd79c9cb8 (patch) | |
tree | 12aaa33b46c9f8c85d8b5897079f21ea15ede0fc | |
parent | 87ff2f5ebb147d6800b838d8e9dd6063305ddd47 (diff) | |
download | vmod-dict-4564b6c9776eecfece2eb097ebe5aebfd79c9cb8.tar.gz vmod-dict-4564b6c9776eecfece2eb097ebe5aebfd79c9cb8.tar.bz2 |
Drop support for Varnish versions prior to 6.0
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | README | 5 | ||||
m--------- | acvmod | 0 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/vmod_dict.c | 13 |
5 files changed, 14 insertions, 15 deletions
@@ -1,7 +1,12 @@ -vmod_dict -- history of user-visible changes. 2020-03-03 +vmod_dict -- history of user-visible changes. 2020-03-27 See the end of file for copying conditions. Please send vmod_dict bug reports to <gray@gnu.org> +Version 1.3.90 (git) + +* Drop support for Varnish versions prior to 6.0.0 + + Version 1.3, 2020-03-03 @@ -38,9 +38,10 @@ as follows: set req.http.X-Value = dict.lookup("key"); +The module has been tested with Varnish versions 6.0.2 -- 6.3.2. + * Installation In order to compile the package you need to have installed -varnishd and varnishapi package. The module has been tested with -Varnish versions 4.1, 5.1, and 6.0.2. +varnishd and varnishapi package. Supposing that condition is met, run: diff --git a/acvmod b/acvmod -Subproject 5b214e3d72f9e261a37cf31deb41e7f8a61a181 +Subproject 99b8dd21c7d1a91021b0a63c0d846ac35c4b009 diff --git a/configure.ac b/configure.ac index c37cc81..0dc3f0b 100644 --- a/configure.ac +++ b/configure.ac @@ -16,5 +16,5 @@ AC_PREREQ(2.69) -AC_INIT([vmod-dict], [1.3], [gray@gnu.org]) +AC_INIT([vmod-dict], [1.3.90], [gray@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) @@ -46,5 +46,5 @@ AC_HEADER_STDC # Check for functions -AM_VARNISHAPI([4.1],[6.3.2]) +AM_VARNISHAPI([6.0.0],[6.3.2]) AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR], [Varnish API major version number]) diff --git a/src/vmod_dict.c b/src/vmod_dict.c index 8c1e230..3163657 100644 --- a/src/vmod_dict.c +++ b/src/vmod_dict.c @@ -23,14 +23,7 @@ #include <ctype.h> #include <syslog.h> -#if VARNISHAPI_MAJOR > 5 -# include <cache/cache.h> -# include <vcl.h> -# include <vcc_if.h> -#else -# include <vcl.h> -# include <vrt.h> -# include <vcc_if.h> -# include <cache/cache.h> -#endif +#include <cache/cache.h> +#include <vcl.h> +#include <vcc_if.h> #ifdef VPFX |