Bug #2918

OpenSSL and GPL incompatibility

Added by Didier Raboud over 2 years ago. Updated about 2 years ago.

Status:NewStart date:2015-06-04
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:General
Target version:4.4
Found in version:v4.0.4 Affected Versions:

Description

The tvheadend code links against OpenSSL without declaring an exception in its various license files.

Debian and other free software distributions have for long taken a clear stance on this issue, making it de facto impossible for tvheadend to be integrated into these distributions (and I'd be interested to push tvheadend to Debian).

There are multiple ways forward:

  • Add a short Exception text to the License.md file and to the affected source files
  • Port away from OpenSSL. Apparently, the library is mostly used for its hashing functions, that might not be as hard as it sounds.
See references: See similar issues in other projects:

History

#1 Updated by Jaroslav Kysela over 2 years ago

Thanks for this note. I see your point and I think that we should move to gnutls / nettle to keep the GPL licencing happy.

The only problematic part is probably the http client (https) which needs some work on transition from openssl -> gnutls.

#2 Updated by Jaroslav Kysela over 2 years ago

BTW: Could be the openssl -> gnutls wrapper used in the meantime ?

libgnutls-openssl27:amd64           2.12.23-12ubuntu2.2                 amd64        GNU TLS library - OpenSSL wrapper

#3 Updated by Didier Raboud over 2 years ago

Jaroslav Kysela wrote:

BTW: Could be the openssl -> gnutls wrapper used in the meantime ?

It's not all that easy: I just tried a quick sed-and-replace of all #include <openssl/*> to be #include <gnutls/openssl.h> and it fails in src/main.c already. :( It probably needs someone with slightly more patience :)

#4 Updated by Jaroslav Kysela about 2 years ago

  • Target version set to 4.4

Also available in: Atom PDF