aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-08-10 12:18:44 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-08-10 12:18:44 +0300
commit903975e3a400ff59300ec422d5cb3268b2a9c9d6 (patch)
treeedbbb4507a94574636e30cb5b5cd6a66daa9b100
parent374fe721a42d042eedad934ed19f897c884cdd6d (diff)
downloadvmod-binlog-903975e3a400ff59300ec422d5cb3268b2a9c9d6.tar.gz
vmod-binlog-903975e3a400ff59300ec422d5cb3268b2a9c9d6.tar.bz2
Support for varnish 5.1.
* configure.ac: Set version 2.2 (AC_VMOD_BASENAME): New subst variable. * NEWS: Document changes. * README: Likewise. * acvmod: Update. * tests/Makefile.am: Define AT_VMOD_BASENAME in package.m4 * tests/atlocal.in: Add @VARNISH_SBINDIR@ to PATH.
-rw-r--r--NEWS7
-rw-r--r--README6
m---------acvmod0
-rw-r--r--configure.ac5
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/atlocal.in4
6 files changed, 16 insertions, 7 deletions
diff --git a/NEWS b/NEWS
index af878fb..be596dd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,14 @@
-Vmod-binlog NEWS -- history of user-visible changes. 2017-08-06
+Vmod-binlog NEWS -- history of user-visible changes. 2017-08-10
Copyright (C) 2013-2017 Sergey Poznyakoff
See the end of file for copying conditions.
Please send Vmod-binlog bug reports to <gray@gnu.org>
+Version 2.2, 2017-08-10
+
+* Support for Varnish 5.1
+
+
Version 2.1, 2017-08-05
* Support for Varnish 4.1
diff --git a/README b/README
index b961dcd..c1d552b 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
Vmod-binlog README
-Copyright (C) 2013-2014 Sergey Poznyakoff
+Copyright (C) 2013-2017 Sergey Poznyakoff
See the end of file for copying conditions.
* Introduction
@@ -23,6 +23,8 @@ big amounts of information arriving at high rates.
The package provides the module itself and the utilities for listing
and searching in binary log files.
+The module was tested with Varnish versions 4.1, and 5.1.
+
* Installation
In order to compile the package you need to have the varnishd and varnishapi
@@ -90,7 +92,7 @@ Send bug reports and suggestions to <gray@gnu.org>
* Copyright information:
-Copyright (C) 2013-2014 Sergey Poznyakoff
+Copyright (C) 2013-2017 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
diff --git a/acvmod b/acvmod
-Subproject ba32780019480b89cd9d796b93a76cae6afe99a
+Subproject 43ef3ce139aa5ddb9aa0437c356a86290536900
diff --git a/configure.ac b/configure.ac
index b0ce64a..b473238 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,12 +14,13 @@
# You should have received a copy of the GNU General Public License
# along with vmod-binlog. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ(2.69)
-AC_INIT([vmod-binlog], 2.1, [gray@gnu.org])
+AC_INIT([vmod-binlog], 2.2, [gray@gnu.org])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/binlog.c)
AM_CONFIG_HEADER(config.h)
+AC_SUBST([AC_VMOD_BASENAME],[binlog])
AC_CANONICAL_SYSTEM
AC_LANG(C)
@@ -51,7 +52,7 @@ AC_SYS_LARGEFILE
AC_HEADER_STDC
AC_CHECK_HEADERS([sys/stdlib.h])
-AM_VARNISHAPI
+AM_VARNISHAPI([4.1])
AC_SUBST(BINLOGSEL_MODDIR,'$(libdir)/$(PACKAGE)')
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ecaffca..ddb7dd7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -31,6 +31,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.ac
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
+ echo 'm4_define([AT_VMOD_BASENAME], [@AC_VMOD_BASENAME@])'; \
} >$(srcdir)/package.m4
#
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 61d33f4..955d915 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -2,7 +2,7 @@
# Configurable variable values for vmod-binlog test suite.
# Copyright (C) 2013-2017 Sergey Poznyakoff
-PATH=@abs_builddir@:@abs_top_builddir@/src:@abs_top_srcdir@/build-aux:$top_srcdir:$srcdir:$PATH
+PATH=@abs_builddir@:@abs_top_builddir@/src:@abs_top_srcdir@/build-aux:$top_srcdir:$srcdir:@VARNISH_SBINDIR@:$PATH
VARNISHD=@VARNISHD@
-VARNISHTEST="@VARNISHTEST@ -Dvarnishd=$VARNISHD"
+VARNISHTEST=@VARNISHTEST@

Return to:

Send suggestions and report system problems to the System administrator.