ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Savchenko <bircoph@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Лицензионная проблема в GPL пакетах, линкующихся с OpenSSL
Date: Sun, 4 Apr 2021 17:34:47 +0300
Message-ID: <20210404173447.a0e61c49e2c6ebb17f0d2ec5@altlinux.org> (raw)
In-Reply-To: <20210404141343.GA12158@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 5201 bytes --]

On Sun, 4 Apr 2021 17:13:43 +0300 Dmitry V. Levin wrote:
> On Sun, Apr 04, 2021 at 04:35:37PM +0300, Andrey Savchenko wrote:
> > On Sun, 4 Apr 2021 15:58:26 +0300 Dmitry V. Levin wrote:
> > > On Sun, Apr 04, 2021 at 03:04:23PM +0300, Andrey Savchenko wrote:
> > > > Добрый день!
> > > > 
> > > > Обращаю внимание, что лицензии OpenSSL и GPL(все) не совместимы:
> > > > https://www.gnu.org/licenses/license-list.html#OpenSSL
> > > 
> > > А если OpenSSL является системной библиотекой?
> > 
> > Тогда можно. Но является ли? На мой взгляд — нет. Вот пояснение
> > того, что такое "system libraries" из текста GPLv3:
> > 
> > The "System Libraries" of an executable work include anything, other
> > than the work as a whole, that (a) is included in the normal form of
> > packaging a Major Component, but which is not part of that Major
> > Component, and (b) serves only to enable use of the work with that
> > Major Component, or to implement a Standard Interface for which an
> > implementation is available to the public in source code form.  A
> > "Major Component", in this context, means a major essential
> > component (kernel, window system, and so on) of the specific
> > operating system (if any) on which the executable work runs, or a
> > compiler used to produce the work, or an object code interpreter
> > used to run it.
> > 
> > В нашем случае OpenSSL — всего лишь одна из многочисленных
> > библиотек для работы с криптографическими алгоритмами
> > и протоколами. Никаких стандартных программных интерфейсов она тоже
> > не реализует: у каждой библиотеки SSL своё не совместимое ни с
> > чем API.
> > 
> > Можно ли считать популярность библиотеки критерием её системности?
> > Я думаю, что нет.
> 
> Там же написано, что
> A "Standard Interface" means an interface that either is an official
> standard defined by a recognized standards body, or, in the case of
> interfaces specified for a particular programming language, one that
> is widely used among developers working in that language.
> 
> Можно ли рассматривать OpenSSL в качестве библиотеки, widely used among
> developers working на языке C?

По-моему, там другое имелось ввиду:
> interfaces specified for a particular programming language

Т.е. стандартные для языка интерфейсы, если их нет в официальном
стандарте, но на практике широко используется как часть стандарта
языка: например, strlcpy.

> В моём понимании библиотека является системной, если без неё система
> превращается в тыкву.  Есть ли у нас хоть один дистрибутив, хоть один
> опубликованный образ контейнера без libcrypto? В базовую сборочную среду
> libcrypto не входит, дисквалифицирует ли это libcrypto как системную
> библиотеку?

Думаю, что да. Волне можно сделать контейнер без криптографии или
сети для специфических задач; чем, в общем-то, сборочная среда
является.

У разных дистрибутивов здесь разное мнение, кстати:
- Fedora сказала, что OpenSSL — системная библиотека и их ничего не
волнует:
https://fedoraproject.org/wiki/Licensing:FAQ#What.27s_the_deal_with_the_OpenSSL_license.3F
- В Gentoo явно запрещается OpenSSL + GPL для бинарно
распространяемых сборок:
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/ffmpeg/ffmpeg-4.3.2.ebuild#n320
Мало того, лицензии GPL with OpenSSL exception явно выносятся как
отдельные и используются в пакетах по необходимости:
https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/GPL-2+-with-openssl-exception
https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/GPL-3-with-openssl-exception

На мой взгляд, весомым аргументом является то, что апстримы,
разрабатывающие GPL код и использующие OpenSSL, обычно явно
добавляют OpenSSL exception в свою лицензию, таким образом не
полагаясь на возможный системный статус библиотеки.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2021-04-04 14:34 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 12:04 Andrey Savchenko
2021-04-04 12:40 ` Konstantin Lepikhov
2021-04-04 12:53   ` Vladimir D. Seleznev
2021-04-04 12:53   ` Andrey Savchenko
2021-04-04 13:48     ` Alexey V. Vissarionov
2021-04-04 17:57     ` Konstantin Lepikhov
2021-04-04 21:55       ` Andrey Savchenko
2021-04-04 22:03         ` Vladimir D. Seleznev
2021-04-04 22:11           ` Aleksey Novodvorsky
2021-04-04 23:21             ` Andrey Savchenko
2021-04-04 13:06   ` Dmitry V. Levin
2021-04-04 12:51 ` Vladimir D. Seleznev
2021-04-04 12:56   ` Dmitry V. Levin
2021-04-04 13:51     ` Andrey Savchenko
2021-04-04 13:56     ` Anton Farygin
2021-04-04 16:18       ` [devel] FFmpeg flavors (Was: Лицензионная проблема в GPL) " Vladimir D. Seleznev
2021-04-04 17:03         ` Anton Farygin
2021-04-04 17:18           ` Vladimir D. Seleznev
2021-04-04 18:11             ` Anton Farygin
2021-04-04 18:22               ` Vladimir D. Seleznev
2021-04-04 18:25                 ` Anton Farygin
2021-04-04 18:38                   ` Vladimir D. Seleznev
2021-04-04 19:06                     ` Alexey V. Vissarionov
2021-04-04 19:15                       ` Anton Farygin
2021-04-05  2:47                         ` Alexey V. Vissarionov
2021-04-05  5:03                           ` Anton Farygin
2021-04-04 17:19         ` Alexey V. Vissarionov
2021-04-04 12:58 ` [devel] Лицензионная проблема в GPL " Dmitry V. Levin
2021-04-04 13:35   ` Andrey Savchenko
2021-04-04 14:13     ` Dmitry V. Levin
2021-04-04 14:20       ` Alexey Gladkov
2021-04-04 14:48         ` Andrey Savchenko
2021-04-04 14:34       ` Andrey Savchenko [this message]

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=20210404173447.a0e61c49e2c6ebb17f0d2ec5@altlinux.org \
    --to=bircoph@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git