Skip to contentSkip to conversation

package/libftdi1: fix license

PATCH New Fabrice Fontaine 3 participants 3 messages Nov 24, 2019 – Dec 3, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libftdi1: fix license

The GPL only applies to the C++ bindings, which are conditionally enabled with BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1.

The COPYING.LIB is indeed the LGPL-2.0, but the source file for libftdi1 states LGPL-2.1-only, see src/ftdi.c

The src/ftdi_stream.c also bears a notice of the MIT license, so the library itself is under both LGPL-2.1-only and MIT.

---
 package/libftdi1/libftdi1.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/libftdi1/libftdi1.mk +4 -2
index 014dd8401e..cce04ee5ca 100644
@@ -9,14 +9,16 @@ LIBFTDI1_SOURCE = libftdi1-$(LIBFTDI1_VERSION).tar.bz2
 LIBFTDI1_SITE = http://www.intra2net.com/en/developer/libftdi/download
 LIBFTDI1_INSTALL_STAGING = YES
 LIBFTDI1_DEPENDENCIES = libusb
-LIBFTDI1_LICENSE = LGPL-2.0 (libftdi1), GPL-2.0 with exception (ftdipp1)
-LIBFTDI1_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LIB
+LIBFTDI1_LICENSE = LGPL-2.1 (libftdi1), MIT (libftdi1)
+LIBFTDI1_LICENSE_FILES = LICENSE COPYING.LIB
 LIBFTDI1_CONFIG_SCRIPTS = libftdi1-config
 LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF
 
 ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y)
 LIBFTDI1_DEPENDENCIES += boost
 LIBFTDI1_CONF_OPTS += -DFTDIPP=ON
+LIBFTDI1_LICENSE += , GPL-2.0 with exception (ftdipp1)
+LIBFTDI1_LICENSE_FILES += COPYING.GPL
 else
 LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF
 endif
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 package/libftdi1: fix license

Fabrice, All,

On 2019-11-24 19:01 +0100, Fabrice Fontaine spake thusly:

Quoted 8 lines

The GPL only applies to the C++ bindings, which are conditionally enabled with BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1.

The COPYING.LIB is indeed the LGPL-2.0, but the source file for libftdi1 states LGPL-2.1-only, see src/ftdi.c

The src/ftdi_stream.c also bears a notice of the MIT license, so the library itself is under both LGPL-2.1-only and MIT.

Oh... This is libftdi1... I was mislead when looking at the libftdi git
tree: it is the same tree for 0.x and 1.x, and the MIT-licensed file is only present on the 1.x branch, not the legacy 0.x branch... Damn...

I'll push a fix to remove the MIT license from libftdi (not libftdi1, me stupid).

Quoted 10 lines
---
 package/libftdi1/libftdi1.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/libftdi1/libftdi1.mk +0 -0
index 014dd8401e..cce04ee5ca 100644

package/libftdi1/libftdi1.mk LIBFTDI1_SOURCE = libftdi1-$(LIBFTDI1_VERSION).tar.bz2 · line 12

Quoted 4 lines
package/libftdi1/libftdi1.mk +0 -1
@@ -9,14 +9,16 @@ LIBFTDI1_SOURCE = libftdi1-$(LIBFTDI1_VERSION).tar.bz2
 LIBFTDI1_SITE = http://www.intra2net.com/en/developer/libftdi/download
 LIBFTDI1_INSTALL_STAGING = YES
 LIBFTDI1_DEPENDENCIES = libusb
-LIBFTDI1_LICENSE = LGPL-2.0 (libftdi1), GPL-2.0 with exception (ftdipp1)

The GPL-2.0 also applies to the eeprom utility, see ftdi_eeprom/main.c

I've added it, and pushed to master. Thanks!

Regards,
Yann E. MORIN.

Quoted 21 lines
package/libftdi1/libftdi1.mk +4 -1
-LIBFTDI1_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LIB
+LIBFTDI1_LICENSE = LGPL-2.1 (libftdi1), MIT (libftdi1)
+LIBFTDI1_LICENSE_FILES = LICENSE COPYING.LIB
 LIBFTDI1_CONFIG_SCRIPTS = libftdi1-config
 LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF
 
 ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y)
 LIBFTDI1_DEPENDENCIES += boost
 LIBFTDI1_CONF_OPTS += -DFTDIPP=ON
+LIBFTDI1_LICENSE += , GPL-2.0 with exception (ftdipp1)
+LIBFTDI1_LICENSE_FILES += COPYING.GPL
 else
 LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF
 endif
Signature · 6 lines
2.24.0

_______________________________________________
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 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/libftdi1: fix license

In reply to Fabrice Fontaine
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

The GPL only applies to the C++ bindings, which are conditionally enabled with BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1.

Quoted 7 lines

The COPYING.LIB is indeed the LGPL-2.0, but the source file for libftdi1 states LGPL-2.1-only, see src/ftdi.c

The src/ftdi_stream.c also bears a notice of the MIT license, so the library itself is under both LGPL-2.1-only and MIT.

Committed to 2019.02.x and 2019.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard