public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/coturn] epel10: Upgrade to 4.16.0
@ 2026-07-29 23:36 Robert Scheck
0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-07-29 23:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/coturn
Branch : epel10
Commit : a6d54ae940b2f4bf7a72f02f97119a41dac34b54
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2026-07-30T01:35:57+02:00
Stats : +6/-51 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/coturn/c/a6d54ae940b2f4bf7a72f02f97119a41dac34b54?branch=epel10
Log:
Upgrade to 4.16.0
---
diff --git a/coturn-4.15.0-hiredis-legacy.patch b/coturn-4.15.0-hiredis-legacy.patch
deleted file mode 100644
index 4db9d75..0000000
--- a/coturn-4.15.0-hiredis-legacy.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 313b24fe1404981e4341cd667f7efe62c37bd807 Mon Sep 17 00:00:00 2001
-From: Robert Scheck <robert-scheck@users.noreply.github.com>
-Date: Sat, 25 Jul 2026 02:14:15 +0200
-Subject: [PATCH] Restore support for hiredis < 1.1.0 (for AlmaLinux/RHEL/Rocky
- Linux 9) (#2001)
-
-Conditionalize changes from commit 273f2e8 to support building using
-hiredis < 1.1.0 in AlmaLinux/RHEL/Rocky Linux 9.
----
- src/apps/relay/dbdrivers/dbd_redis.c | 18 ++++++++++++++++++
- 1 file changed, 18 insertions(+)
-
-diff --git a/src/apps/relay/dbdrivers/dbd_redis.c b/src/apps/relay/dbdrivers/dbd_redis.c
-index 0a5967916..473adac26 100644
---- a/src/apps/relay/dbdrivers/dbd_redis.c
-+++ b/src/apps/relay/dbdrivers/dbd_redis.c
-@@ -65,6 +65,9 @@ static redisSSLContext *redis_create_ssl_ctx(Ryconninfo *co) {
- (void)pthread_once(&openssl_once, redis_init_openssl_once);
-
- redisSSLContextError ssl_error = REDIS_SSL_CTX_NONE;
-+
-+#if defined(HIREDIS_MAJOR) && (HIREDIS_MAJOR > 1 || (HIREDIS_MAJOR == 1 && HIREDIS_MINOR >= 1))
-+ /* hiredis >= 1.1.0: options-struct SSL API, supports verify_mode. */
- redisSSLOptions opt = {0};
- opt.cacert_filename = co->tls_ca;
- opt.capath = co->tls_capath;
-@@ -74,6 +77,21 @@ static redisSSLContext *redis_create_ssl_ctx(Ryconninfo *co) {
- opt.verify_mode = co->tls_verify ? REDIS_SSL_VERIFY_PEER : REDIS_SSL_VERIFY_NONE;
-
- redisSSLContext *ssl_ctx = redisCreateSSLContextWithOptions(&opt, &ssl_error);
-+#else
-+ /* hiredis < 1.1.0: legacy positional-args SSL API. There is no verify_mode
-+ knob here -- verification behavior is fixed by the library based on
-+ whether a CA/capath is supplied. Warn if the connection string asked for
-+ verify=none, since we cannot honor that on this hiredis version. */
-+ if (!co->tls_verify) {
-+ TURN_LOG_FUNC(TURN_LOG_LEVEL_WARNING,
-+ "Redis TLS: verify=none requested but this hiredis version has no verify-mode "
-+ "control; server certificate will still be verified if a CA is configured\n");
-+ }
-+
-+ redisSSLContext *ssl_ctx = redisCreateSSLContext(co->tls_ca, co->tls_capath, co->tls_cert, co->tls_key,
-+ co->tls_sni ? co->tls_sni : co->host, &ssl_error);
-+#endif
-+
- if (!ssl_ctx) {
- TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "Redis TLS: cannot create SSL context: %s\n",
- redisSSLContextGetError(ssl_error));
diff --git a/coturn.spec b/coturn.spec
index 3dda81d..ba6e019 100644
--- a/coturn.spec
+++ b/coturn.spec
@@ -1,5 +1,5 @@
Name: coturn
-Version: 4.15.0
+Version: 4.16.0
Release: 1%{?dist}
Summary: TURN/STUN & ICE Server
# MIT (src/{apps/relay/acme.c,server/ns_turn_khash.h} and BSD-3-Clause (the rest)
@@ -11,7 +11,6 @@ Source2: coturn.tmpfilesd
Source3: coturn.logrotate
Source4: coturn.sysusersd
Patch0: https://github.com/coturn/coturn/raw/refs/tags/%{version}/patches/openssl-1.1.1/0001-restore-openssl-1.1.1-support.patch#/coturn-4.14.0-openssl-1.1.patch
-Patch1: https://github.com/coturn/coturn/commit/313b24fe1404981e4341cd667f7efe62c37bd807.patch#/coturn-4.15.0-hiredis-legacy.patch
BuildRequires: gcc
BuildRequires: hiredis-devel
BuildRequires: libevent-devel >= 2.0.0
@@ -187,6 +186,7 @@ ldd %{buildroot}%{_bindir}/turnserver | grep -q libsystemd.so
%doc %{_docdir}/%{name}/etc/turnserver.conf
%dir %{_docdir}/%{name}/scripts/
%dir %{_docdir}/%{name}/scripts/*/
+%{_docdir}/%{name}/scripts/*.py
%{_docdir}/%{name}/scripts/*.sh
%{_docdir}/%{name}/scripts/readme.txt
%doc %{_docdir}/%{name}/scripts/*/*
@@ -228,6 +228,9 @@ ldd %{buildroot}%{_bindir}/turnserver | grep -q libsystemd.so
%{_includedir}/turn/client/*
%changelog
+* Thu Jul 30 2026 Robert Scheck <robert@fedoraproject.org> - 4.16.0-1
+- Upgrade to 4.16.0
+
* Fri Jul 24 2026 Robert Scheck <robert@fedoraproject.org> - 4.15.0-1
- Upgrade to 4.15.0 (#2506022)
- Add patch to build successfully using hiredis < 1.1.0 on RHEL 9
diff --git a/sources b/sources
index cdf2ac9..2a0742a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (coturn-4.15.0.tar.gz) = 82fd0b1741dfb8e40a55e64f481fa9ab87b331262d397b3addc26ee4a0048420938868001b89facd8c8c2644082e6509e9b5f45a43819887e9eb5c3eaea8dd14
+SHA512 (coturn-4.16.0.tar.gz) = 4cbf8dc8e18c288abed39a05898128ac683030a6b06c66f5452fcbaf16177db303d84e8bffa51e3a4006b3dfa587b4faa450e7aa2322bb6b41223db5241c4f76
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 23:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 23:36 [rpms/coturn] epel10: Upgrade to 4.16.0 Robert Scheck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox