aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2022-06-25 11:29:27 +0200
committerSergey Poznyakoff <gray@gnu.org>2022-06-25 11:33:06 +0200
commit69c9c1e456e999f0328ad34975d028a94d418ea1 (patch)
tree5fb12e1cad18dae02614f00f5b204cf3b38ff531
parent235469fc0e91aa8f2f32dfa8376d09fcf7ea129d (diff)
downloadvmod-basicauth-master.tar.gz
vmod-basicauth-master.tar.bz2
Version 2.0: Fix to build with Varnish 7.1HEADv2.0master
* 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--NEWS7
-rw-r--r--README4
-rw-r--r--configure.ac6
-rw-r--r--src/vmod-basicauth.38
-rw-r--r--src/vmod_basicauth.c6
5 files changed, 18 insertions, 13 deletions
diff --git a/NEWS b/NEWS
index 139c25f..47b773d 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/README b/README
index 5e8f2d7..2bec183 100644
--- a/README
+++ b/README
@@ -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;

Return to:

Send suggestions and report system problems to the System administrator.