aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--NEWS11
-rw-r--r--README2
m---------acvmod0
-rw-r--r--configure.ac6
-rw-r--r--doc/vmod-binlog.38
6 files changed, 22 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am
index bea7975..4827d59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,20 +1,26 @@
# This file is part of vmod-binlog
# Copyright (C) 2013-2018 Sergey Poznyakoff
#
# Vmod-binlog is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Vmod-binlog is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with vmod-binlog. If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4 -I acvmod
SUBDIRS = libltdl src tests doc
include acvmod/top.am
+
+# Work around a bug in automake 1.16: when generating disclean rule
+# for libltdl, it ignores lt__strl.o and lt__strl.o which causes
+# distclean failure.
+distclean-local:
+ rm -rf ./libltdl/.deps
diff --git a/NEWS b/NEWS
index 96a0c6c..cf3fd55 100644
--- a/NEWS
+++ b/NEWS
@@ -1,71 +1,76 @@
-Vmod-binlog NEWS -- history of user-visible changes. 2020-03-26
+Vmod-binlog NEWS -- history of user-visible changes. 2022-08-21
See the end of file for copying conditions.
Please send Vmod-binlog bug reports to <gray@gnu.org>
-Version 2.5.90 (git)
+Version 2.7, 2022-08-21
+
+* Support for Varnish 7.1
+
+
+Version 2.6, 2020-04-09
* Dropped support for Varnish versions prior to 6.0
Version 2.5, 2020-03-10
* Restore backward compatibility with Varnish versions prior to 6.2.
Version 2.4, 2020-03-03
* Support for Varnish 6.3.1
Version 2.3, 2018-12-10
* Support for Varnish 6.0.2
Version 2.2, 2017-08-10
* Support for Varnish 5.1
Version 2.1, 2017-08-05
* Support for Varnish 4.1
* The --with-varnish-source option has been withdrawn
The configure script relies on pkg-config to determine the location of
Varnish header files and libraries.
Version 2.0, 2014-11-13
Support for VCL 4.0
Version 1.0, 2013-10-19
Initial release.
* Copyright information:
-Copyright (C) 2013-2018 Sergey Poznyakoff
+Copyright (C) 2013-2020 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.
Local variables:
mode: outline
paragraph-separate: "[ ]*$"
eval: (add-hook 'write-file-hooks 'time-stamp)
time-stamp-start: "changes. "
time-stamp-format: "%:y-%02m-%02d"
time-stamp-end: "\n"
end:
diff --git a/README b/README
index 21da492..1e00c9f 100644
--- a/README
+++ b/README
@@ -1,49 +1,49 @@
Vmod-binlog README
See the end of file for copying conditions.
* Introduction
This file contains brief information about configuring, testing
and using vmod-binlog. It is *not* intended as a replacement
for the documentation, and is provided as a brief reference only.
For accessing complete vmod-binlog documentation, see the section
'Documentation' below.
* Overview
Vmod-binlog is a module for Varnish Cache. It provides support for
writing binary log files from VCL scripts.
A binary log file consists of an arbitrary number of equally sized
records. Each record contains a UNIX timestamp in binary form and
arbitrary user-defined data. Such files are convenient for storing
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 6.0.2 through 6.3.2.
+The module was tested with Varnish versions 6.0.2 through 6.4.0.
* Installation
In order to compile the package you need to have the varnishd and varnishapi
packages installed.
Supposing that condition is met, run:
./configure
It should be able to automatically find the necessary components. In case
it doesn't, tweak the configuration variables as necessary. The most
important one is PKG_CONFIG_PATH, which contains a path (in the UNIX sense)
where the .pc files are located. It should contain a directory where the
'varnishapi.pc' file lives. Example usage:
./configure PKG_CONFIG_PATH=/usr/local/varnish/lib/pkgconfig:$PKG_CONFIG_PATH
Please read the file INSTALL for a detailed discussion of available variables
and command line options.
Once configured, do
make
diff --git a/acvmod b/acvmod
-Subproject 99b8dd21c7d1a91021b0a63c0d846ac35c4b009
+Subproject 0516e2461e8f2e3b33a7fffa13705cdb1de77c5
diff --git a/configure.ac b/configure.ac
index 6f28517..898f013 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,71 +1,71 @@
# This file is part of vmod-binlog
-# Copyright (C) 2013-2020 Sergey Poznyakoff
+# Copyright (C) 2013-2022 Sergey Poznyakoff
#
# Vmod-binlog is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Vmod-binlog is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# 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.5.90, [gray@gnu.org])
+AC_INIT([vmod-binlog], 2.7, [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)
AM_INIT_AUTOMAKE([1.14 gnu tar-ustar subdir-objects silent-rules])
AM_SILENT_RULES([yes])
AC_GNU_SOURCE
AC_PROG_CC
AC_PROG_CC_STDC
AM_PROG_CC_C_O
if test "x$ac_cv_prog_cc_c99" = xno; then
AC_MSG_ERROR([could not find a C99 compatible compiler])
fi
AC_PROG_CPP
AC_PROG_YACC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_MAKE_SET
LT_PREREQ(2.2.5a)
LT_CONFIG_LTDL_DIR([libltdl])
LT_INIT([dlopen])
LTDL_INIT([recursive])
AC_CONFIG_FILES([libltdl/Makefile])
AC_SYS_LARGEFILE
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([sys/stdlib.h])
-AM_VARNISHAPI([6.0],[6.3.2])
+AM_VARNISHAPI([6.0],[7.1])
AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR],
[Varnish API major version number])
AC_SUBST(BINLOGSEL_MODDIR,'$(libdir)/$(PACKAGE)')
# Initialize the test suite.
AC_CONFIG_TESTDIR(tests)
AC_CONFIG_FILES([tests/Makefile tests/atlocal])
AM_MISSING_PROG([AUTOM4TE], [autom4te])
AC_CONFIG_FILES([
Makefile
src/Makefile
doc/Makefile
])
AC_OUTPUT
diff --git a/doc/vmod-binlog.3 b/doc/vmod-binlog.3
index cd74f59..84621e2 100644
--- a/doc/vmod-binlog.3
+++ b/doc/vmod-binlog.3
@@ -1,40 +1,40 @@
.\" This file is part of Vmod-binlog -*- nroff -*-
-.\" Copyright (C) 2013-2018 Sergey Poznyakoff
+.\" Copyright (C) 2013-2022 Sergey Poznyakoff
.\"
.\" Vmod-binlog is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 3, or (at your option)
.\" any later version.
.\"
.\" Vmod-binlog is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with vmod-binlog. If not, see <http://www.gnu.org/licenses/>.
-.TH VMOD-BINLOG 3 "December 10, 2018" "VMOD-BINLOG" "User Reference"
+.TH VMOD-BINLOG 3 "April 9, 2020" "VMOD-BINLOG" "User Reference"
.SH NAME
vmod\-binlog \- binary log file support for Varnish Cache.
.SH SYNOPSIS
.B import binlog;
.BI "VOID binlog.init(STRING " dir ", STRING " format ", STRING " param ");"
.B VOID binlog.start();
.BI "VOID binlog.pack(STRING " arg ");"
.B VOID binlog.commit();
.SH DESCRIPTION
This module adds binary log files support to
.BR "Varnish Cache" .
.PP
Binary log file consists of an arbitrary number of equally sized
records. Each record contains a UNIX timestamp in binary form and
user-defined data. The file begins with a header containing auxiliary
information.
.PP
Binary log files are rotated at preconfigured time intervals. In
order to speed up searches, their names follow the
.BR strftime (3)
@@ -236,54 +236,54 @@ A single-precision float in native format.
.TP
.B d
A double-precision float in native format.
.TP
.B x
A null byte (a.k.a ASCII NUL, "\000", chr(0))
.TP
.B X
Back up a byte.
.TP
.B @
Null-fill or truncate to absolute position, counted from the
current position.
.TP
.B .
Null-fill or truncate to absolute position specified by
the repeat count.
.\" The MANCGI variable is set by man.cgi script on Ulysses.
.\" The download.inc file contains the default DOWNLOAD section
.\" for man-based doc pages.
.if "\V[MANCGI]"WEBDOC" \{\
. ds package vmod-binlog
-. ds version 2.3
+. ds version 2.7
. so download.inc
\}
.SH "SEE ALSO"
.BR binlogcat (1),
.BR binlogsel (1),
.BR vcl (7),
.BR varnishd (1).
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"
Report bugs to <gray@gnu.org>.
.SH COPYRIGHT
-Copyright \(co 2013-2014 Sergey Poznyakoff
+Copyright \(co 2013-2022 Sergey Poznyakoff
.br
.na
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
.br
.ad
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.\" Local variables:
.\" eval: (add-hook 'write-file-hooks 'time-stamp)
.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.-]* [0-9] \""
.\" time-stamp-format: "%:B %:d, %:y"
.\" time-stamp-end: "\""
.\" time-stamp-line-limit: 20
.\" end:

Return to:

Send suggestions and report system problems to the System administrator.