diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2022-06-25 11:29:27 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2022-06-25 11:33:06 +0200 |
commit | 69c9c1e456e999f0328ad34975d028a94d418ea1 (patch) | |
tree | 5fb12e1cad18dae02614f00f5b204cf3b38ff531 | |
parent | 235469fc0e91aa8f2f32dfa8376d09fcf7ea129d (diff) | |
download | vmod-basicauth-master.tar.gz vmod-basicauth-master.tar.bz2 |
* src/vmod_basicauth.c: Fix preprocessor conditionals.
* NEWS: Update.
* README: Update.
* configure.ac: Mark Varnish 7.1 as supported.
* src/vmod-basicauth.3: Update.
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | src/vmod-basicauth.3 | 8 | ||||
-rw-r--r-- | src/vmod_basicauth.c | 6 |
5 files changed, 18 insertions, 13 deletions
@@ -1,2 +1,2 @@ -Vmod-basicauth NEWS -- history of user-visible changes. 2020-04-09 +Vmod-basicauth NEWS -- history of user-visible changes. 2022-06-25 See the end of file for copying conditions. @@ -5,2 +5,7 @@ Please send Vmod-basicauth bug reports to <gray@gnu.org> +Version 2.0, 2022-06-25 + +* Support for Varnish 7.1 + + Version 1.9, 2020-04-09 @@ -9,3 +9,3 @@ supported: Apache MD5, crypt(3), SHA1, and plaintext. -The module has been tested with Varnish versions 6.0.0 to 6.4.0. +The module has been tested with Varnish versions 6.0.0 to 7.1.0. @@ -66,3 +66,3 @@ Send bug reports and suggestions to <gray@gnu.org> -Copyright (C) 2013-2018 Sergey Poznyakoff +Copyright (C) 2013-2022 Sergey Poznyakoff diff --git a/configure.ac b/configure.ac index 4572f8d..bda9ac1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,3 @@ # This file is part of vmod-basicauth -*- autoconf -*- -# Copyright (C) 2013-2020 Sergey Poznyakoff +# Copyright (C) 2013-2022 Sergey Poznyakoff # @@ -16,3 +16,3 @@ AC_PREREQ(2.69) -AC_INIT([vmod-basicauth], 1.9, [gray@gnu.org]) +AC_INIT([vmod-basicauth], 2.0, [gray@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) @@ -44,3 +44,3 @@ AC_CHECK_HEADERS([sys/stdlib.h crypt.h]) -AM_VARNISHAPI([6.0.0],[6.4.0]) +AM_VARNISHAPI([6.0.0],[7.1.0]) AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR], diff --git a/src/vmod-basicauth.3 b/src/vmod-basicauth.3 index ca9d71c..c6c6136 100644 --- a/src/vmod-basicauth.3 +++ b/src/vmod-basicauth.3 @@ -1,3 +1,3 @@ .\" This file is part of Vmod-basicauth -*- nroff -*- -.\" Copyright (C) 2013-2020 Sergey Poznyakoff +.\" Copyright (C) 2013-2022 Sergey Poznyakoff .\" @@ -15,3 +15,3 @@ .\" along with vmod-basicauth. If not, see <http://www.gnu.org/licenses/>. -.TH VMOD-BASICAUTH 3 "April 9, 2020" "VMOD-BASICAUTH" "User Reference" +.TH VMOD-BASICAUTH 3 "June 25, 2022" "VMOD-BASICAUTH" "User Reference" .SH NAME @@ -64,3 +64,3 @@ sub vcl_synth { . ds package vmod-basicauth -. ds version 1.9 +. ds version 2.0 . so download.inc @@ -75,3 +75,3 @@ Report bugs to <gray@gnu.org>. .SH COPYRIGHT -Copyright \(co 2013-2020 Sergey Poznyakoff +Copyright \(co 2013-2022 Sergey Poznyakoff .br diff --git a/src/vmod_basicauth.c b/src/vmod_basicauth.c index 6e748b9..24be829 100644 --- a/src/vmod_basicauth.c +++ b/src/vmod_basicauth.c @@ -1,3 +1,3 @@ /* This file is part of vmod-basicauth - Copyright (C) 2013-2014 Sergey Poznyakoff + Copyright (C) 2013-2022 Sergey Poznyakoff @@ -90,3 +90,3 @@ struct priv_data { -#if VARNISHAPI_MINOR >= 6 +#if (VARNISHAPI_MAJOR == 6 && VARNISHAPI_MINOR >= 6) || VARNISHAPI_MAJOR > 6 static void @@ -111,3 +111,3 @@ get_priv_data(struct vmod_priv *priv) priv->priv = p; -#if VARNISHAPI_MINOR >= 6 +#if (VARNISHAPI_MAJOR == 6 && VARNISHAPI_MINOR >= 6) || VARNISHAPI_MAJOR > 6 priv->methods = free_priv_data_methods; |