Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 488120

Summary: net-voip/linphone - add ZRTP support
Product: Gentoo Linux Reporter: Aurora <debian>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED OBSOLETE    
Severity: minor CC: bircoph, dschridde+gentoobugs, fssirc, nikoli, treecleaner, voip+disabled
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Pending removal: 2018-12-01
Package list:
Runtime testing required: ---

Description Aurora 2013-10-15 12:46:13 UTC
You should add ZRTP support as USE flag. It's a must feature for free communication!

Actually is just disabled. While it's really often enabled on other systems.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-15 15:08:49 UTC
It's explicitly disabled in src_configure():

./linphone-3.6.1.ebuild:                --disable-zrtp
./linphone-3.5.2.ebuild:                --disable-zrtp
Comment 2 Andrew Savchenko gentoo-dev 2013-10-15 15:37:58 UTC
It's disabled for a reason: linphone uses incompatible ZRTP fork.

ZRTP in linphone is not compatible with net-libs/libzrtpcpp we have
in Gentoo. Linphone uses forked libzrtpcpp with changed API available
only in git: git://git.linphone.org/srtp.git
See this issue for more details:
https://github.com/cisco/libsrtp/issues/28

ATM we have only these options:
1) Install libzrtpcpp-linphone and block it with net-libs/libzrtpcpp.
So users will not be able to use either linphone with zrtp or other
packages with zrtp.
2) Bundle forked zrtp into linphone which will violate Gentoo
unbundling policy.
3) Wait for bug 28 to be fixed.

IMO option 3 is the best, option 1 is acceptable, and option 2 is
unacceptable.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-10-15 16:18:34 UTC
--enable-zrtp only has an effect if you build linphone internal ortp.

To get zrtp support in linphone with external ortp, that must be built with zrtp enabled. This requires first that srtp support is enabled, which does not work with stock libsrtp. Either the linphone fork or a patch as per https://github.com/cisco/libsrtp/issues/28 is needed.
Comment 4 Aurora 2013-10-20 10:16:35 UTC
>> 1) Install libzrtpcpp-linphone and block it with net-libs/libzrtpcpp.
>> So users will not be able to use either linphone with zrtp or other
>> packages with zrtp.

This one is not that bad! :D
Comment 5 Kalisox 2014-06-03 14:02:17 UTC
Any update on this?
ZRTP is an important feature of Linphone...
Comment 6 selim.m.a 2015-09-03 17:07:04 UTC
Their fork of libzrtpcpp is now called bzrtp:
   git://git.linphone.org:bzrtp

This should avoid collisions with the original library.
So all we need is an ebuild for bzrtp and the current version of linphone...
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-13 09:47:42 UTC
Package removed as a result of vulnerable dependency removal.