public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/coturn] epel8: Upgrade to 4.16.0
Date: Wed, 29 Jul 2026 23:37:27 GMT	[thread overview]
Message-ID: <178536824770.1.5786330633550004609.rpms-coturn-a6d54ae940b2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/coturn
Branch : epel8
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=epel8

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

                 reply	other threads:[~2026-07-29 23:37 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=178536824770.1.5786330633550004609.rpms-coturn-a6d54ae940b2@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --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