Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libftdi: add license
@ 2019-11-24 10:08 Fabrice Fontaine
  2019-11-24 13:34 ` Yann E. MORIN
  2019-12-03 12:19 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-11-24 10:08 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libftdi/libftdi.hash | 5 +++++
 package/libftdi/libftdi.mk   | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/package/libftdi/libftdi.hash b/package/libftdi/libftdi.hash
index 5d9f8765db..8271ab277a 100644
--- a/package/libftdi/libftdi.hash
+++ b/package/libftdi/libftdi.hash
@@ -1,2 +1,7 @@
 # Locally computed (after checking the signature from http://www.intra2net.com/en/developer/libftdi/download.php)
 sha256  3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e  libftdi-0.20.tar.gz
+
+# Hash for license files:
+sha256  6bd354f4b9beca001b1b5395be48cef1d749a3ed27dddb8114bf09eb0ab2d88c  LICENSE
+sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING.GPL
+sha256  c340cbee4974bb96019e782f2279df016c92fb1e7f5299347e779d9acedbb991  COPYING.LIB
diff --git a/package/libftdi/libftdi.mk b/package/libftdi/libftdi.mk
index cdd77c2e68..90c100b061 100644
--- a/package/libftdi/libftdi.mk
+++ b/package/libftdi/libftdi.mk
@@ -6,6 +6,8 @@
 
 LIBFTDI_VERSION = 0.20
 LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download
+LIBFTDI_LICENSE = LGPL-2.0 (libftdi), GPL-2.0 with exception (ftdipp)
+LIBFTDI_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LIB
 LIBFTDI_DEPENDENCIES = libusb-compat libusb
 HOST_LIBFTDI_DEPENDENCIES = host-libusb-compat host-libusb
 LIBFTDI_INSTALL_STAGING = YES
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/libftdi: add license
  2019-11-24 10:08 [Buildroot] [PATCH 1/1] package/libftdi: add license Fabrice Fontaine
@ 2019-11-24 13:34 ` Yann E. MORIN
  2019-12-03 12:19 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2019-11-24 13:34 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2019-11-24 11:08 +0100, Fabrice Fontaine spake thusly:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/libftdi/libftdi.hash | 5 +++++
>  package/libftdi/libftdi.mk   | 2 ++
>  2 files changed, 7 insertions(+)
> 
> diff --git a/package/libftdi/libftdi.hash b/package/libftdi/libftdi.hash
> index 5d9f8765db..8271ab277a 100644
> --- a/package/libftdi/libftdi.hash
> +++ b/package/libftdi/libftdi.hash
> @@ -1,2 +1,7 @@
>  # Locally computed (after checking the signature from http://www.intra2net.com/en/developer/libftdi/download.php)
>  sha256  3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e  libftdi-0.20.tar.gz
> +
> +# Hash for license files:
> +sha256  6bd354f4b9beca001b1b5395be48cef1d749a3ed27dddb8114bf09eb0ab2d88c  LICENSE
> +sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING.GPL
> +sha256  c340cbee4974bb96019e782f2279df016c92fb1e7f5299347e779d9acedbb991  COPYING.LIB
> diff --git a/package/libftdi/libftdi.mk b/package/libftdi/libftdi.mk
> index cdd77c2e68..90c100b061 100644
> --- a/package/libftdi/libftdi.mk
> +++ b/package/libftdi/libftdi.mk
> @@ -6,6 +6,8 @@
>  
>  LIBFTDI_VERSION = 0.20
>  LIBFTDI_SITE = http://www.intra2net.com/en/developer/libftdi/download
> +LIBFTDI_LICENSE = LGPL-2.0 (libftdi), GPL-2.0 with exception (ftdipp)
> +LIBFTDI_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LIB

There are two issues here. First, the GPL only applies to the C++
bindings, which are conditionally enabled with BR2_PACKAGE_LIBFTDI_CPP.

Second, the COPYING.LIB is indeed the LGPL-2.0, but the source file for
libftdi states LGPL-2.1-only, see:

    http://developer.intra2net.com/git/?p=libftdi;a=blob;f=src/ftdi.c;h=988a9f192942a2a31bb038cc45451df0e0cb32d9;hb=HEAD#l7

Furthermore, 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.

I've fixed that all, and applied to master, thanks.

Regards,
Yann E. MORIN.

>  LIBFTDI_DEPENDENCIES = libusb-compat libusb
>  HOST_LIBFTDI_DEPENDENCIES = host-libusb-compat host-libusb
>  LIBFTDI_INSTALL_STAGING = YES
> -- 
> 2.24.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/libftdi: add license
  2019-11-24 10:08 [Buildroot] [PATCH 1/1] package/libftdi: add license Fabrice Fontaine
  2019-11-24 13:34 ` Yann E. MORIN
@ 2019-12-03 12:19 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-12-03 12:19 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x and 2019.08.x, thanks (+ the followup fixes)

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-03 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-24 10:08 [Buildroot] [PATCH 1/1] package/libftdi: add license Fabrice Fontaine
2019-11-24 13:34 ` Yann E. MORIN
2019-12-03 12:19 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox