public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/asterisk] rawhide: Asterisk 23.4.1
@ 2026-06-26 8:41 Peter Lemenkov
0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-06-26 8:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/asterisk
Branch : rawhide
Commit : f2a654cbacca810a8537cac0e560cf8d3473fcfa
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-06-26T10:20:41+02:00
Stats : +41/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/asterisk/c/f2a654cbacca810a8537cac0e560cf8d3473fcfa?branch=rawhide
Log:
Asterisk 23.4.1
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/0030-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility-5036.patch b/0030-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility-5036.patch
new file mode 100644
index 0000000..bfe0769
--- /dev/null
+++ b/0030-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility-5036.patch
@@ -0,0 +1,35 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ravi Kant Sharma <rks1986@gmail.com>
+Date: Wed, 24 Jun 2026 11:30:40 +0200
+Subject: [PATCH] ssl_sock_ossl: fix OpenSSL 4.0 compatibility (#5036)
+
+
+diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c
+index 000aabad6..93fcf10f1 100644
+--- a/pjlib/src/pj/ssl_sock_ossl.c
++++ b/pjlib/src/pj/ssl_sock_ossl.c
+@@ -1645,10 +1645,7 @@ static pj_status_t init_ossl_ctx(pj_ssl_sock_t *ssock)
+ if (PEM_read_bio_X509(new_bio, &x, NULL, NULL) == NULL)
+ break;
+
+- if ((xn = X509_get_subject_name(x)) == NULL)
+- break;
+-
+- if ((xn = X509_NAME_dup(xn)) == NULL )
++ if ((xn = X509_NAME_dup(X509_get_subject_name(x))) == NULL )
+ break;
+
+ #if !USING_BORINGSSL
+@@ -2105,9 +2102,9 @@ static pj_bool_t parse_ossl_asn1_time(pj_time_val *tv, pj_bool_t *gmt,
+ pj_parsed_time pt;
+ int i;
+
+- utc = tm->type == V_ASN1_UTCTIME;
+- p = (char*)tm->data;
+- len = tm->length;
++ utc = ASN1_STRING_type(tm) == V_ASN1_UTCTIME;
++ p = (char*)M_ASN1_STRING_data(tm);
++ len = M_ASN1_STRING_length(tm);
+ end = p + len - 1;
+
+ /* GMT */
diff --git a/asterisk.spec b/asterisk.spec
index 448bc7c..2f72f46 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -56,7 +56,7 @@
Summary: The Open Source PBX
Name: asterisk
-Version: 23.4.0
+Version: 23.4.1
Release: %{?_rc||?_beta:0.}1%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}
# Automatically converted from old format: GPLv2 - review is highly recommended.
License: GPL-2.0-only
@@ -94,6 +94,8 @@ Source9: https://github.com/akheron/jansson/releases/download/v%{jansso
# Bundling libjwt because it depends on a version that is newer than Fedora, but still really old.
Source10: https://github.com/benmcollins/libjwt/releases/download/v%{jwt_version}/libjwt-%{jwt_version}.tar.gz
+Source99: 0030-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility-5036.patch
+
%if 0%{?fedora} || 0%{?rhel} >=7
Patch1: asterisk-16.1.0-explicit-python3.patch
%endif
@@ -683,7 +685,7 @@ echo '*************************************************************************'
cp %{S:3} menuselect.makedeps
cp %{S:4} menuselect.makeopts
-
+cp %{S:99} ./third-party/pjproject/patches
# Fixup makefile so sound archives aren't downloaded/installed
%{__perl} -pi -e 's/^all:.*$/all:/' sounds/Makefile
diff --git a/sources b/sources
index ebc88c4..f9a195b 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (asterisk-23.4.0.tar.gz.asc) = cd8200c3ccf58532ca13da697aa421319b57d9212bd160260253614512888f190722d98200fc2cf328c123dc7189c1ffa325e97db410773445fc2efb0b97ff83
-SHA512 (asterisk-23.4.0.tar.gz) = da50d6d26e631e6a5e90d6eb5efa78c46fb9e852eb0bcfe01b7e82332e3361b024bd9a1e63d9c5f21d56cd3e3817f28b1a97d7be7f2194e0d506560d3a07071c
+SHA512 (asterisk-23.4.1.tar.gz) = b189526328c72d544875ba48a5946ec33aa454739e38e0e7e1e0495604d9cdb96ed4eeae54dd0c6a0d7328022e9737e76097a13ca682a053a1e465d805621501
+SHA512 (asterisk-23.4.1.tar.gz.asc) = 5df010efc44f3823a5d204b7712cbd4f5ccd322ef76be894c7f03001b7f3ee54f563beb64ef2c0f6a581b8aa344089a317c1299b9a5baedde3d90ad39413f8b9
SHA512 (jansson-2.14.tar.bz2) = 1a659c0f41b0672757c13ebd16bd10ad7d6484366aefda078aa816266ce4f5638bc121f1ce8c4234b0b9f201ea73c227b9084125857452cbcba058a111e4a6fd
SHA512 (libjwt-1.15.3.tar.gz) = 6a99c81258c5302f7dd908f639676d7cfbe09599812cd97ead871cd5962f15e5248b935e1ef643c4dd43bd1ee66d0e12be1b599a6d3b26d461c4b15216a93774
SHA512 (pjproject-2.17.tar.bz2) = b523b3761aab8931ad2a940d107861caf346e3c5cf9b12d23b5b267b8f3b4758ee842b401f1199c3ceb7e78bbaf0d2a167d2574222c51e6016586eb2caa1e33d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-26 8:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26 8:41 [rpms/asterisk] rawhide: Asterisk 23.4.1 Peter Lemenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox