diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-12-10 14:58:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-12-10 14:58:45 +0200 |
commit | 0bf07eac5b81f040a18b9c2071f8b7e6fd06fe44 (patch) | |
tree | 613bd865c8185a26c1723dd6d1879af5e3c2dd1a | |
parent | c8cee8164cf638da3851a2c56a844e5ff3609eb0 (diff) | |
download | vmod-variable-0bf07eac5b81f040a18b9c2071f8b7e6fd06fe44.tar.gz vmod-variable-0bf07eac5b81f040a18b9c2071f8b7e6fd06fe44.tar.bz2 |
Version 1.3 (supports Varnish 6.0.2)release-1.3
-rw-r--r-- | NEWS | 9 | ||||
-rw-r--r-- | README | 16 | ||||
m--------- | acvmod | 0 | ||||
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | src/variable.c | 20 | ||||
-rw-r--r-- | src/vmod-variable.3 | 8 |
6 files changed, 43 insertions, 18 deletions
@@ -1,3 +1,2 @@ -vmod-variable -- history of user-visible changes. 2017-08-10 -Copyright (C) 2015-2017 Sergey Poznyakoff +vmod-variable -- history of user-visible changes. 2018-12-10 See the end of file for copying conditions. @@ -6,2 +5,6 @@ Please send vmod-variable bug reports to <gray@gnu.org> +Version 1.3, 2018-12-10 + +* Support for Varnish 6.0.2 + Version 1.2, 2017-08-10 @@ -28,3 +31,3 @@ Copyright information: -Copyright (C) 2015-2017 Sergey Poznyakoff +Copyright (C) 2015-2018 Sergey Poznyakoff @@ -1,3 +1,2 @@ Vmod-variable README -Copyright (C) 2015 Sergey Poznyakoff See the end of file for copying conditions. @@ -18,3 +17,3 @@ the section "vmod_variable vs. vmod_var". This module provides enhanced variable support for VCL scripts. -It compiles for Varnish versions 3 and 4. +It compiles for Varnish versions from 4.1 to 6.0.2. @@ -221,3 +220,16 @@ http://www.gnu.org.ua/software/vmod-variable. Send bug reports and suggestions to <gray@gnu.org> + +* Copyright information: + +Copyright (C) 2013-2018 Sergey Poznyakoff + + Permission is granted to anyone to make or distribute verbatim copies + of this document as received, in any medium, provided that the + copyright notice and this permission notice are preserved, + thus giving the recipient permission to redistribute in turn. + Permission is granted to distribute modified versions + of this document, or of portions of it, + under the above conditions, provided also that they + carry prominent notices stating who last changed them. diff --git a/acvmod b/acvmod -Subproject 5f6dce2f7dd35a154333bb42d134a018b981f81 +Subproject 5b214e3d72f9e261a37cf31deb41e7f8a61a181 diff --git a/configure.ac b/configure.ac index e80461a..48c7a2f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,3 @@ # This file is part of vmod-variable -*- autoconf -*- -# Copyright (C) 2015-2017 Sergey Poznyakoff +# Copyright (C) 2015-2018 Sergey Poznyakoff # @@ -16,3 +16,3 @@ AC_PREREQ(2.69) -AC_INIT([vmod-variable], [1.2], [gray@gnu.org]) +AC_INIT([vmod-variable], [1.3], [gray@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) @@ -52,3 +52,5 @@ AC_CHECK_LIB(pcre, pcre_compile,, -AM_VARNISHAPI([4.1],[5.1]) +AM_VARNISHAPI([4.1],[6.0.2]) +AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR], + [Varnish API major version number]) diff --git a/src/variable.c b/src/variable.c index feaaa21..b8905be 100644 --- a/src/variable.c +++ b/src/variable.c @@ -1,3 +1,3 @@ /* This file is part of vmod-variable - Copyright (C) 2013-2017 Sergey Poznyakoff + Copyright (C) 2013-2018 Sergey Poznyakoff @@ -21,9 +21,17 @@ #include <errno.h> +#include <string.h> #include <ctype.h> #include <pcre.h> -#include "vrt.h" -#include "vcc_if.h" -#include "pthread.h" -#include "cache/cache.h" - +#include <pthread.h> +#include <limits.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 #define WSPTR(s) ((s)->ws) diff --git a/src/vmod-variable.3 b/src/vmod-variable.3 index f249ad3..b74e069 100644 --- a/src/vmod-variable.3 +++ b/src/vmod-variable.3 @@ -1,3 +1,3 @@ .\" This file is part of Vmod-variable -*- nroff -*- -.\" Copyright (C) 2015 Sergey Poznyakoff +.\" Copyright (C) 2015-2018 Sergey Poznyakoff .\" @@ -15,3 +15,3 @@ .\" along with vmod-variable. If not, see <http://www.gnu.org/licenses/>. -.TH VMOD-VARIABLE 1 "February 16, 2015" "VMOD-VARIABLE" "User Reference" +.TH VMOD-VARIABLE 3 "December 10, 2018" "VMOD-VARIABLE" "User Reference" .SH NAME @@ -223,3 +223,3 @@ if (req.request == "GET") { . ds package vmod-variable -. ds version 1.0 +. ds version 1.3 . so download.inc @@ -234,3 +234,3 @@ Report bugs to <gray@gnu.org>. .SH COPYRIGHT -Copyright \(co 2015 Sergey Poznyakoff +Copyright \(co 2015-2018 Sergey Poznyakoff .br |