aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-03-27 11:36:30 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-03-27 11:36:30 +0200
commit4564b6c9776eecfece2eb097ebe5aebfd79c9cb8 (patch)
tree12aaa33b46c9f8c85d8b5897079f21ea15ede0fc
parent87ff2f5ebb147d6800b838d8e9dd6063305ddd47 (diff)
downloadvmod-dict-4564b6c9776eecfece2eb097ebe5aebfd79c9cb8.tar.gz
vmod-dict-4564b6c9776eecfece2eb097ebe5aebfd79c9cb8.tar.bz2
Drop support for Varnish versions prior to 6.0
-rw-r--r--NEWS7
-rw-r--r--README5
m---------acvmod0
-rw-r--r--configure.ac4
-rw-r--r--src/vmod_dict.c7
5 files changed, 11 insertions, 12 deletions
diff --git a/NEWS b/NEWS
index a28b8f9..bc30866 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,16 @@
-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
* Support for Varnish 6.3.1
Version 1.2, 2018-12-10
diff --git a/README b/README
index 7c4a5c5..3affbfc 100644
--- a/README
+++ b/README
@@ -34,17 +34,18 @@ table. The module will adjust the load factor to meet this number.
Once loaded, the value corresponding to a given key can be retrieved
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:
./configure
It should be able to automatically find the necessary components. In case
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
@@ -12,13 +12,13 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with vmod_dict. If not, see <http://www.gnu.org/licenses/>.
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])
AC_CONFIG_SRCDIR(src/vmod_dict.vcc)
AM_CONFIG_HEADER(config.h)
AC_SUBST([AC_VMOD_BASENAME],[dict])
@@ -42,13 +42,13 @@ AC_PROG_MAKE_SET
# Checks for header files.
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])
AC_CONFIG_TESTDIR(tests)
AC_CONFIG_FILES([tests/Makefile tests/atlocal])
AM_MISSING_PROG([AUTOM4TE], [autom4te])
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
@@ -19,22 +19,15 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <limits.h>
#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
#ifdef VPFX
# define VEVENT(a) VPFX(a)
#else
/* For compatibility with varnish prior to 6.2 */
# define VEVENT(a) a

Return to:

Send suggestions and report system problems to the System administrator.