Skip to contentSkip to conversation

kmod: annotate licenses with components

PATCH New Rahul Bedarkar 2 participants 4 messages Oct 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 kmod: annotate licenses with components

library libkmod.so is licensed under LGPLv2.1+ and kmod tools are licensed under GPLv2+.

---
 package/kmod/kmod.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/kmod/kmod.mk +2 -2
index 1753b1d..7492b92 100644
@@ -12,7 +12,7 @@ KMOD_DEPENDENCIES = host-pkgconf
 HOST_KMOD_DEPENDENCIES = host-pkgconf
 
 # license info for libkmod only, conditionally add more below
-KMOD_LICENSE = LGPLv2.1+
+KMOD_LICENSE = LGPLv2.1+ (library)
 KMOD_LICENSE_FILES = libkmod/COPYING
 
 # static linking not supported, see
@@ -40,7 +40,7 @@ endif
 ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y)
 
 # add license info for kmod tools
-KMOD_LICENSE += GPLv2+
+KMOD_LICENSE := $(KMOD_LICENSE), GPLv2+ (tools)
 KMOD_LICENSE_FILES += COPYING
 
 # take precedence over busybox implementation
Signature · 1 line
2.6.2
#1 lore raw

PATCH 2/3 dtc: update legal info

library libdtc is dual licensed under BSD-2c or GPLv2+ and dtc programs are licensed under GPLv2+.

This patch annotates licenses with components and uses correct format to specify dual licensing that is separating licenses with 'or' keyword instead of '/'.

---
 package/dtc/dtc.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/dtc/dtc.mk +2 -2
index 8fdcdbe..9dbca0a 100644
@@ -7,7 +7,7 @@
 DTC_VERSION = 1.4.1
 DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
 DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
-DTC_LICENSE = GPLv2+/BSD-2c
+DTC_LICENSE = GPLv2+ or BSD-2c (library)
 DTC_LICENSE_FILES = README.license GPL
 DTC_INSTALL_STAGING = YES
 DTC_DEPENDENCIES = host-bison host-flex
@@ -19,7 +19,7 @@ endef
 
 ifeq ($(BR2_PACKAGE_DTC_PROGRAMS),y)
 
-DTC_LICENSE += (for the library), GPLv2+ (for the executables)
+DTC_LICENSE := $(DTC_LICENSE), GPLv2+ (programs)
 DTC_INSTALL_GOAL = install
 ifeq ($(BR2_PACKAGE_BASH),)
 DTC_POST_INSTALL_TARGET_HOOKS += DTC_POST_INSTALL_TARGET_RM_DTDIFF
Signature · 1 line
2.6.2
#2 lore raw

PATCH 3/3 usbredir: improve license description

In reply to Rahul Bedarkar

For consistency use 'libraries' and 'program' as component names and adjust license string for readability when we conditionally specify license for server program.

---
 package/usbredir/usbredir.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/usbredir/usbredir.mk +2 -2
index 926a1ff..6765a9b 100644
@@ -7,14 +7,14 @@
 USBREDIR_VERSION = 0.7.1
 USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2
 USBREDIR_SITE = http://spice-space.org/download/usbredir
-USBREDIR_LICENSE = LGPLv2.1+
+USBREDIR_LICENSE = LGPLv2.1+ (libraries)
 USBREDIR_LICENSE_FILES = COPYING.LIB
 USBREDIR_INSTALL_STAGING = YES
 USBREDIR_DEPENDENCIES = host-pkgconf libusb
 
 ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
 
-USBREDIR_LICENSE += (for the library), GPLv2+ (for the server)
+USBREDIR_LICENSE := $(USBREDIR_LICENSE), GPLv2+ (program)
 USBREDIR_LICENSE_FILES += COPYING
 
 else # BR2_PACKAGE_USBREDIR_SERVER != y
Signature · 1 line
2.6.2
#3 lore raw

PATCH 1/3 kmod: annotate licenses with components

In reply to Rahul Bedarkar

Hello,

Quoted 7 lines · Rahul Bedarkar

library libkmod.so is licensed under LGPLv2.1+ and kmod tools are licensed under GPLv2+.

---
 package/kmod/kmod.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

All three patches applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com