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: New upstream release 9.1.0
Date: Tue, 13 Oct 2026 13:16:38 GMT [thread overview]
Message-ID: <179189739880.1.17338131963675986330.rpms-varnish-80f0aa9bb44e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/varnish
Branch : rawhide
Commit : 80f0aa9bb44e5150033961fc02dd38b95eec914d
Author : Ingvar Hagelund <ingvar@redpill-linpro.com>
Date : 2026-10-12T22:38:59+02:00
Stats : +124/-49 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/varnish/c/80f0aa9bb44e5150033961fc02dd38b95eec914d?branch=rawhide
Log:
New upstream release 9.1.0
- New abi and vrt
- Includes fix for VSV00020: workspace buffer overflow in the .upper() and .lower() VCL string type methods
- Drop patches merged upstream
- Add patches fixing build on 32 bit
- Do not provide vmod(debug), the debug vmod is not installed
---
diff --git a/.gitignore b/.gitignore
index 5bac72c..0ea6d6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,3 +76,4 @@ varnish-2.1.3.tar.gz
/varnish-9.0.1.tar.gz
/varnish-9.0.2.tar.gz
/varnish-9.0.3.tar.gz
+/varnish-9.0.4.tar.gz
diff --git a/32bit_build_fixes.patch b/32bit_build_fixes.patch
new file mode 100644
index 0000000..313be2f
--- /dev/null
+++ b/32bit_build_fixes.patch
@@ -0,0 +1,52 @@
+From 9bba5daeb12decd506122533f98f837a7ff47f4f Mon Sep 17 00:00:00 2001
+From: Daniel Néri <dne+commits@rb67.eu>
+Date: Thu, 17 Sep 2026 13:20:59 +0200
+Subject: [PATCH] cache_http: Fix incorrect format string length modifier
+
+Breaks build on 32-bit architectures, since sizeof (intmax_t) != sizeof (ssize_t).
+---
+ bin/vinyld/cache/cache_http.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/vinyld/cache/cache_http.c b/bin/vinyld/cache/cache_http.c
+index 7984ad7..e4839ce 100644
+--- a/bin/vinyld/cache/cache_http.c
++++ b/bin/vinyld/cache/cache_http.c
+@@ -1052,7 +1052,7 @@ http_GetContentLength(struct http *hp)
+
+ if (cl >= 0 && need) {
+ // we have deleted all headers above
+- http_PrintfHeader(hp, "Content-Length: %jd", cl);
++ http_PrintfHeader(hp, "Content-Length: %zd", cl);
+ }
+
+ return (cl);
+--
+libgit2 1.9.7
+
+From faf9d75632f0579e3752a3696ad1479aaba8ef54 Mon Sep 17 00:00:00 2001
+From: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
+Date: Thu, 17 Sep 2026 12:59:10 +0200
+Subject: [PATCH] vcc_expr: Proper intmax_t format for BYTES expressions
+
+Spotted by @daghf
+---
+ lib/libvcc/vcc_expr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
+index 68ba4b0..12a5257 100644
+--- a/lib/libvcc/vcc_expr.c
++++ b/lib/libvcc/vcc_expr.c
+@@ -740,7 +740,7 @@ vcc_number(struct vcc *tl, struct expr **e, vcc_type_t fmt, const char *sign)
+ if (fmt == BYTES) {
+ vcc_ByteVal(tl, &vi);
+ ERRCHK(tl);
+- e1 = vcc_mk_expr(BYTES, "%ju", (intmax_t)vi);
++ e1 = vcc_mk_expr(BYTES, "%jd", (intmax_t)vi);
+ } else {
+ t = tl->t;
+ vcc_NextToken(tl);
+--
+libgit2 1.9.7
+
diff --git a/sources b/sources
index abfe64e..cd91f8e 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (varnish-9.0.3.tar.gz) = 2789cff88632c2279062a109513cc00cab7690785f8f77e90b9968098c71ddcdc6403d6a9edc755b8f4055f0d32d9e330b0bc20fbab92ba80232955942dc912a
SHA512 (jemalloc-5.3.0.tar.bz2) = 22907bb052096e2caffb6e4e23548aecc5cc9283dce476896a2b1127eee64170e3562fa2e7db9571298814a7a2c7df6e8d1fbe152bd3f3b0c1abec22a2de34b1
SHA512 (pkg-varnish-cache-1f0d212.tar.gz) = 9f05978c99f292e64e71ba24ef2de791a33640e40fbad66d47889837fb0d4ced203873f5a17716edf757b5ad48098289882c2df196ce1fb457f279bf7f35bec3
+SHA512 (varnish-9.0.4.tar.gz) = 1f33813ff5cba8218937b4464b7ed64a67713c7062aacef6208535d97647bc6ce7fcd02d0b69d78885c12476c9ec9bdad1d28c1b96f8464c808f6ada9f33bc17
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 1dea225..ba31e65 100644
--- a/varnish.spec
+++ b/varnish.spec
@@ -4,8 +4,8 @@
%global __provides_exclude_from ^%{_libdir}/varnish/vmods
-%global abi 0a625649cd40af4b6c10be5e58a2e89a5e275baa
-%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.3
+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,9 +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 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
@@ -57,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}
@@ -154,9 +153,8 @@ 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
ln -s pkg-varnish-cache-%{commit1}/debian debian
@@ -427,9 +425,29 @@ 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)
+- Added small patch from upstream for 32bit builds
+
+* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 9.0.3-2
+- Rebuilt for openssl 4.0
+
* Thu May 21 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> - 9.0.3-1
- New upstream release: A security relase
-- Includes fix for VSV00019
+- Includes fix for VSV00019 aka CVE-2026-50052
* Fri May 15 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> - 9.0.2-1
- New upstream release: A bugfix release
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=179189739880.1.17338131963675986330.rpms-varnish-80f0aa9bb44e@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