mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: Re: [ptxdist] [APPLIED] use canonical upper and lower case in SPDX license identifiers
Date: Fri, 13 Mar 2026 14:03:12 +0100	[thread overview]
Message-ID: <20260313130312.2185783-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260312130827.137022-2-m.heidelberg@cab.de>

Thanks, applied as 20e298850af157c8dddc2379dfc5e76b064b0ba1.

Michael

[sent from post-receive hook]

On Fri, 13 Mar 2026 14:03:12 +0100, Markus Heidelberg <m.heidelberg@cab.de> wrote:
> The license identifiers are case-insensitive, but according to the SPDX
> specification it is "often important to match with the case of the
> canonical identifier".
> 
> scripts/lib/ptxd_make_spdx.sh checks for the exact spelling, so these
> licenses had wrongly been put into the "other" section, see output:
>   - platform-*/report/
>   - "license-section" in platform-*/release/full-bsp-report.yaml
> 
> Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
> Message-Id: <20260312130827.137022-2-m.heidelberg@cab.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/ensmallen.make b/rules/ensmallen.make
> index 0fb152d07113..0a1ac7be79d3 100644
> --- a/rules/ensmallen.make
> +++ b/rules/ensmallen.make
> @@ -21,7 +21,7 @@ ENSMALLEN_SUFFIX	:= tar.gz
>  ENSMALLEN_URL		:= https://www.ensmallen.org/files/$(ENSMALLEN).$(ENSMALLEN_SUFFIX)
>  ENSMALLEN_SOURCE	:= $(SRCDIR)/$(ENSMALLEN).$(ENSMALLEN_SUFFIX)
>  ENSMALLEN_DIR		:= $(BUILDDIR)/$(ENSMALLEN)
> -ENSMALLEN_LICENSE	:= BSD-3-clause
> +ENSMALLEN_LICENSE	:= BSD-3-Clause
>  ENSMALLEN_LICENSE_FILES	:= \
>  	file://COPYRIGHT.txt;md5=2f1c587ba8b993d5d929e322d6dbdf72
>  
> diff --git a/rules/figlet.make b/rules/figlet.make
> index 1dacd4703efc..af96d5d5ff8f 100644
> --- a/rules/figlet.make
> +++ b/rules/figlet.make
> @@ -23,7 +23,7 @@ FIGLET_SUFFIX		:= tar.gz
>  FIGLET_URL		:= https://github.com/cmatsuoka/figlet/archive/refs/tags/$(FIGLET_VERSION).$(FIGLET_SUFFIX)
>  FIGLET_SOURCE		:= $(SRCDIR)/$(FIGLET).$(FIGLET_SUFFIX)
>  FIGLET_DIR		:= $(BUILDDIR)/$(FIGLET)
> -FIGLET_LICENSE		:= BSD-3-clause
> +FIGLET_LICENSE		:= BSD-3-Clause
>  FIGLET_LICENSE_FILES	:= \
>  	file://LICENSE;md5=1688bcd97b27704f1afcac7336409857
>  
> diff --git a/rules/glslang.make b/rules/glslang.make
> index 8bdb6af55e28..68189b50fc66 100644
> --- a/rules/glslang.make
> +++ b/rules/glslang.make
> @@ -21,7 +21,7 @@ GLSLANG_SUFFIX		:= tar.gz
>  GLSLANG_URL		:= https://github.com/KhronosGroup/glslang/archive/vulkan-sdk-$(GLSLANG_VERSION).$(GLSLANG_SUFFIX)
>  GLSLANG_SOURCE		:= $(SRCDIR)/$(GLSLANG).$(GLSLANG_SUFFIX)
>  GLSLANG_DIR		:= $(BUILDDIR)/$(GLSLANG)
> -GLSLANG_LICENSE		:= BSD-3-clause AND BSD-2-clause AND MIT AND Apple-MIT-License AND Apache-2.0 AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND custom
> +GLSLANG_LICENSE		:= BSD-3-Clause AND BSD-2-Clause AND MIT AND Apple-MIT-License AND Apache-2.0 AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND custom
>  GLSLANG_LICENSE_FILES := file://LICENSE.txt;md5=50ff9d0fcde2d5b953ebe431c48e34e3
>  
>  # ----------------------------------------------------------------------------
> diff --git a/rules/host-cmake.make b/rules/host-cmake.make
> index 4e78cbc64922..482263ca37c8 100644
> --- a/rules/host-cmake.make
> +++ b/rules/host-cmake.make
> @@ -22,7 +22,7 @@ HOST_CMAKE_SUFFIX	:= tar.gz
>  HOST_CMAKE_URL		:= https://cmake.org/files/v$(basename $(HOST_CMAKE_VERSION))/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX)
>  HOST_CMAKE_SOURCE	:= $(SRCDIR)/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX)
>  HOST_CMAKE_DIR		:= $(HOST_BUILDDIR)/$(HOST_CMAKE)
> -HOST_CMAKE_LICENSE	:= 0BSD AND BSD-2-clause AND BSD-3-Clause AND Apache-2.0 AND bzip2-1.0.6 AND (MIT OR public_domain) AND MIT AND curl
> +HOST_CMAKE_LICENSE	:= 0BSD AND BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND bzip2-1.0.6 AND (MIT OR public_domain) AND MIT AND curl
>  HOST_CMAKE_LICENSE_FILES := \
>  	file://Copyright.txt;md5=718f05155941b33862726348d3cd46ce \
>  	file://Source/kwsys/Copyright.txt;md5=64ed5ec90b0f9868cf0b08ea5b954dfe \
> diff --git a/rules/ntp.make b/rules/ntp.make
> index 42902364578e..9514bb43496f 100644
> --- a/rules/ntp.make
> +++ b/rules/ntp.make
> @@ -24,7 +24,7 @@ NTP_URL		:= \
>  	https://downloads.nwtime.org/ntp/$(NTP).$(NTP_SUFFIX)
>  NTP_SOURCE	:= $(SRCDIR)/$(NTP).$(NTP_SUFFIX)
>  NTP_DIR		:= $(BUILDDIR)/$(NTP)
> -NTP_LICENSE	:= ntp
> +NTP_LICENSE	:= NTP
>  NTP_LICENSE_FILES	:= file://COPYRIGHT;md5=2311915f6d5142b06395231b0ffeaf29
>  
>  # ----------------------------------------------------------------------------
> diff --git a/rules/sdl-ttf.make b/rules/sdl-ttf.make
> index 2fcae7cd9c83..eeb4ca19babd 100644
> --- a/rules/sdl-ttf.make
> +++ b/rules/sdl-ttf.make
> @@ -21,7 +21,7 @@ SDL_TTF_SUFFIX	:= tar.gz
>  SDL_TTF_URL	:= http://www.libsdl.org/projects/SDL_ttf/release/$(SDL_TTF).$(SDL_TTF_SUFFIX)
>  SDL_TTF_SOURCE	:= $(SRCDIR)/$(SDL_TTF).$(SDL_TTF_SUFFIX)
>  SDL_TTF_DIR	:= $(BUILDDIR)/$(SDL_TTF)
> -SDL_TTF_LICENSE := zlib
> +SDL_TTF_LICENSE := Zlib
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> diff --git a/rules/sdl2-image.make b/rules/sdl2-image.make
> index 1b6c254e0f25..b710f40cb0b0 100644
> --- a/rules/sdl2-image.make
> +++ b/rules/sdl2-image.make
> @@ -21,7 +21,7 @@ SDL2_IMAGE_SUFFIX	:= tar.gz
>  SDL2_IMAGE_URL		:= https://github.com/libsdl-org/SDL_image/releases/download/release-$(SDL2_IMAGE_VERSION)/$(SDL2_IMAGE).$(SDL2_IMAGE_SUFFIX)
>  SDL2_IMAGE_SOURCE	:= $(SRCDIR)/$(SDL2_IMAGE).$(SDL2_IMAGE_SUFFIX)
>  SDL2_IMAGE_DIR		:= $(BUILDDIR)/$(SDL2_IMAGE)
> -SDL2_IMAGE_LICENSE	:= zlib
> +SDL2_IMAGE_LICENSE	:= Zlib
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> diff --git a/rules/sdl2-mixer.make b/rules/sdl2-mixer.make
> index 16523788debf..c3159d01637d 100644
> --- a/rules/sdl2-mixer.make
> +++ b/rules/sdl2-mixer.make
> @@ -21,7 +21,7 @@ SDL2_MIXER_SUFFIX	:= tar.gz
>  SDL2_MIXER_URL		:= https://www.libsdl.org/projects/SDL_mixer/release/$(SDL2_MIXER).$(SDL2_MIXER_SUFFIX)
>  SDL2_MIXER_SOURCE	:= $(SRCDIR)/$(SDL2_MIXER).$(SDL2_MIXER_SUFFIX)
>  SDL2_MIXER_DIR		:= $(BUILDDIR)/$(SDL2_MIXER)
> -SDL2_MIXER_LICENSE	:= zlib
> +SDL2_MIXER_LICENSE	:= Zlib
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> diff --git a/rules/sdl2-net.make b/rules/sdl2-net.make
> index 2249c2b68949..305c1f7b0607 100644
> --- a/rules/sdl2-net.make
> +++ b/rules/sdl2-net.make
> @@ -21,7 +21,7 @@ SDL2_NET_SUFFIX	:= tar.gz
>  SDL2_NET_URL		:= https://www.libsdl.org/projects/SDL_net/release/$(SDL2_NET).$(SDL2_NET_SUFFIX)
>  SDL2_NET_SOURCE	:= $(SRCDIR)/$(SDL2_NET).$(SDL2_NET_SUFFIX)
>  SDL2_NET_DIR		:= $(BUILDDIR)/$(SDL2_NET)
> -SDL2_NET_LICENSE	:= zlib
> +SDL2_NET_LICENSE	:= Zlib
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> diff --git a/rules/sdl2-test.make b/rules/sdl2-test.make
> index 1917a2b3d9f6..33bc3a8feeaf 100644
> --- a/rules/sdl2-test.make
> +++ b/rules/sdl2-test.make
> @@ -22,7 +22,7 @@ SDL2_TEST_URL		= $(SDL2_URL)
>  SDL2_TEST_SOURCE	= $(SDL2_SOURCE)
>  SDL2_TEST_DIR		= $(BUILDDIR)/$(SDL2_TEST)
>  SDL2_TEST_SUBDIR	:= test
> -SDL2_TESTS_LICENSE	:= zlib
> +SDL2_TESTS_LICENSE	:= Zlib
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> diff --git a/rules/sdl2-ttf.make b/rules/sdl2-ttf.make
> index d4b487dc3406..3699a3dd11d2 100644
> --- a/rules/sdl2-ttf.make
> +++ b/rules/sdl2-ttf.make
> @@ -21,7 +21,7 @@ SDL2_TTF_SUFFIX		:= tar.gz
>  SDL2_TTF_URL		:= https://www.libsdl.org/projects/SDL_ttf/release/$(SDL2_TTF).$(SDL2_TTF_SUFFIX)
>  SDL2_TTF_SOURCE		:= $(SRCDIR)/$(SDL2_TTF).$(SDL2_TTF_SUFFIX)
>  SDL2_TTF_DIR		:= $(BUILDDIR)/$(SDL2_TTF)
> -SDL2_TTF_LICENSE	:= zlib
> +SDL2_TTF_LICENSE	:= Zlib
>  SDL2_TTF_LICENSE_FILES	:= \
>  	file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455
>  
> diff --git a/rules/sdl2.make b/rules/sdl2.make
> index 1e060415431d..b288730f61fa 100644
> --- a/rules/sdl2.make
> +++ b/rules/sdl2.make
> @@ -21,7 +21,7 @@ SDL2_SUFFIX	:= tar.gz
>  SDL2_URL	:= https://www.libsdl.org/release/$(SDL2).$(SDL2_SUFFIX)
>  SDL2_SOURCE	:= $(SRCDIR)/$(SDL2).$(SDL2_SUFFIX)
>  SDL2_DIR	:= $(BUILDDIR)/$(SDL2)
> -SDL2_LICENSE	:= zlib
> +SDL2_LICENSE	:= Zlib
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> diff --git a/rules/zstd.make b/rules/zstd.make
> index e9c57d909e14..eb6a11282277 100644
> --- a/rules/zstd.make
> +++ b/rules/zstd.make
> @@ -22,7 +22,7 @@ ZSTD_URL		:= https://github.com/facebook/zstd/archive/v$(ZSTD_VERSION).$(ZSTD_SU
>  ZSTD_SOURCE		:= $(SRCDIR)/$(ZSTD).$(ZSTD_SUFFIX)
>  ZSTD_DIR		:= $(BUILDDIR)/$(ZSTD)
>  ZSTD_SUBDIR		:= build/cmake
> -ZSTD_LICENSE		:= BSD-3-clause OR GPL-2.0-only
> +ZSTD_LICENSE		:= BSD-3-Clause OR GPL-2.0-only
>  ZSTD_LICENSE_FILES	:= \
>  	file://LICENSE;md5=0822a32f7acdbe013606746641746ee8 \
>  	file://COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0



  reply	other threads:[~2026-03-13 13:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 13:08 [ptxdist] [PATCH 0/5] SPDX license expression fixes Markus Heidelberg via ptxdist
2026-03-12 13:08 ` [ptxdist] [PATCH 1/5] use canonical upper and lower case in SPDX license identifiers Markus Heidelberg via ptxdist
2026-03-13 13:03   ` Michael Olbrich [this message]
2026-03-12 13:08 ` [ptxdist] [PATCH 2/5] use upper case SPDX license expression operators Markus Heidelberg via ptxdist
2026-03-13 13:03   ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-12 13:08 ` [ptxdist] [PATCH 3/5] fix some invalid SPDX license expressions/identifiers Markus Heidelberg via ptxdist
2026-03-13 13:03   ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-12 13:08 ` [ptxdist] [PATCH 4/5] glmark2: fix SPDX license identifier for SGI license Markus Heidelberg via ptxdist
2026-03-13 13:03   ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-12 13:08 ` [ptxdist] [RFC PATCH 5/5] ptxd_make_world_license: allow lower case SPDX license expression operators Markus Heidelberg via ptxdist
2026-03-13 13:03   ` [ptxdist] [APPLIED] " 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=20260313130312.2185783-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=m.heidelberg@cab.de \
    --cc=ptxdist@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