mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: oss-tools@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [OSS-Tools] [PATCH dt-utils v2 0/9] make project conform to the REUSE specification
Date: Mon, 31 Jul 2023 11:11:22 +0200	[thread overview]
Message-ID: <20230731091131.3696307-1-rhi@pengutronix.de> (raw)

The REUSE specification [1] makes it possible to distribute license
information in a machine-readable manner, and build a Software Bill of
Material from the source files, by building on top of the SPDX
specification. Make it so that the 'reuse lint' command reports
compliance with the spec.

  [1]: https://reuse.software/spec/

The result looks fairly similar to other projects using SPDX, like the
Linux kernel. All files have copyright and license information, and
the texts of all software licenses used in the project are available in
the LICENSES folder. The 'reuse spdx' command then prints out a SBoM in
SPDX format.

Roland Hieber (9):
  treewide: add SPDX identifiers to files with GPL-2.0-only license
  treewide: add SPDX identifiers to files with GPL-2.0-or-later license
  treewide: add SPDX identifiers to files with GPL-3.0-or-later license
  treewide: add SPDX identifier to file with Zlib license
  treewide: add CC0-1.0 SPDX identifiers for trivial files
  treewide: add GPL-2.0-only SPDX identifiers to files without license
  treewide: add trivial copyright headers
  DCO: add SPDX license information
  README: mention compatibility with the REUSE specification

 .gitignore                                    |   2 +
 COPYING                                       | 281 +-------
 DCO                                           |   2 +
 LICENSES/CC0-1.0.txt                          | 121 ++++
 LICENSES/GPL-2.0-only.txt                     | 350 +++++++++
 LICENSES/GPL-2.0-or-later.txt                 | 351 +++++++++
 LICENSES/GPL-3.0-or-later.txt                 | 672 ++++++++++++++++++
 LICENSES/LicenseRef-DCO.txt                   |   2 +
 LICENSES/Zlib.txt                             |  19 +
 Makefile.am                                   |   3 +
 NEWS                                          |   3 +
 README                                        |   6 +
 autogen.sh                                    |   2 +
 check-news.sh                                 |   2 +-
 configure.ac                                  |   3 +
 m4/.gitignore                                 |   2 +
 meson.build                                   |   1 +
 meson_options.txt                             |   2 +
 scripts/barebox-mark-successful-boot.sh       |   2 +
 src/.gitignore                                |   2 +
 src/asm/unaligned.h                           |   2 +
 src/barebox-state.c                           |   1 +
 src/barebox-state.h                           |   3 +
 src/barebox-state/backend_bucket_circular.c   |   1 +
 src/barebox-state/backend_bucket_direct.c     |   1 +
 src/barebox-state/backend_format_dtb.c        |   1 +
 src/barebox-state/backend_format_raw.c        |   1 +
 src/barebox-state/backend_storage.c           |   1 +
 src/barebox-state/state.c                     |   1 +
 src/barebox-state/state.h                     |   1 +
 src/barebox-state/state_variables.c           |   1 +
 src/base64.c                                  |   3 +-
 src/base64.h                                  |   3 +
 src/crc.h                                     |   2 +
 src/crc32.c                                   |   2 +-
 src/crypto/digest.c                           |   1 +
 src/crypto/hmac.c                             |   3 +-
 src/crypto/internal.h                         |   3 +-
 src/crypto/keystore.h                         |   1 +
 src/crypto/sha.h                              |   2 +
 src/crypto/sha1.c                             |   1 +
 src/crypto/sha2.c                             |   1 +
 src/digest.h                                  |   1 +
 src/driver.h                                  |   2 +
 src/dt/common.h                               |   3 +
 src/dt/dt.h                                   |   3 +
 src/dt/fdt.h                                  |   3 +
 src/dt/list.h                                 |   3 +
 src/dtblint-imx-pinmux.c                      |   1 +
 src/dtblint.c                                 |   1 +
 src/dtblint.h                                 |   2 +
 src/fdt.c                                     |   1 +
 src/fdt.h                                     |   3 +
 src/fdtdump.c                                 |   3 +
 src/fs.h                                      |   2 +
 src/init.h                                    |   2 +
 src/keystore-blob.c                           |   1 +
 src/libbb.h                                   |   3 +
 src/libdt-utils.sym                           |   2 +
 src/libdt.c                                   |   1 +
 src/libfile.h                                 |   2 +
 src/linux/err.h                               |   2 +
 src/linux/list.h                              |   2 +
 src/linux/mtd/mtd-abi.h                       |   2 +
 src/linux/uuid.h                              |   1 +
 src/module.h                                  |   2 +
 src/mtd/mtd-peb.h                             |   2 +
 src/net.h                                     |   2 +
 src/of.h                                      |   2 +
 src/printk.h                                  |   2 +
 src/state.h                                   |   2 +
 test/01-fixed-partition-no-gpt.dts            |   2 +
 ...2-fixed-partition-before-gpt-partition.dts |   2 +
 test/03-fixed-partition-is-gpt-partition.dts  |   2 +
 test/04-gpt-partition-by-partuuid.dts         |   2 +
 test/05-gpt-partition-by-typeuuid.dts         |   2 +
 test/06-fixed-partition-by-diskuuid.dts       |   2 +
 test/07-raw-disk-fail.dts                     |   2 +
 test/08-gpt-disk-no-typeuuid-fail.dts         |   2 +
 test/09-no-disk-fail.dts                      |   2 +
 ...-partition-overlaps-two-gpt-partitions.dts |   2 +
 ...-overlaps-two-gpt-partitions-partially.dts |   2 +
 ...-fixed-partition-part-of-gpt-partition.dts |   2 +
 test/barebox-state.dtsi                       |   2 +
 test/barebox-state.t                          |   2 +
 test/crc32.c                                  |   2 +
 test/gpt-no-typeuuid.config                   |   2 +
 test/gpt.config                               |   2 +
 test/meson.build                              |   2 +
 test/raw.config                               |   2 +
 test/sharness.sh                              |   1 +
 version-gen                                   |   2 +
 version.h.in                                  |   2 +
 93 files changed, 1677 insertions(+), 288 deletions(-)
 mode change 100644 => 120000 COPYING
 create mode 100644 LICENSES/CC0-1.0.txt
 create mode 100644 LICENSES/GPL-2.0-only.txt
 create mode 100644 LICENSES/GPL-2.0-or-later.txt
 create mode 100644 LICENSES/GPL-3.0-or-later.txt
 create mode 100644 LICENSES/LicenseRef-DCO.txt
 create mode 100644 LICENSES/Zlib.txt

-- 
2.39.2




             reply	other threads:[~2023-07-31  9:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31  9:11 Roland Hieber [this message]
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 1/9] treewide: add SPDX identifiers to files with GPL-2.0-only license Roland Hieber
2023-07-31  9:40   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 2/9] treewide: add SPDX identifiers to files with GPL-2.0-or-later license Roland Hieber
2023-07-31  9:41   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 3/9] treewide: add SPDX identifiers to files with GPL-3.0-or-later license Roland Hieber
2023-07-31  9:41   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 4/9] treewide: add SPDX identifier to file with Zlib license Roland Hieber
2023-07-31  9:42   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 5/9] treewide: add CC0-1.0 SPDX identifiers for trivial files Roland Hieber
2023-07-31  9:43   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 6/9] treewide: add GPL-2.0-only SPDX identifiers to files without license Roland Hieber
2023-07-31  9:44   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 7/9] treewide: add trivial copyright headers Roland Hieber
2023-07-31  9:44   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 8/9] DCO: add SPDX license information Roland Hieber
2023-07-31  9:45   ` Ahmad Fatoum
2023-07-31  9:11 ` [OSS-Tools] [PATCH dt-utils v2 9/9] README: mention compatibility with the REUSE specification Roland Hieber
2023-07-31  9:45   ` Ahmad Fatoum
2023-08-01 10:10 ` [OSS-Tools] [PATCH dt-utils v2 0/9] make project conform to " Roland Hieber

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=20230731091131.3696307-1-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=oss-tools@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