public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pgbouncer] f44: Update to 1.26.0
@ 2026-09-26 16:40 Simone Caronni
0 siblings, 0 replies; only message in thread
From: Simone Caronni @ 2026-09-26 16:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pgbouncer
Branch : f44
Commit : 84f413679018d24a0cd0071a9c532b020772f085
Author : Simone Caronni <negativo17@gmail.com>
Date : 2026-09-26T18:37:34+02:00
Stats : +2/-60 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pgbouncer/c/84f413679018d24a0cd0071a9c532b020772f085?branch=f44
Log:
Update to 1.26.0
---
diff --git a/da9cddca2de556ea0d58b45e1a433a01ee44ff66.patch b/da9cddca2de556ea0d58b45e1a433a01ee44ff66.patch
deleted file mode 100644
index d1cd1bd..0000000
--- a/da9cddca2de556ea0d58b45e1a433a01ee44ff66.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From da9cddca2de556ea0d58b45e1a433a01ee44ff66 Mon Sep 17 00:00:00 2001
-From: Theo Buehler <tb@openbsd.org>
-Date: Fri, 5 Dec 2025 17:03:16 +0100
-Subject: [PATCH] Avoid reaching into struct asn1_string_st
-
-OpenSSL is going to make struct asn1_string_st opaque, which is the
-struct underlying most ASN.1 types. Use accessors instead of reaching
-into it. ASN_STRING_type() and ASN1_STRING_length() have been available
-since SSLeay 0.9.0, ASN1_STRING_get0_data() is OpenSSL 1.1 API, but
-there already is compat glue for it available in tls_compat.h.
-
-https://github.com/openssl/openssl/issues/29117
----
- lib/usual/tls/tls_compat.c | 8 ++++----
- lib/usual/tls/tls_conninfo.c | 4 ++--
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/lib/usual/tls/tls_compat.c b/lib/usual/tls/tls_compat.c
-index 756e3beb9f84..9c24bd6275e4 100644
---- a/lib/usual/tls/tls_compat.c
-+++ b/lib/usual/tls/tls_compat.c
-@@ -438,13 +438,13 @@ int tls_asn1_parse_time(struct tls *ctx, const ASN1_TIME *asn1time, time_t *dst)
- *dst = 0;
- if (!asn1time)
- return 0;
-- if (asn1time->type != V_ASN1_GENERALIZEDTIME &&
-- asn1time->type != V_ASN1_UTCTIME) {
-- tls_set_errorx(ctx, "Invalid time object type: %d", asn1time->type);
-+ if (ASN1_STRING_type(asn1time) != V_ASN1_GENERALIZEDTIME &&
-+ ASN1_STRING_type(asn1time) != V_ASN1_UTCTIME) {
-+ tls_set_errorx(ctx, "Invalid time object type: %d", ASN1_STRING_type(asn1time));
- return -1;
- }
-
-- res = asn1_time_parse((char *)asn1time->data, asn1time->length, &tm, 0);
-+ res = asn1_time_parse((const char *)ASN1_STRING_get0_data(asn1time), ASN1_STRING_length(asn1time), &tm, 0);
- if (res == -1) {
- tls_set_errorx(ctx, "Invalid asn1 time");
- return -1;
-diff --git a/lib/usual/tls/tls_conninfo.c b/lib/usual/tls/tls_conninfo.c
-index c4929518a759..0a4b14e23e11 100644
---- a/lib/usual/tls/tls_conninfo.c
-+++ b/lib/usual/tls/tls_conninfo.c
-@@ -132,9 +132,9 @@ static int tls_get_peer_cert_times(struct tls *ctx, time_t *notbefore, time_t *n
- goto err;
- if ((after = X509_get_notAfter(ctx->ssl_peer_cert)) == NULL)
- goto err;
-- if (asn1_time_parse((char *)before->data, before->length, &before_tm, 0) == -1)
-+ if (asn1_time_parse((const char *)ASN1_STRING_get0_data(before), ASN1_STRING_length(before), &before_tm, 0) == -1)
- goto err;
-- if (asn1_time_parse((char *)after->data, after->length, &after_tm, 0) == -1)
-+ if (asn1_time_parse((const char *)ASN1_STRING_get0_data(after), ASN1_STRING_length(after), &after_tm, 0) == -1)
- goto err;
- if ((*notbefore = timegm(&before_tm)) == -1)
- goto err;
diff --git a/pgbouncer.spec b/pgbouncer.spec
index 92eab93..77e7fe5 100644
--- a/pgbouncer.spec
+++ b/pgbouncer.spec
@@ -6,7 +6,7 @@
%endif
Name: pgbouncer
-Version: 1.25.2
+Version: 1.26.0
Release: %autorelease
Summary: Lightweight connection pooler for PostgreSQL
License: ISC and BSD-2-Clause
@@ -18,9 +18,6 @@ Source4: %{name}.service
Source6: %{name}.pam
Patch0: %{name}-ini.patch
-# OpenSSL4 - Avoid reaching into struct asn1_string_st #1440
-# from https://github.com/pgbouncer/pgbouncer/pull/1440
-Patch1: da9cddca2de556ea0d58b45e1a433a01ee44ff66.patch
BuildRequires: c-ares-devel >= 1.11
BuildRequires: make
diff --git a/sources b/sources
index 0862bc8..8506318 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pgbouncer-1.25.2.tar.gz) = 4e3e415a674be28cb06e26efa37afdcf90cf469dc6d5d6bd0d62a519deb6ff2d1ad63c0bbc9fb6d7853514c09bc8d43aff9fccdf69bfd7d9c2f6e5214336fa3d
+SHA512 (pgbouncer-1.26.0.tar.gz) = ada8440759e51f1a8690b700a64e21ee2929f3ef60a204ac93681bf85369c79380c44375e9261826d5d37e3d789379c505532ac27bc4ab997c56b75974ab0718
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 16:40 [rpms/pgbouncer] f44: Update to 1.26.0 Simone Caronni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox