public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ingvar Hagelund <ingvar@redpill-linpro.com>
To: git-commits@fedoraproject.org
Subject: [rpms/varnish] rawhide: merge
Date: Tue, 13 Oct 2026 13:16:39 GMT [thread overview]
Message-ID: <179189739931.1.14729852845407219158.rpms-varnish-7d8d68b1558b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/varnish
Branch : rawhide
Commit : 7d8d68b1558bbc4d42062481f309cd1af9fea768
Author : Ingvar Hagelund <ingvar@redpill-linpro.com>
Date : 2026-10-13T00:23:19+02:00
Stats : +57/-50 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/varnish/c/7d8d68b1558bbc4d42062481f309cd1af9fea768?branch=rawhide
Log:
merge
---
diff --git a/varnish-9.0.1_openssl_4.0_asn1.patch b/varnish-9.0.1_openssl_4.0_asn1.patch
deleted file mode 100644
index 3bd33f1..0000000
--- a/varnish-9.0.1_openssl_4.0_asn1.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Author: Ingvar Hagelund <ingvar@redpill-linpro.com>
-Date: Wed Apr 15 00:17:59 2026 +0200
-
- Use ASN1_STRING functions for openssl-4.0.0
-
-diff -Naur varnish-9.0.1.orig/bin/vinyltest/vtest2/src/vtc_asn_gentm.c varnish-9.0.1/bin/vinyltest/vtest2/src/vtc_asn_gentm.c
---- varnish-9.0.1.orig/bin/vinyltest/vtest2/src/vtc_asn_gentm.c 2026-04-08 18:57:33.000000000 +0200
-+++ varnish-9.0.1/bin/vinyltest/vtest2/src/vtc_asn_gentm.c 2026-04-15 00:34:44.788211992 +0200
-@@ -142,10 +142,10 @@
- char *a;
- int n, i, l, o;
-
-- if (d->type != V_ASN1_GENERALIZEDTIME)
-+ if (ASN1_STRING_type(d) != V_ASN1_GENERALIZEDTIME)
- return (0);
-- l = d->length;
-- a = (char *)d->data;
-+ l = ASN1_STRING_length(d);
-+ a = (char *)ASN1_STRING_get0_data(d);
- o = 0;
- /*
- * GENERALIZEDTIME is similar to UTCTIME except the year is represented
-diff -Naur varnish-9.0.1.orig/bin/vinyltest/vtest2/src/vtc_tls.c varnish-9.0.1/bin/vinyltest/vtest2/src/vtc_tls.c
---- varnish-9.0.1.orig/bin/vinyltest/vtest2/src/vtc_tls.c 2026-04-08 18:57:33.000000000 +0200
-+++ varnish-9.0.1/bin/vinyltest/vtest2/src/vtc_tls.c 2026-04-15 00:35:53.447792774 +0200
-@@ -1060,10 +1060,10 @@
-
- break;
- case GEN_IPADD:
-- p = n->d.ip->data;
-+ p = ASN1_STRING_get0_data(n->d.ip);
- AN(p);
-
-- if (inet_ntop(n->d.ip->length == 16 ? AF_INET6 : AF_INET,
-+ if (inet_ntop(ASN1_STRING_length(n->d.ip) == 16 ? AF_INET6 : AF_INET,
- p, b, INET6_ADDRSTRLEN) == 0)
- continue;
-
diff --git a/varnish-9.1.0_blob_transcode_32bit.patch b/varnish-9.1.0_blob_transcode_32bit.patch
new file mode 100644
index 0000000..1a288c1
--- /dev/null
+++ b/varnish-9.1.0_blob_transcode_32bit.patch
@@ -0,0 +1,23 @@
+Author: Ingvar Hagelund <ingvar@redpill-linpro.com>
+Date: Thu Sep 24 2026
+
+ vmod_blob: Fix transcode() panic on encoder ENOMEM on 32-bit archs
+ Check for -1 first, then compare as size_t.
+
+--- varnish-9.1.0.orig/vmod/vmod_blob.c
++++ varnish-9.1.0/vmod/vmod_blob.c
+@@ -555,12 +555,13 @@
+ errno = 0;
+ len = func[enc].encode(enc, kase, out, space, buf, len);
+
+- assert(len <= space);
+ if (len == -1) {
+ ERRNOMEM(ctx, "cannot encode");
+ WS_Release(ctx->ws, 0);
+ return (NULL);
+ }
++ assert(len >= 0);
++ assert((size_t)len <= space);
+
+ out += len;
+ space -= len;
diff --git a/varnish-9.1.0_vtim_format_time_t.patch b/varnish-9.1.0_vtim_format_time_t.patch
new file mode 100644
index 0000000..aecf174
--- /dev/null
+++ b/varnish-9.1.0_vtim_format_time_t.patch
@@ -0,0 +1,19 @@
+Author: Ingvar Hagelund <ingvar@redpill-linpro.com>
+Date: Thu Sep 24 2026
+
+ Fix time_t format string mismatch on 32-bit archs
+
+diff -Naur varnish-9.1.0.orig/lib/libvinyl/vtim.c varnish-9.1.0/lib/libvinyl/vtim.c
+--- varnish-9.1.0.orig/lib/libvinyl/vtim.c 2026-09-24 17:08:59.541192092 +0200
++++ varnish-9.1.0/lib/libvinyl/vtim.c 2026-09-24 17:09:49.394345282 +0200
+@@ -584,8 +584,8 @@
+
+ VTIM_format(t, buf);
+ if (strcmp(s, buf)) {
+- printf("VTIM_format(%zd) error\nwant:\t%s\ngot:\t%s\n",
+- t, s, buf);
++ printf("VTIM_format(%jd) error\nwant:\t%s\ngot:\t%s\n",
++ (intmax_t)t, s, buf);
+ exit(4);
+ }
+ }
diff --git a/varnish.spec b/varnish.spec
index 6703fdc..ba31e65 100644
--- a/varnish.spec
+++ b/varnish.spec
@@ -4,8 +4,8 @@
%global __provides_exclude_from ^%{_libdir}/varnish/vmods
-%global abi 00d995548e7fc94e7530840ab90855b019de7bc4
-%global vrt 23.1
+%global abi ffd36e9db9a1ec2bf6637deda180a87d40a13d0f
+%global vrt 22.2
# Package scripts are now external
# https://github.com/varnishcache/pkg-varnish-cache
@@ -31,7 +31,7 @@
Summary: High-performance HTTP accelerator
Name: varnish
-Version: 9.0.4
+Version: 9.1.0
Release: 1%{?dist}
License: BSD-2-Clause AND (BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain AND Zlib)
URL: https://www.varnish-cache.org/
@@ -41,12 +41,9 @@ Source2: varnish.sysusers
Source3: https://github.com/jemalloc/jemalloc/releases/download/%{jemalloc_version}/jemalloc-%{jemalloc_version}.tar.bz2
Source4: varnish.tmpfiles
-# Compatibility with openssl-4.0.0
-# https://github.com/varnish/varnish/issues/32
-Patch1: varnish-9.0.1_openssl_4.0_asn1.patch
-
-# 32bit fixes, picked from vinyl cache upstream
-Patch2: 32bit_build_fixes.patch
+# 32bit build fixes
+Patch1: varnish-9.1.0_vtim_format_time_t.patch
+Patch2: varnish-9.1.0_blob_transcode_32bit.patch
%if %{with bundled_jemalloc}
# bundled jemalloc patch
@@ -60,7 +57,6 @@ Provides: varnishd(vrt)%{_isa} = %{vrt}
Provides: vmod(blob)%{_isa} = %{version}-%{release}
Provides: vmod(cookie)%{_isa} = %{version}-%{release}
-Provides: vmod(debug)%{_isa} = %{version}-%{release}
Provides: vmod(directors)%{_isa} = %{version}-%{release}
Provides: vmod(h2)%{_isa} = %{version}-%{release}
Provides: vmod(proxy)%{_isa} = %{version}-%{release}
@@ -157,9 +153,7 @@ Documentation files for %name
%prep
%setup -q
-%if 0%{?fedora} > 44 || 0%{?rhel} > 10
%patch 1 -p1
-%endif
%patch 2 -p1
tar xzf %SOURCE1
ln -s pkg-varnish-cache-%{commit1}/redhat redhat
@@ -431,6 +425,15 @@ test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc
%changelog
+* Thu Sep 24 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> - 9.1.0-1
+- New upstream release
+- Includes fix for VSV00020: workspace buffer overflow in the .upper()
+ and .lower() VCL string type methods
+- Drop openssl_4.0_asn1 patch as it is merged upstream
+- Update abi and vrt
+- Add patch for format bug preventing build on 32 bit
+- Do not provide vmod(debug), the debug vmod is not installed
+
* Mon Sep 21 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> - 9.0.4-1
- New upstream release, a security release
- Includes fix for VSV00020 (CVE pending)
reply other threads:[~2026-10-13 13:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179189739931.1.14729852845407219158.rpms-varnish-7d8d68b1558b@fedoraproject.org \
--to=ingvar@redpill-linpro.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox