diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2020-03-03 08:55:40 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2020-03-03 08:57:29 +0200 |
commit | be960ccd030ba4091338604e7d6b1b120ab2da7c (patch) | |
tree | 513f353154c97c095c0d1659ed3c31acf185c84c | |
parent | 45f329477f5bc8b2259cf11b489095ac94b0a813 (diff) | |
download | vmod-dbrw-be960ccd030ba4091338604e7d6b1b120ab2da7c.tar.gz vmod-dbrw-be960ccd030ba4091338604e7d6b1b120ab2da7c.tar.bz2 |
Support for Varnish 6.3.1v2.6
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | doc/vmod-dbrw.3 | 6 | ||||
-rw-r--r-- | doc/vmod-dbrw.texi | 2 | ||||
-rw-r--r-- | src/vmod_dbrw.c | 4 | ||||
-rw-r--r-- | src/vmod_dbrw.vcc | 4 |
6 files changed, 17 insertions, 12 deletions
@@ -1,11 +1,16 @@ -vmod-dbrw -- history of user-visible changes. 2019-02-15 +vmod-dbrw -- history of user-visible changes. 2020-03-03 See the end of file for copying conditions. Please send vmod-dbrw bug reports to <gray@gnu.org> +Version 2.6, 2020-03-03 + +* Builds with Varnish 6.3.1 + + Version 2.5, 2019-02-15 * req.http.X-VMOD-DBRW-Error This header is set to 1 by dbrw.rewrite to indicate that an error occurred during the rewrite. diff --git a/configure.ac b/configure.ac index b226b87..b9b0845 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ # This file is part of vmod-dbrw -*- autoconf -*- -# Copyright (C) 2013-2019 Sergey Poznyakoff +# Copyright (C) 2013-2020 Sergey Poznyakoff # # Vmod-dbrw 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. # @@ -11,13 +11,13 @@ # 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-dbrw. If not, see <http://www.gnu.org/licenses/>. AC_PREREQ(2.69) -AC_INIT([vmod-dbrw], 2.5, [gray@gnu.org]) +AC_INIT([vmod-dbrw], 2.6, [gray@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR(src/vmod_dbrw.vcc) AM_CONFIG_HEADER(config.h) AC_SUBST([AC_VMOD_BASENAME],[dbrw]) @@ -40,13 +40,13 @@ AC_PROG_LIBTOOL AC_PROG_MAKE_SET # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([sys/stdlib.h]) -AM_VARNISHAPI([4.1],[6.0.2]) +AM_VARNISHAPI([4.1],[6.3.1]) AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR], [Varnish API major version number]) ########### # Check for SQL support build_mysql=probe diff --git a/doc/vmod-dbrw.3 b/doc/vmod-dbrw.3 index 67aad5f..074565a 100644 --- a/doc/vmod-dbrw.3 +++ b/doc/vmod-dbrw.3 @@ -1,8 +1,8 @@ .\" This file is part of Vmod-dbrw -*- nroff -*- -.\" Copyright (C) 2013-2018 Sergey Poznyakoff +.\" Copyright (C) 2013-2020 Sergey Poznyakoff .\" .\" Vmod-dbrw 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. .\" @@ -10,13 +10,13 @@ .\" 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-dbrw. If not, see <http://www.gnu.org/licenses/>. -.TH VMOD-DBRW 3 "February 13, 2019" "VMOD-DBRW" "User Reference" +.TH VMOD-DBRW 3 "March 3, 2020" "VMOD-DBRW" "User Reference" .SH NAME vmod-dbrw \- Database-driven rewrite rules for Varnish Cache .SH SYNOPSIS .B import dbrw; .PP .BI "VOID dbrw.config(STRING " dbtype ", STRING " params ", STRING " query ");" @@ -315,13 +315,13 @@ sub vcl_synth { .EE .\" 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-dbrw -. ds version 2.5 +. ds version 2.6 . so download.inc \} .SH "SEE ALSO" .BR vcl (7), .BR varnishd (1). .PP diff --git a/doc/vmod-dbrw.texi b/doc/vmod-dbrw.texi index 6a987ed..200ca0d 100644 --- a/doc/vmod-dbrw.texi +++ b/doc/vmod-dbrw.texi @@ -27,13 +27,13 @@ @copying Published by the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -Copyright @copyright{} 2013-2018 Sergey Poznyakoff +Copyright @copyright{} 2013-2020 Sergey Poznyakoff Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover, and no Back-Cover texts. A copy of the license is included in the section entitled ``GNU Free diff --git a/src/vmod_dbrw.c b/src/vmod_dbrw.c index beeb9af..4f48113 100644 --- a/src/vmod_dbrw.c +++ b/src/vmod_dbrw.c @@ -1,8 +1,8 @@ /* This file is part of vmod-dbrw - Copyright (C) 2013-2019 Sergey Poznyakoff + Copyright (C) 2013-2020 Sergey Poznyakoff Vmod-dbrw 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. @@ -118,13 +118,13 @@ disconnect(void) sql_destroy(cp); } pthread_mutex_unlock(&connect_pool_mtx); } int -dbrw_event(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e e) +vmod_dbrw_event(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e e) { switch (e) { case VCL_EVENT_LOAD: atexit(disconnect); break; case VCL_EVENT_DISCARD: diff --git a/src/vmod_dbrw.vcc b/src/vmod_dbrw.vcc index 9a15af1..479ca66 100644 --- a/src/vmod_dbrw.vcc +++ b/src/vmod_dbrw.vcc @@ -1,8 +1,8 @@ # This file is part of vmod-dbrw -# Copyright (C) 2013-2016 Sergey Poznyakoff +# Copyright (C) 2013-2020 Sergey Poznyakoff # # Vmod-dbrw 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. # @@ -11,13 +11,13 @@ # 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-dbrw. If not, see <http://www.gnu.org/licenses/>. -$Module dbrw 3 Database-driven rewrite rules for Varnish Cache +$Module dbrw 3 "Database-driven rewrite rules for Varnish Cache" COLOPHON ======== This document provides a short description of the **vmod-dbrw** module. For a detailed documentation, please see the vmod-dbrw texinfo document or vmod-dbrw(3) manual page. If **vmod-dbrw** is properly installed on |