gnutls: update legal info
PATCH 1/6 gnutls: update legal info
GnuTLS core library is licensed under LGPLv2.1+ while gnutls-openssl library is licensed under GPLv3+. Annotate the license with components.
--- package/gnutls/gnutls.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gnutls/gnutls.mk +1 -1
@@ -8,7 +8,7 @@ GNUTLS_VERSION_MAJOR = 3.4 GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).13 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz GNUTLS_SITE = ftp://ftp.gnutls.org/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) -GNUTLS_LICENSE = GPLv3+, LGPLv2.1+ +GNUTLS_LICENSE = GPLv3+ (gnutls-openssl library), LGPLv2.1+ (core library) GNUTLS_LICENSE_FILES = COPYING COPYING.LESSER GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 nettle pcre GNUTLS_CONF_OPTS = \
Signature · 1 line
2.6.2
PATCH 2/6 libuci: update legal info
CLI tool and lua bindings are released under GPLv2.
--- package/libuci/libuci.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/libuci/libuci.mk +2 -1
@@ -6,7 +6,7 @@ LIBUCI_VERSION = e339407372ffc70b1451e4eda218c01aa95a6a7f LIBUCI_SITE = git://nbd.name/uci.git -LIBUCI_LICENSE = LGPLv2.1 +LIBUCI_LICENSE = LGPLv2.1, GPLv2 (tools) LIBUCI_INSTALL_STAGING = YES LIBUCI_DEPENDENCIES = libubox
@@ -15,6 +15,7 @@ LIBUCI_DEPENDENCIES += lua LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \ -DLUAPATH=/usr/lib/lua/5.1 \ -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include +LIBUCI_LICENSE += , GPLv2 (lua bindings) else LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF endif
Signature · 1 line
2.6.2
PATCH 2/6 libuci: update legal info
Rahul, All,
On 2016-07-04 18:16 +0530, Rahul Bedarkar spake thusly:
Quoted 22 lines
CLI tool and lua bindings are released under GPLv2.
Reviewed-by Marcin Nowakowski <[email protected]>Signed-off-by Rahul Bedarkar <[email protected]>--- package/libuci/libuci.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/libuci/libuci.mk +1
-1@@ -6,7 +6,7 @@ LIBUCI_VERSION = e339407372ffc70b1451e4eda218c01aa95a6a7f LIBUCI_SITE = git://nbd.name/uci.git -LIBUCI_LICENSE = LGPLv2.1 +LIBUCI_LICENSE = LGPLv2.1, GPLv2 (tools) LIBUCI_INSTALL_STAGING = YES LIBUCI_DEPENDENCIES = libubox
package/libuci/libuci.mk LIBUCI_DEPENDENCIES += lua · line 18
Quoted 4 lines
package/libuci/libuci.mk +1
-0@@ -15,6 +15,7 @@ LIBUCI_DEPENDENCIES += lua LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \ -DLUAPATH=/usr/lib/lua/5.1 \ -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include +LIBUCI_LICENSE += , GPLv2 (lua bindings)
Although this is correct, this causes the resulting string to be ill-formatted:
LGPLv2.1, GPLv2 (tools) , GPLv2 (lua bindings)
In this case, what we did in other such conditions, was:
LIBUCI_LICENSE = LGPLv2.1, GPLv2 (tools)
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
LIBUCI_LICENSE := $(LIBUCI_LICENSE), GPLv2 (lua bindings)
endifSee for example qt or freeswitch.
Regards,
Yann E. MORIN.
Quoted 10 lines
package/libuci/libuci.mk +0
-0else LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF endifSignature · 6 lines
2.6.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 3/6 dbus: update legal info
In reply to Rahul BedarkarLibrary and some tools (dbus-lanuch, dbus-run-session) are dual licensed under GPLv2 or AFLv2.1 and others (dbus-monitor, dbus-send, dbus-cleanup-sockets, dbus-uuidgen) are licensed under GPLv2+ only.
--- package/dbus/dbus.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/dbus/dbus.mk +1 -1
@@ -6,7 +6,7 @@ DBUS_VERSION = 1.10.8 DBUS_SITE = http://dbus.freedesktop.org/releases/dbus -DBUS_LICENSE = AFLv2.1, GPLv2+ +DBUS_LICENSE = AFLv2.1 or GPLv2+ (library, tools), GPLv2+ (tools) DBUS_LICENSE_FILES = COPYING DBUS_INSTALL_STAGING = YES
Signature · 1 line
2.6.2
PATCH 4/6 iw: correct license name
In reply to Rahul Bedarkariw license is ISC.
--- package/iw/iw.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/iw/iw.mk +1 -1
@@ -7,7 +7,7 @@ IW_VERSION = 4.7 IW_SOURCE = iw-$(IW_VERSION).tar.xz IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw -IW_LICENSE = iw license +IW_LICENSE = ISC IW_LICENSE_FILES = COPYING IW_DEPENDENCIES = host-pkgconf libnl IW_MAKE_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDFLAGS="$(TARGET_LDFLAGS)"
Signature · 1 line
2.6.2
PATCH 4/6 iw: correct license name
Rahul, All,
On 2016-07-04 18:16 +0530, Rahul Bedarkar spake thusly:
Quoted 4 lines
iw license is ISC.
Reviewed-by Marcin Nowakowski <[email protected]>Signed-off-by Rahul Bedarkar <[email protected]>
Regards,
Yann E. MORIN.
Quoted 24 lines
--- package/iw/iw.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/iw/iw.mk +1
-1@@ -7,7 +7,7 @@ IW_VERSION = 4.7 IW_SOURCE = iw-$(IW_VERSION).tar.xz IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw -IW_LICENSE = iw license +IW_LICENSE = ISC IW_LICENSE_FILES = COPYING IW_DEPENDENCIES = host-pkgconf libnl IW_MAKE_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDFLAGS="$(TARGET_LDFLAGS)"Signature · 6 lines
2.6.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 5/6 gmp: correct legal info
In reply to Rahul BedarkarSince version 6, GMP is distributed under the dual licenses LGPLv3+ or GPLv2+
--- package/gmp/gmp.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/gmp/gmp.mk +2 -2
@@ -8,8 +8,8 @@ GMP_VERSION = 6.1.1 GMP_SITE = $(BR2_GNU_MIRROR)/gmp GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz GMP_INSTALL_STAGING = YES -GMP_LICENSE = LGPLv3+ -GMP_LICENSE_FILES = COPYING.LESSERv3 +GMP_LICENSE = LGPLv3+ or GPLv2+ +GMP_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2 GMP_DEPENDENCIES = host-m4 HOST_GMP_DEPENDENCIES = host-m4
Signature · 1 line
2.6.2
PATCH 5/6 gmp: correct legal info
Rahul, All,
On 2016-07-04 18:16 +0530, Rahul Bedarkar spake thusly:
Quoted 14 lines
Since version 6, GMP is distributed under the dual licenses LGPLv3+ or GPLv2+
Reviewed-by Marcin Nowakowski <[email protected]>Signed-off-by Rahul Bedarkar <[email protected]>--- package/gmp/gmp.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/gmp/gmp.mk +0
-0
package/gmp/gmp.mk GMP_VERSION = 6.1.1 · line 12
Quoted 7 lines
package/gmp/gmp.mk +2
-2@@ -8,8 +8,8 @@ GMP_VERSION = 6.1.1 GMP_SITE = $(BR2_GNU_MIRROR)/gmp GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz GMP_INSTALL_STAGING = YES -GMP_LICENSE = LGPLv3+ -GMP_LICENSE_FILES = COPYING.LESSERv3 +GMP_LICENSE = LGPLv3+ or GPLv2+ +GMP_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
There are also COPYING and COPYINGv3; both contain the text of the GPLv3. I'm not sure whether we should carry them or not...
I've looked at a few files, used a few grep-fuu, and they seem to really consistently refer to either LGPLv3 or GPLv2, which is what you wrote.
So I'd be tempted to agree with you.
Regards,
Yann E. MORIN.
Quoted 10 lines
package/gmp/gmp.mk +0
-0GMP_DEPENDENCIES = host-m4 HOST_GMP_DEPENDENCIES = host-m4Signature · 6 lines
2.6.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 6/6 alsa-lib: update legal info
In reply to Rahul Bedarkaraserver tool is licensed under GPLv2+. It is built if 'shm' pcm plugin is enabled. So, specify its license conditionally when it is enabled.
--- package/alsa-lib/alsa-lib.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+)
package/alsa-lib/alsa-lib.mk +13 -0
@@ -12,6 +12,19 @@ ALSA_LIB_LICENSE_FILES = COPYING ALSA_LIB_INSTALL_STAGING = YES ALSA_LIB_CFLAGS = $(TARGET_CFLAGS) ALSA_LIB_AUTORECONF = YES + +ifneq (,$(findstring shm,$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS)))) +ALSA_LIB_HAS_SHM_PLUGIN = y +else ifneq (,$(findstring all,$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS)))) +ALSA_LIB_HAS_SHM_PLUGIN = y +endif + +# aserver tool is built when shm pcm plugin is enabled and licensed under GPLv2+ +ifeq ($(ALSA_LIB_HAS_SHM_PLUGIN),y) +ALSA_LIB_LICENSE += , GPLv2+ (aserver tool) +ALSA_LIB_LICENSE_FILES += aserver/COPYING +endif + ALSA_LIB_CONF_OPTS = \ --with-alsa-devdir=$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_DEVDIR)) \ --with-pcm-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))" \
Signature · 1 line
2.6.2
PATCH 6/6 alsa-lib: update legal info
Rahul, All,
On 2016-07-04 18:16 +0530, Rahul Bedarkar spake thusly:
Quoted 14 lines
aserver tool is licensed under GPLv2+. It is built if 'shm' pcm plugin is enabled. So, specify its license conditionally when it is enabled.
Reviewed-by Abhimanyu Vishwakarma <[email protected]>Signed-off-by Rahul Bedarkar <[email protected]>--- package/alsa-lib/alsa-lib.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+)package/alsa-lib/alsa-lib.mk +0
-0
package/alsa-lib/alsa-lib.mk ALSA_LIB_LICENSE_FILES = COPYING · line 16
Quoted 5 lines
package/alsa-lib/alsa-lib.mk +2
-0@@ -12,6 +12,19 @@ ALSA_LIB_LICENSE_FILES = COPYING ALSA_LIB_INSTALL_STAGING = YES ALSA_LIB_CFLAGS = $(TARGET_CFLAGS) ALSA_LIB_AUTORECONF = YES + +ifneq (,$(findstring shm,$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))))
We prefer positive logic, which you can achieve with something like:
ifeq ($(filter shm,$($(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS)))),shm)
package/alsa-lib/alsa-lib.mk ALSA_LIB_LICENSE_FILES = COPYING · line 18
Quoted 2 lines
package/alsa-lib/alsa-lib.mk +2
-0+ALSA_LIB_HAS_SHM_PLUGIN = y +else ifneq (,$(findstring all,$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))))
Ditto.
package/alsa-lib/alsa-lib.mk ALSA_LIB_LICENSE_FILES = COPYING · line 24
Quoted 6 lines
package/alsa-lib/alsa-lib.mk +6
-0+ALSA_LIB_HAS_SHM_PLUGIN = y +endif + +# aserver tool is built when shm pcm plugin is enabled and licensed under GPLv2+ +ifeq ($(ALSA_LIB_HAS_SHM_PLUGIN),y) +ALSA_LIB_LICENSE += , GPLv2+ (aserver tool)
As for libuci, this creates an ill-formatted string. Use the same trick to fix it. ;-)
Regards,
Yann E. MORIN.
Quoted 13 lines
package/alsa-lib/alsa-lib.mk +3
-0+ALSA_LIB_LICENSE_FILES += aserver/COPYING +endif + ALSA_LIB_CONF_OPTS = \ --with-alsa-devdir=$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_DEVDIR)) \ --with-pcm-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))" \Signature · 6 lines
2.6.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 6/6 alsa-lib: update legal info
In reply to Rahul BedarkarHello,
package/alsa-lib/alsa-lib.mk ALSA_LIB_LICENSE_FILES = COPYING · line 26
Quoted 11 lines · Rahul Bedarkar
package/alsa-lib/alsa-lib.mk +11
-0+ifneq (,$(findstring shm,$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS)))) +ALSA_LIB_HAS_SHM_PLUGIN = y +else ifneq (,$(findstring all,$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS)))) +ALSA_LIB_HAS_SHM_PLUGIN = y +endif + +# aserver tool is built when shm pcm plugin is enabled and licensed under GPLv2+ +ifeq ($(ALSA_LIB_HAS_SHM_PLUGIN),y) +ALSA_LIB_LICENSE += , GPLv2+ (aserver tool) +ALSA_LIB_LICENSE_FILES += aserver/COPYING +endif
I think this is somewhat too complicated, what about just doing:
ALSA_LIB_LICENSE = LGPLv2.1+ (library), GPLv2+ (aserver)
However, the code in src/topology/, which can get linked into the library, seems to be licensed under GPLv2+. This would make the whole library GPLv2+, no? If that's the case, then the license information should be updated accordingly.
I've pushed a commit that adds the aserver licensing information (since it's already better than it is), but it would be good to clarify the src/topology/ situation.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/6 gnutls: update legal info
In reply to Rahul BedarkarRahul, All,
On 2016-07-04 18:16 +0530, Rahul Bedarkar spake thusly:
Quoted 2 lines
GnuTLS core library is licensed under LGPLv2.1+ while gnutls-openssl library is licensed under GPLv3+. Annotate the license with components.
What do you call "core library" and "gnutls-openssl library"?
Do you consider libdane to be that "gnutls-openssl library" you talk about?
I've looked at the source, and libdane is (at least partially) LGPLv3:
libdane/errors.c:
[--SNIP--]
* libdane is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
[--SNIP--]
Could you please review the situation and provide a bit more explanations as to what is what, please?
Regards,
Yann E. MORIN.
Quoted 26 lines
Reviewed-by Marcin Nowakowski <[email protected]>Signed-off-by Rahul Bedarkar <[email protected]>--- package/gnutls/gnutls.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/gnutls/gnutls.mk +1
-1@@ -8,7 +8,7 @@ GNUTLS_VERSION_MAJOR = 3.4 GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).13 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz GNUTLS_SITE = ftp://ftp.gnutls.org/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) -GNUTLS_LICENSE = GPLv3+, LGPLv2.1+ +GNUTLS_LICENSE = GPLv3+ (gnutls-openssl library), LGPLv2.1+ (core library) GNUTLS_LICENSE_FILES = COPYING COPYING.LESSER GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 nettle pcre GNUTLS_CONF_OPTS = \Signature · 6 lines
2.6.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/6 gnutls: update legal info
Hello,
Quoted 5 lines · Yann E. MORIN
On 2016-07-04 18:16 +0530, Rahul Bedarkar spake thusly:
Quoted 2 lines
GnuTLS core library is licensed under LGPLv2.1+ while gnutls-openssl library is licensed under GPLv3+. Annotate the license with components.
What do you call "core library" and "gnutls-openssl library"?
This is explained in the README file:
"""
Since GnuTLS version 3.1.10, the core library has been released under the GNU Lesser General Public License (LGPL) version 2.1 or later.
Note, however, that version 6.0.0 and later of the gmplib library used by GnuTLS are distributed under a LGPLv3+ or GPLv2+ dual license, and as such binaries of this library need to adhere to either LGPLv3+ or GPLv2+ license.
The GNU LGPL applies to the main GnuTLS library, while the included applications as well as gnutls-openssl
library are under the GNU GPL version 3. The gnutls library is located in the lib/ and libdane/ directories, while the applications in src/ and, the gnutls-openssl library is at extra/.
"""
Quoted 3 lines
Do you consider libdane to be that "gnutls-openssl library" you talk about?
No, see above. libdane is part of the "core library".
Quoted 9 lines
I've looked at the source, and libdane is (at least partially) LGPLv3:
libdane/errors.c:
[--SNIP--]
* libdane is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
[--SNIP--]
This seems to be a bug, which I've reported upstream at
https://gitlab.com/gnutls/gnutls/issues/109.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/6 gnutls: update legal info
In reply to Rahul BedarkarHello,
Quoted 8 lines · Rahul Bedarkar
GnuTLS core library is licensed under LGPLv2.1+ while gnutls-openssl library is licensed under GPLv3+. Annotate the license with components.
Reviewed-by Marcin Nowakowski <[email protected]>Signed-off-by Rahul Bedarkar <[email protected]>--- package/gnutls/gnutls.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied with some changes:
[Thomas:
- add comment about the license of the "core library" since some files seems to be mistakenly under LGPLv3+ even though the library is licensed under LGPLv2.1+.
- add the README file in the license information, since it contains a lot of useful details.]
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com