Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/openocd: bump to 0.12.0
Date: Sat, 15 Apr 2023 15:29:29 +0200	[thread overview]
Message-ID: <20230415132929.GK2819@scaer> (raw)
In-Reply-To: <20230411203930.2455301-1-dario.binacchi@amarulasolutions.com>

Dario, All,

On 2023-04-11 22:39 +0200, Dario Binacchi spake thusly:
[--SNIP--]
> The new version moves the GPL-2.0 license from COPYING to the subfolder
> "preferred", adding the header required by spdxcheck.py. A minimalist
> COPYING is added in the top directory, as required by automake, pointing
> to the files in LICENSES.
[--SNIP--]
> diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
> index 37a06ca848b7..2645f9a02465 100644
> --- a/package/openocd/openocd.mk
> +++ b/package/openocd/openocd.mk
> @@ -4,12 +4,20 @@
>  #
>  ################################################################################
>  
> -OPENOCD_VERSION = 0.11.0
> +OPENOCD_VERSION = 0.12.0
>  OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
>  OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION)
> -OPENOCD_LICENSE = GPL-2.0+
> -OPENOCD_LICENSE_FILES = COPYING
> -# 0002-configure-enable-build-on-uclinux.patch patches configure.ac
> +OPENOCD_LICENSE = GPL-2.0+ (code), GFDL-1.2-no-invariants-or-later (docs), \
> +	GPL-3.0+, (stand-alone code), BSD-1-clause, BSD-2-clause, BSD-3-clause, \
> +	MIT, BSD-Source-Code, eCos-exception-2.0
> +OPENOCD_LICENSE_FILES = COPYING LICENSES/exceptions/eCos-exception-2.0 \
> +	LICENSES/license-rules.txt LICENSES/preferred/BSD-1-Clause \
> +	LICENSES/preferred/BSD-2-Clause LICENSES/preferred/BSD-2-Clause-Views \
> +	LICENSES/preferred/BSD-3-Clause LICENSES/preferred/BSD-Source-Code \
> +	LICENSES/preferred/GFDL-1.2 LICENSES/preferred/gfdl-1.2.texi.readme \
> +	LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT \
> +	LICENSES/stand-alone/GPL-3.0
> +# 0001-configure-enable-build-on-uclinux.patch patches configure.ac

This is a bit difficult to read, so I changed it to one-item per line.

Also, listing the eCos exception by itself was a little weird, so I
looked at the code, and it turns out there a single file that references
that exception:
    src/flash/nand/ecc.c

The SPDX identifier for that file is:
    SPDX-License-Identifier: GPL-2.0-or-later WITH eCos-exception-2.0

It is part of openocd itself (the executalbe), via libopenocd.la (which
is a convenience library, i.e. a static lib that is not installed).

So, I believe the real licening terms should be:

    OPENOCD_LICENSE = \
        BSD-1-clause, \
        BSD-2-clause, \
        BSD-2-Clause-Views, \
        BSD-3-clause, \
        BSD-Source-Code, \
        GFDL-1.2-no-invariants-or-later (docs), \
        GPL-2.0+ eith eCos-exception-2.0 (code), \
        GPL-3.0+ (stand-alone code), \
        MIT

I was about to do so before I pushed, but I'd like a bit of feedback...

Thoughts?

Anyway, as all the licensing details were there, I pushed without the
above issue addressed, so can you please look into sending a follow-up
patch to explain fix it and all the above, please?

Regards,
Yann E. MORIN.

>  OPENOCD_AUTORECONF = YES
>  OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
>  
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-04-15 13:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 20:39 [Buildroot] [PATCH v2 1/1] package/openocd: bump to 0.12.0 Dario Binacchi
2023-04-15 13:29 ` Yann E. MORIN [this message]
2023-04-23  9:38 ` Peter Korsgaard
2023-04-23  9:57   ` Baruch Siach via buildroot
2023-04-23 10:44     ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2023-03-13 18:32 [Buildroot] [PATCH " Roman Passler
2023-03-14 12:13 ` [Buildroot] [PATCH v2 " Roman Passler
2023-03-14 22:33   ` Thomas Petazzoni via buildroot
2023-03-15 20:44     ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230415132929.GK2819@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=dario.binacchi@amarulasolutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox