git: af9bd6b98645 - main - www/varnish-libvmod-querystring: Update to 2.0.3, support varnish 7

From: Ryan Steinmetz <zi_at_FreeBSD.org>
Date: Fri, 08 Apr 2022 15:16:14 UTC
The branch main has been updated by zi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=af9bd6b98645a4484f381c5ea933bb7fc2e8b7c3

commit af9bd6b98645a4484f381c5ea933bb7fc2e8b7c3
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2022-04-08 15:16:05 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2022-04-08 15:16:05 +0000

    www/varnish-libvmod-querystring: Update to 2.0.3, support varnish 7
---
 www/varnish-libvmod-querystring/Makefile           |  5 ++--
 www/varnish-libvmod-querystring/distinfo           |  6 ++---
 .../files/patch-src_vmod__querystring.c            | 29 ----------------------
 3 files changed, 5 insertions(+), 35 deletions(-)

diff --git a/www/varnish-libvmod-querystring/Makefile b/www/varnish-libvmod-querystring/Makefile
index 2837dcb101b6..8e4f79016d0d 100644
--- a/www/varnish-libvmod-querystring/Makefile
+++ b/www/varnish-libvmod-querystring/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libvmod-querystring
-DISTVERSION=	v2.0.2
-PORTREVISION=	1
+DISTVERSION=	v2.0.3
 CATEGORIES=	www
 PKGNAMEPREFIX=	varnish-
 
@@ -12,7 +11,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	rst2man:textproc/py-docutils@${PY_FLAVOR}
 
-USES=		autoreconf libtool pkgconfig python:3.5+,build varnish:6
+USES=		autoreconf libtool pkgconfig python:3.5+,build varnish:7
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
diff --git a/www/varnish-libvmod-querystring/distinfo b/www/varnish-libvmod-querystring/distinfo
index bcb781113cf2..759c1560932a 100644
--- a/www/varnish-libvmod-querystring/distinfo
+++ b/www/varnish-libvmod-querystring/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603992320
-SHA256 (Dridi-libvmod-querystring-v2.0.2_GH0.tar.gz) = fc8ef6259bb048b79977843f348ba8cdccec786b9528a4b245d6094e3a067896
-SIZE (Dridi-libvmod-querystring-v2.0.2_GH0.tar.gz) = 27681
+TIMESTAMP = 1649430745
+SHA256 (Dridi-libvmod-querystring-v2.0.3_GH0.tar.gz) = 4f7f54778bf808949cedcb360b925a3251c84a8d3a0d9ffdc722342f5ea6e89b
+SIZE (Dridi-libvmod-querystring-v2.0.3_GH0.tar.gz) = 28082
diff --git a/www/varnish-libvmod-querystring/files/patch-src_vmod__querystring.c b/www/varnish-libvmod-querystring/files/patch-src_vmod__querystring.c
deleted file mode 100644
index 8287e1d791d9..000000000000
--- a/www/varnish-libvmod-querystring/files/patch-src_vmod__querystring.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/vmod_querystring.c.orig	2020-09-21 14:52:07 UTC
-+++ src/vmod_querystring.c
-@@ -208,6 +208,17 @@ qs_match_regex(VRT_CTX, const struct qs_
- 	return (VRT_re_match(ctx, s, qsf->ptr));
- }
- 
-+static void
-+qs_free_regex(void *priv)
-+{
-+	vre_t *re;
-+
-+	AN(priv);
-+	re = priv;
-+	VRE_free(&re);
-+	AZ(re);
-+}
-+
- static int
- qs_match_glob(VRT_CTX, const struct qs_filter *qsf, const char *s,
-     unsigned keep)
-@@ -595,7 +606,7 @@ vmod_filter_add_regex(VRT_CTX, struct VP
- 	}
- 
- 	qsf->match = qs_match_regex;
--	qsf->free = VRT_re_fini;
-+	qsf->free = qs_free_regex;
- 	VTAILQ_INSERT_TAIL(&obj->filters, qsf, list);
- }
-