Add coturn package in 22.04 Jammy

Bug #1967018 reported by Patel
80
This bug affects 15 people
Affects Status Importance Assigned to Milestone
coturn (Ubuntu)
Fix Committed
Undecided
Simon Fels

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

Revision history for this message
Jörg Frede (frede-r) wrote :

I can confirm that the patch is working.
Can we please add coturn with this patch back in the repo.

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :

I can confirm, too. Please add it back to the repo.

Revision history for this message
Joshua Pettus (herecomethej) wrote :

Yes, please add this back in. After upgrading to 22.04.1 it uninstalled. I'm a little annoyed by that. Thankfully I have a backup with the configuration. But uninstalling a service can't be the best answer...

Revision history for this message
Navjot (navjotjsingh) wrote :

Please make this available.

Revision history for this message
H4xor (jonathan-selea) wrote :

I was currently made aware that this package is missing for Ubuntu 22.04 Jammy, and since the patch above works - please add it back into the repository :)

Thanks!

Revision history for this message
Simon Fels (morphis) wrote :

https://bugs.launchpad.net/ubuntu/+source/coturn/+bug/1979978 is a SRU I created a while ago to get coturn back into Ubuntu 22.04. It already sits in the upload queue but needs a core dev next to take on the SRU.

Revision history for this message
Simon Fels (morphis) wrote :
Changed in coturn (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Simon Fels (morphis)
Revision history for this message
Patel (gp451ly) wrote :

Hello

I am the original reporter, I can confirm that Jitsi-meet is working with Coturn in proposed. Thanks to Simon Fels !

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.