mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Roland Hieber <rhi@pengutronix.de>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 13/13] binutils: add license information
Date: Fri, 17 Dec 2021 11:45:19 +0100	[thread overview]
Message-ID: <YbxqP6uBnXCT1EFM@pengutronix.de> (raw)
In-Reply-To: <20211205004208.2306245-13-rhi@pengutronix.de>

On Sun, Dec 05, 2021 at 01:42:08AM +0100, Roland Hieber wrote:
> Only readelf and objdump are installed to the target, but they are
> statically linked to the provided zlib and libiberty, latter of which
> includes a confusing mix of LGPL, GPL, and exceptions unknown to SPDX.

This is not quite correct. libbfd.a, libiberty.a and libopcodes.a are
available as static and may be used by other packages. e.g. perf from the
kernel package uses all of them, afaik.

Michael

> In particular:
> 
>  - binutils/readelf.c, binutils/objdump.c: GPL-3.0-or-later
>  - ./COPYING3: GPL-3.0 license text
>  - libiberty/regex.c: LGPL-2.1-or-later
>  - libiberty/COPYING.LIB: LGPL-2.1 license text
>  - libiberty/snprintf.c: GPL-2.0-or-later with SPDX-unknown linking exception
>  - ./COPYING: GPL-2.0 license text
>  - zlib/README: Zlib license text
> 
> Reported-by: Felicitas Jung <f.jung@pengutronix.de>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> PATCH v2:
>  - use "custom-exception" instead of "unknown"
>  - rebase to current master, review and adapt MD5 sums accordingly
> 
> PULL v1: https://lore.ptxdist.org/ptxdist/20200527112204.ll7ij44ahllid6ip@pengutronix.de
> ---
>  rules/binutils.make | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/rules/binutils.make b/rules/binutils.make
> index ca1080bc811d..b5dd820327d2 100644
> --- a/rules/binutils.make
> +++ b/rules/binutils.make
> @@ -22,6 +22,17 @@ BINUTILS_SUFFIX		:= tar.bz2
>  BINUTILS_URL		:= $(call ptx/mirror, GNU, binutils/$(BINUTILS).$(BINUTILS_SUFFIX))
>  BINUTILS_SOURCE		:= $(SRCDIR)/$(BINUTILS).$(BINUTILS_SUFFIX)
>  BINUTILS_DIR		:= $(BUILDDIR)/$(BINUTILS)
> +BINUTILS_LICENSE	:= GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later WITH custom-exception AND Zlib
> +# note: only readelf and objdump are installed to the target for now
> +BINUTILS_LICENSE_FILES	:= \
> +	file://binutils/readelf.c;startline=2;endline=17;md5=64a1741cc837a4693ebc82cab284a8dd \
> +	file://binutils/objdump.c;startline=2;endline=14;md5=bbe991698d559a2ac1ac1232bf5e44dc \
> +	file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
> +	file://libiberty/regex.c;startline=9;endline=22;md5=cf0f678ecac74768b21623c63522ac75 \
> +	file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \
> +	file://libiberty/snprintf.c;startline=5;endline=24;md5=f6842a5a6f45af438cd99132b4fcc9a5 \
> +	file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> +	file://zlib/README;startline=92;endline=109;md5=5377232268e952e9ef63bc555f7aa6c0 \
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-12-17 10:46 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-05  0:41 [ptxdist] [PATCH v2 01/13] argtable2: " Roland Hieber
2021-12-05  0:41 ` [ptxdist] [PATCH v2 02/13] calibrator: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:41 ` [ptxdist] [PATCH v2 03/13] frodo: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:41 ` [ptxdist] [PATCH v2 04/13] hdparm: " Roland Hieber
2021-12-17  8:26   ` Michael Olbrich
2021-12-19 18:50     ` Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 05/13] libgd: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 06/13] libmng: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 07/13] libnetpbm: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 08/13] lsof: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 09/13] openntpd: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 10/13] python-routing: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 11/13] python-rplicmp: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 12/13] simplerpl: " Roland Hieber
2021-12-17 13:27   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-12-05  0:42 ` [ptxdist] [PATCH v2 13/13] binutils: " Roland Hieber
2021-12-17 10:45   ` Michael Olbrich [this message]
2021-12-17 13:27 ` [ptxdist] [APPLIED] argtable2: " Michael Olbrich

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=YbxqP6uBnXCT1EFM@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /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