Bug 37575 - License for Virtualbox
Summary: License for Virtualbox
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: virtualbox (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
URL: http://git.altlinux.org/tasks/242216/...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-04 14:29 MSK by Evgeny Sinelnikov
Modified: 2019-12-13 02:45 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Sinelnikov 2019-12-04 14:29:12 MSK
При сборке Virtualbox в сизиф возникла ошибка:
sisyphus_check: check-deps ERROR: package dependencies violation
/.out/virtualbox-5.2.34-alt3.x86_64.rpm: The use of such a license name is ambiguous: GPL

Указание лицензии GPLv2 or (GPLv2 and CDDL) приводит к ошибке:
sisyphus_check: check-deps ERROR: package dependencies violation
/.out/virtualbox-5.2.34-alt3.i586.rpm: license not found in '/usr/share/license' directory: CDDL

Новое название лицензии взято из примера спека федоры.
При этом в исходниках, действительно, лежит два файла лицензии:
- COPYING
- COPYING.CDDL
http://git.altlinux.org/people/sin/packages/virtualbox.git

Непонятно - как быть с лицензией. Думаю оставить GPLv2.
Comment 1 Alexey Gladkov 2019-12-04 16:38:37 MSK
(В ответ на комментарий №0)
> Указание лицензии GPLv2 or (GPLv2 and CDDL) приводит к ошибке:
> sisyphus_check: check-deps ERROR: package dependencies violation
> /.out/virtualbox-5.2.34-alt3.i586.rpm: license not found in
> '/usr/share/license' directory: CDDL

CDDL нет т.к. у этой лицензии несколько версий.

> Новое название лицензии взято из примера спека федоры.
> При этом в исходниках, действительно, лежит два файла лицензии:
> - COPYING
> - COPYING.CDDL
> http://git.altlinux.org/people/sin/packages/virtualbox.git

В virtualbox используется CDDL-1.0[1].

> Непонятно - как быть с лицензией. Думаю оставить GPLv2.

Это неправильно.

В COPYING.CDDL[1] написано:

Some source files in the VirtualBox Open Source Edition (OSE) are
dual-licensed under both the GNU General Public License V2.0 (GPL2, see
the COPYING file) and the Common Development and Distribution License,
Version 1.0 (CDDL)

Вот из COPYING:

A VirtualBox interface is deemed
multi-licensed if it is declared in a VirtualBox header file that is licensed
under both the GPL version 2 (below) *and* the Common Development and
Distribution License Version 1.0 (CDDL), as it comes in the "COPYING.CDDL" file.

Я написал бы: GPL-2.0 and CDDL-1.0

[1] http://git.altlinux.org/people/sin/packages/virtualbox.git?p=virtualbox.git;a=blob;f=VirtualBox/COPYING.CDDL;h=5329e917cefbaaba102a92181616a5ddc06e1880;hb=739b0f41f6ad3d8ddc7af62355d29fef2802640b
Comment 2 Dmitry V. Levin 2019-12-04 20:25:44 MSK
(In reply to comment #1)
> Вот из COPYING:
> 
> A VirtualBox interface is deemed
> multi-licensed if it is declared in a VirtualBox header file that is licensed
> under both the GPL version 2 (below) *and* the Common Development and
> Distribution License Version 1.0 (CDDL), as it comes in the "COPYING.CDDL"
> file.

Очень странно написано.  Что они хотели этим сказать?

> Я написал бы: GPL-2.0 and CDDL-1.0

Эта формулировка означает, что какие-то файлы под GPL-2.0, а какие-то под CDDL-1.0.  А что там на самом деле?
Comment 3 Dmitry V. Levin 2019-12-04 20:27:42 MSK
В любом случае в пакете common-licenses по этому поводу ничего делать не надо.
Comment 4 Repository Robot 2019-12-13 02:45:50 MSK
virtualbox-5.2.34-alt3 -> sisyphus:

Wed Dec 04 2019 Evgeny Sinelnikov <sin@altlinux> 5.2.34-alt3
- Add virtualbox-guest-common subpackages with modules load and modprobe rules
- Fix build with newest libglvnd later than 1.2.0 on Sisyphus
- Adjust license to GPLv2 (closes: 37575)

Tue Dec 03 2019 Valery Sinelnikov <greh@altlinux> 5.2.34-alt2
- Add modprobe install rules for renamed vboxguest and vboxvideo