mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Barebox Mailing List <barebox@lists.infradead.org>
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [PATCH v3 0/7] SPDX license tags and (L)GPL boilerplate cleanup
Date: Thu, 13 Feb 2020 13:12:47 +0100	[thread overview]
Message-ID: <20200213121254.17491-1-rhi@pengutronix.de> (raw)
In-Reply-To: <20190207223906.24394-1-rohieb@rohieb.name>

Changes v2 -> v3:
 * Address feedback from Ahmad Fatoum: add LGPL-2.1 to LICENSES/, fix
   GPL license identifier in include/xymodem.h (and move that change
   between commits accordingly), bring back a lost CREDITS line (will
   get fixed in a later patch).
   git range diff master rhi/spdx-cleanup-v2 rhi/spdx-cleanup-v3:

1:  a68ff4f11476 ! 1:  2ccfab4c7338 include: add SPDX GPL-2.0-only license tags where applicable
    @@ Commit message
         Interpret "GPLv2" as "GPLv2 only".
     
         Signed-off-by: Roland Hieber <rohieb@rohieb.name>
    +    Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
     
      ## include/aimage.h ##
     @@
    @@ include/aimage.h
     
      ## include/aiodev.h ##
     @@
    -+/* SPDX-License-Identifier: GPL-2.0-only */
    - /*
    -  * core.c - Code implementing core functionality of AIODEV susbsystem
       *
    -  * Copyright (c) 2015 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
    -  * Copyright (c) 2015 Zodiac Inflight Innovation
    -- *
    -- * See file CREDITS for list of people who contributed to this
    -- * project.
    +  * See file CREDITS for list of people who contributed to this
    +  * project.
     - *
     - * This program is free software; you can redistribute it and/or modify
     - * it under the terms of the GNU General Public License version 2
    @@ include/w1_mac_address.h
       */
      
      #ifndef __W1_MAC_ADDRESS_H__
    -
    - ## include/xymodem.h ##
    -@@
    -+/* SPDX-License-Identifier: GPL-2.0-only */
    - /*
    -  * Handles the X-Modem, Y-Modem and Y-Modem/G protocols
    -  *
    -  * Copyright (C) 2008 Robert Jarzmik
    -- *
    -- * This program is free software; you can redistribute it and/or modify
    -- * it under the terms of the GNU General Public License as published by
    -- * the Free Software Foundation; either version 2 of the License, or
    -- * (at your option) any later version.
    -- *
    -- * This program is distributed in the hope that it will be useful,
    -- * but WITHOUT ANY WARRANTY; without even the implied warranty of
    -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    -- * GNU General Public License for more details.
    -  */
    - 
    - #ifndef _XYMODEM_
2:  e5ee722d8984 ! 2:  00b9d858e57e include: add SPDX GPL-2.0-or-later license tags where applicable
    @@ Commit message
         include: add SPDX GPL-2.0-or-later license tags where applicable
     
         Signed-off-by: Roland Hieber <rohieb@rohieb.name>
    +    Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
     
      ## include/ata_drive.h ##
     @@
    @@ include/watchdog.h
      
      #ifndef INCLUDE_WATCHDOG_H
      # define INCLUDE_WATCHDOG_H
    +
    + ## include/xymodem.h ##
    +@@
    ++/* SPDX-License-Identifier: GPL-2.0-or-later */
    + /*
    +  * Handles the X-Modem, Y-Modem and Y-Modem/G protocols
    +  *
    +  * Copyright (C) 2008 Robert Jarzmik
    +- *
    +- * This program is free software; you can redistribute it and/or modify
    +- * it under the terms of the GNU General Public License as published by
    +- * the Free Software Foundation; either version 2 of the License, or
    +- * (at your option) any later version.
    +- *
    +- * This program is distributed in the hope that it will be useful,
    +- * but WITHOUT ANY WARRANTY; without even the implied warranty of
    +- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    +- * GNU General Public License for more details.
    +  */
    + 
    + #ifndef _XYMODEM_
3:  306b52b19039 ! 3:  5cb7a890e263 include: add SPDX GPL-2.0-only license tags for files without licensing information
    @@ Commit message
         except noted otherwise.
     
         Signed-off-by: Roland Hieber <rohieb@rohieb.name>
    +    Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
     
      ## include/abort.h ##
     @@
-:  ------------ > 4:  e023dc86309d LICENSES: add LGPL-2.1-or-later
4:  5eadf1b41f32 ! 5:  b373f5abc747 include: add SPDX LGPL-2.1-or-later license tags where applicable
    @@ Commit message
         include: add SPDX LGPL-2.1-or-later license tags where applicable
     
         Signed-off-by: Roland Hieber <rohieb@rohieb.name>
    +    Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
     
      ## include/fnmatch.h ##
     @@
5:  54c835c85496 ! 6:  46524f7e15a3 include: spi: add SPDX GPL-2.0-or-later license tags where applicable
    @@ Commit message
         include: spi: add SPDX GPL-2.0-or-later license tags where applicable
     
         Signed-off-by: Roland Hieber <rohieb@rohieb.name>
    +    Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
     
      ## include/spi/spi_gpio.h ##
     @@
6:  c0609972e5cc ! 7:  39870dc4befa include: spi: add SPDX GPL-2.0-only license tags for files without licensing information
    @@ Commit message
         except noted otherwise.
     
         Signed-off-by: Roland Hieber <rohieb@rohieb.name>
    +    Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
     
      ## include/spi/eeprom.h ##
     @@


Changes v1 -> v2:
 * also remove the GPL / LGPL boilerplate lines. Sadly the research on
   why Linux and U-Boot did this did not come up with a good result
   except "SPDX is an industry-wide accepted standard" [1] and
   "SPDX-License-Identifiers are a legally binding shorthand" [2],
   without further elaboration... However, since commit
   23ea88c5e5f47df6beed ("README: add licensing information") we now
   explain in our README what these SPDX tags actually mean, so there
   should be no ambiguity.  (Feedback by Oleksij Rempel, Sam Ravnborg
   and Ahmad Fatoum)

   [1]: https://patchwork.kernel.org/patch/10045625/#21135079
   [2]: e.g. here https://lore.kernel.org/patchwork/patch/854656/


Roland Hieber (7):
  include: add SPDX GPL-2.0-only license tags where applicable
  include: add SPDX GPL-2.0-or-later license tags where applicable
  include: add SPDX GPL-2.0-only license tags for files without
    licensing information
  LICENSES: add LGPL-2.1-or-later
  include: add SPDX LGPL-2.1-or-later license tags where applicable
  include: spi: add SPDX GPL-2.0-or-later license tags where applicable
  include: spi: add SPDX GPL-2.0-only license tags for files without
    licensing information

 LICENSES/preferred/LGPL-2.1-or-later | 468 +++++++++++++++++++++++++++
 include/abort.h                      |   1 +
 include/aimage.h                     |   3 +-
 include/aiodev.h                     |   9 -
 include/ata_drive.h                  |  11 +-
 include/bbu.h                        |   1 +
 include/binfmt.h                     |   3 +-
 include/block.h                      |   1 +
 include/blspec.h                     |   1 +
 include/boot.h                       |   1 +
 include/bootchooser.h                |   1 +
 include/bootm.h                      |   1 +
 include/bootsource.h                 |   1 +
 include/bootstrap.h                  |   3 +-
 include/bpkfs.h                      |   3 +-
 include/bunzip2.h                    |   1 +
 include/byteorder.h                  |   1 +
 include/cache.h                      |   1 +
 include/clock.h                      |   1 +
 include/cmdlinepart.h                |   1 +
 include/command.h                    |  12 +-
 include/common.h                     |  12 +-
 include/complete.h                   |   1 +
 include/console.h                    |  12 +-
 include/console_countdown.h          |   1 +
 include/crc.h                        |   1 +
 include/crc7.h                       |   1 +
 include/debug_ll.h                   |  11 +-
 include/dhcp.h                       |   5 +-
 include/digest.h                     |  12 +-
 include/dirent.h                     |   1 +
 include/disks.h                      |  11 +-
 include/dma-dir.h                    |   1 +
 include/dma.h                        |   4 +-
 include/driver.h                     |  12 +-
 include/efi.h                        |   1 +
 include/elf.h                        |   1 +
 include/envfs.h                      |   1 +
 include/environment.h                |  12 +-
 include/errno.h                      |   1 +
 include/fb.h                         |   1 +
 include/fcntl.h                      |   1 +
 include/fdt.h                        |   1 +
 include/file-list.h                  |   1 +
 include/filetype.h                   |   1 +
 include/firmware.h                   |  10 +-
 include/fnmatch.h                    |  17 +-
 include/fs.h                         |   1 +
 include/getopt.h                     |  11 +-
 include/glob.h                       |  17 +-
 include/globalvar.h                  |   1 +
 include/gpio.h                       |   1 +
 include/gpio_keys.h                  |   1 +
 include/gunzip.h                     |   1 +
 include/hab.h                        |  11 +-
 include/image-fit.h                  |  14 +-
 include/image-metadata.h             |   1 +
 include/image.h                      |  12 +-
 include/init.h                       |   1 +
 include/int_sqrt.h                   |  12 +-
 include/io.h                         |   1 +
 include/ioctl.h                      |   1 +
 include/jtag.h                       |  15 +-
 include/kallsyms.h                   |   1 +
 include/kfifo.h                      |  11 +-
 include/kgdb.h                       |   1 +
 include/led.h                        |   1 +
 include/libbb.h                      |   2 +-
 include/libfile.h                    |   1 +
 include/libgen.h                     |   1 +
 include/local_mac_address.h          |   3 +-
 include/lzo.h                        |   1 +
 include/magicvar.h                   |   1 +
 include/malloc.h                     |   1 +
 include/math.h                       |   1 +
 include/mci.h                        |  12 +-
 include/memory.h                     |   1 +
 include/memtest.h                    |   1 +
 include/menu.h                       |  12 +-
 include/mmu.h                        |   1 +
 include/module.h                     |   1 +
 include/nand.h                       |   1 +
 include/notifier.h                   |   1 +
 include/of.h                         |   1 +
 include/of_address.h                 |   1 +
 include/of_device.h                  |   1 +
 include/of_gpio.h                    |   6 +-
 include/of_graph.h                   |   5 +-
 include/of_mtd.h                     |   3 +-
 include/of_net.h                     |   3 +-
 include/of_pci.h                     |   1 +
 include/param.h                      |   1 +
 include/parseopt.h                   |   1 +
 include/part.h                       |  12 +-
 include/partition.h                  |   1 +
 include/password.h                   |  11 +-
 include/pbl.h                        |   3 +-
 include/phy-id-list.h                |   1 +
 include/pinctrl.h                    |   1 +
 include/poller.h                     |   4 +-
 include/poweroff.h                   |   1 +
 include/printk.h                     |   1 +
 include/progress.h                   |   1 +
 include/pwm.h                        |   1 +
 include/qsort.h                      |   1 +
 include/ratp.h                       |   1 +
 include/ratp_bb.h                    |   1 +
 include/readkey.h                    |   1 +
 include/regmap.h                     |   1 +
 include/regulator.h                  |   1 +
 include/reset_source.h               |   6 +-
 include/restart.h                    |   1 +
 include/rtc.h                        |  12 +-
 include/s_record.h                   |  12 +-
 include/scsi.h                       |  13 +-
 include/serdev.h                     |   1 +
 include/shell.h                      |   3 +-
 include/sntp.h                       |   1 +
 include/spi/eeprom.h                 |   1 +
 include/spi/flash.h                  |   1 +
 include/spi/imx-spi.h                |   1 +
 include/spi/spi.h                    |   1 +
 include/spi/spi_gpio.h               |  11 +-
 include/state.h                      |   1 +
 include/stdio.h                      |   1 +
 include/stdlib.h                     |   1 +
 include/stmp-device.h                |   6 +-
 include/string.h                     |   1 +
 include/stringlist.h                 |   1 +
 include/twl6030_pwrbtn.h             |   1 +
 include/types.h                      |   1 +
 include/ubiformat.h                  |   1 +
 include/uimagefs.h                   |   3 +-
 include/uncompress.h                 |   1 +
 include/unistd.h                     |   1 +
 include/usb_dfu_trailer.h            |   1 +
 include/w1_mac_address.h             |   3 +-
 include/watchdog.h                   |  12 +-
 include/wchar.h                      |   1 +
 include/xfuncs.h                     |   1 +
 include/xymodem.h                    |  11 +-
 141 files changed, 609 insertions(+), 383 deletions(-)
 create mode 100644 LICENSES/preferred/LGPL-2.1-or-later

-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2020-02-13 12:13 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-07 22:39 [PATCH 1/6] include: add SPDX GPL-2.0-only license tags where applicable Roland Hieber
2019-02-07 22:39 ` [PATCH 2/6] include: add SPDX GPL-2.0-or-later " Roland Hieber
2019-02-07 22:39 ` [PATCH 3/6] include: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2019-02-07 22:39 ` [PATCH 4/6] include: add SPDX LGPL-2.1-or-later license tags where applicable Roland Hieber
2019-02-07 22:39 ` [PATCH 5/6] include: spi: add SPDX GPL-2.0-or-later " Roland Hieber
2019-02-07 22:39 ` [PATCH 6/6] include: spi: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2019-02-08  5:48 ` [PATCH 1/6] include: add SPDX GPL-2.0-only license tags where applicable Oleksij Rempel
2019-02-08  8:59   ` Roland Hieber
2019-02-08  9:09     ` Ahmad Fatoum
2019-02-11 10:25       ` Roland Hieber
2019-02-15  8:57         ` Ahmad Fatoum
2019-02-15 11:18           ` Roland Hieber
2019-02-22 13:25             ` Roland Hieber
2019-02-11 11:06     ` Roland Hieber
2019-03-10 20:42   ` Roland Hieber
2019-03-10 21:06     ` Sam Ravnborg
2019-03-13  9:42       ` Roland Hieber
2020-02-02 15:42 ` [PATCH v2 0/6] SPDX license tags and (L)GPL boilerplate cleanup Roland Hieber
2020-02-02 15:42   ` [PATCH v2 1/6] include: add SPDX GPL-2.0-only license tags where applicable Roland Hieber
2020-02-03  7:42     ` Ahmad Fatoum
2020-02-02 15:42   ` [PATCH v2 2/6] include: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-03  7:45     ` Ahmad Fatoum
2020-02-03 18:46       ` Roland Hieber
2020-02-02 15:42   ` [PATCH v2 3/6] include: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-03  7:47     ` Ahmad Fatoum
2020-02-02 15:42   ` [PATCH v2 4/6] include: add SPDX LGPL-2.1-or-later license tags where applicable Roland Hieber
2020-02-03  7:49     ` Ahmad Fatoum
2020-02-03 18:48       ` Roland Hieber
2020-02-02 15:43   ` [PATCH v2 5/6] include: spi: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-03  7:50     ` Ahmad Fatoum
2020-02-02 15:43   ` [PATCH v2 6/6] include: spi: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-03  7:51     ` Ahmad Fatoum
2020-02-13 12:12 ` Roland Hieber [this message]
2020-02-13 12:12   ` [PATCH v3 1/7] include: add SPDX GPL-2.0-only license tags where applicable Roland Hieber
2020-02-13 12:12   ` [PATCH v3 2/7] include: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-13 12:12   ` [PATCH v3 3/7] include: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-13 12:12   ` [PATCH v3 4/7] LICENSES: add LGPL-2.1-or-later Roland Hieber
2020-02-13 12:12   ` [PATCH v3 5/7] include: add SPDX LGPL-2.1-or-later license tags where applicable Roland Hieber
2020-02-13 12:12   ` [PATCH v3 6/7] include: spi: add SPDX GPL-2.0-or-later " Roland Hieber
2020-02-13 12:12   ` [PATCH v3 7/7] include: spi: add SPDX GPL-2.0-only license tags for files without licensing information Roland Hieber
2020-02-17  9:09   ` [PATCH v3 0/7] SPDX license tags and (L)GPL boilerplate cleanup Sascha Hauer

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=20200213121254.17491-1-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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