Add coturn package in 22.04 Jammy

Bug #1967018 reported by Patel
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
coturn (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello

If you update Openssl to 3.01 while Debian keeps 1.1.1 on Bookworm, you should take responsability for packages that are broken by this change instead of dropping them.

Coturn can be compiled and works with Ubuntu 22.04 using this patch:

https://github.com/coturn/coturn/issues/886#issuecomment-1047367772

the patch is a one-liner:

Description: fix compilation for Openssl 3
 After the Ubuntu 22.04 switch to Openssl 3.01, Coturn fails to compile
 a fix has been posted to https://github.com/coturn/coturn/issues/886#issuecomment-1047367772
 .
 coturn (4.5.2-3) unstable; urgency=medium
 .
---
--- coturn-4.5.2.orig/src/client/ns_turn_msg.c
+++ coturn-4.5.2/src/client/ns_turn_msg.c
@@ -256,7 +256,7 @@ int stun_produce_integrity_key_str(const
 #else
   unsigned int keylen = 0;
   EVP_MD_CTX *ctx = EVP_MD_CTX_new();
-#if defined EVP_MD_CTX_FLAG_NON_FIPS_ALLOW && ! defined(LIBRESSL_VERSION_NUMBER)
+#ifdef FIPS_MODE
   if (FIPS_mode()) {
    EVP_MD_CTX_set_flags(ctx, EVP_MD_CTX_FLAG_NON_FIPS_ALLOW);
   }

coturn is an essential component of Jitsi-meet and missing it will just turn users to Debian.

Thanks for looking at this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in coturn (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Tötterman (ptman) wrote :

Patch worked well for me.

Revision history for this message
morph027 (morph027) wrote :

Can confirm the patch is working, thank you @Patel

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers