All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/14] lsof: correct LICENSE
@ 2021-09-03 13:24 Ross Burton
  2021-09-03 13:24 ` [PATCH 02/14] lsof: add upstream check Ross Burton
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

The lsof LICENSE is superficially BSD-like, but it isn't BSD.  Now that
we have the full SPDX license set in oe-core, use Spencer-94.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/lsof/lsof_4.91.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/lsof/lsof_4.91.bb b/meta/recipes-extended/lsof/lsof_4.91.bb
index b3adfd57afa..7c85bf23fc3 100644
--- a/meta/recipes-extended/lsof/lsof_4.91.bb
+++ b/meta/recipes-extended/lsof/lsof_4.91.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \
 Its name stands for LiSt Open Files, and it does just that."
 HOMEPAGE = "http://people.freebsd.org/~abe/"
 SECTION = "devel"
-LICENSE = "BSD"
+LICENSE = "Spencer-94"
 LIC_FILES_CHKSUM = "file://00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a"
 
 # Upstream lsof releases are hosted on an ftp server which times out download
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 02/14] lsof: add upstream check
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 03/14] xinetd: correct LICENSE Ross Burton
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

Upstream has moved to GitHub.  Whilst it's now too late to upgrade to
the latest release, we can add upstream check variables so that we get
notified we're out of date.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/lsof/lsof_4.91.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-extended/lsof/lsof_4.91.bb b/meta/recipes-extended/lsof/lsof_4.91.bb
index 7c85bf23fc3..d7428ea2c49 100644
--- a/meta/recipes-extended/lsof/lsof_4.91.bb
+++ b/meta/recipes-extended/lsof/lsof_4.91.bb
@@ -18,6 +18,9 @@ SRC_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/uni
 SRC_URI[md5sum] = "148ed410cb52e08c2adc0c60f480f11f"
 SRC_URI[sha256sum] = "c9da946a525fbf82ff80090b6d1879c38df090556f3fe0e6d782cb44172450a3"
 
+UPSTREAM_CHECK_URI = "https://github.com/lsof-org/lsof/releases/"
+UPSTREAM_CHECK_REGEX = "lsof_(?P<pver>.*)\.linux\.tar"
+
 LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
 
 S = "${WORKDIR}/lsof_${PV}_src"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 03/14] xinetd: correct LICENSE
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
  2021-09-03 13:24 ` [PATCH 02/14] lsof: add upstream check Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 04/14] selftest/python-async-test: set precise BSD license Ross Burton
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

The xinetd license is superficially BSD-like, but it isn't BSD. Now that
we have the full SPDX license set in oe-core, use the specific xinetd
license.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb
index e6ef5cf8b9a..30eec9c2734 100644
--- a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb
+++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb
@@ -2,9 +2,7 @@ SUMMARY = "Socket-based service activation daemon"
 HOMEPAGE = "https://github.com/xinetd-org/xinetd"
 DESCRIPTION = "xinetd is a powerful replacement for inetd, xinetd has access control mechanisms, extensive logging capabilities, the ability to make services available based on time, can place limits on the number of servers that can be started, and has deployable defence mechanisms to protect against port scanners, among other things."
 
-# xinetd is a BSD-like license
-# Apple and Gentoo say BSD here.
-LICENSE = "BSD"
+LICENSE = "xinet"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=55c5fdf02cfcca3fc9621b6f2ceae10f"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 04/14] selftest/python-async-test: set precise BSD license
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
  2021-09-03 13:24 ` [PATCH 02/14] lsof: add upstream check Ross Burton
  2021-09-03 13:24 ` [PATCH 03/14] xinetd: correct LICENSE Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 05/14] oeqa/recipeutils: update for license change to python-async-test Ross Burton
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-selftest/recipes-devtools/python/python-async-test.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-selftest/recipes-devtools/python/python-async-test.inc b/meta-selftest/recipes-devtools/python/python-async-test.inc
index 439a0b9276a..6d7c7458b03 100644
--- a/meta-selftest/recipes-devtools/python/python-async-test.inc
+++ b/meta-selftest/recipes-devtools/python/python-async-test.inc
@@ -1,7 +1,7 @@
 SUMMARY = "Python framework to process interdependent tasks in a pool of workers"
 HOMEPAGE = "http://github.com/gitpython-developers/async"
 SECTION = "devel/python"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e"
 
 inherit pypi
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 05/14] oeqa/recipeutils: update for license change to python-async-test
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (2 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 04/14] selftest/python-async-test: set precise BSD license Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 06/14] dev-manual/common-tasks: sync libxpm fragment with the recipe Ross Burton
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

The python-async-test recipe is now BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/lib/oeqa/selftest/cases/recipeutils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/recipeutils.py b/meta/lib/oeqa/selftest/cases/recipeutils.py
index 97edad88b57..f1dd63f65b4 100644
--- a/meta/lib/oeqa/selftest/cases/recipeutils.py
+++ b/meta/lib/oeqa/selftest/cases/recipeutils.py
@@ -40,7 +40,7 @@ class RecipeUtilsTests(OESelftestTestCase):
  SUMMARY = "Python framework to process interdependent tasks in a pool of workers"
  HOMEPAGE = "http://github.com/gitpython-developers/async"
  SECTION = "devel/python"
--LICENSE = "BSD"
+-LICENSE = "BSD-3-Clause"
 +LICENSE = "something"
  LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e"
  
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 06/14] dev-manual/common-tasks: sync libxpm fragment with the recipe
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (3 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 05/14] oeqa/recipeutils: update for license change to python-async-test Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 07/14] libxfont: set precise BSD license Ross Burton
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

Specifically, the actual recipe now has LICENSE=MIT.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 documentation/dev-manual/common-tasks.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 4a5011ea749..dba0885110d 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -2361,7 +2361,7 @@ into separate packages::
    require xorg-lib-common.inc
 
    SUMMARY = "Xpm: X Pixmap extension library"
-   LICENSE = "BSD"
+   LICENSE = "MIT"
    LIC_FILES_CHKSUM = "file://COPYING;md5=51f4270b012ecd4ab1a164f5f4ed6cf7"
    DEPENDS += "libxext libsm libxt"
    PE = "1"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 07/14] libxfont: set precise BSD license
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (4 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 06/14] dev-manual/common-tasks: sync libxpm fragment with the recipe Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 08/14] valgrind: " Ross Burton
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

"BSD" is ambiguous, use the precise license BSD-3-Clause.

Note that the actual license text is BSD 4-Clause with clause 3 rescinded:

https://gitlab.freedesktop.org/xorg/lib/libxfont/-/blob/master/COPYING#L157

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb b/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb
index 94c6c66e878..f04780cf046 100644
--- a/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb
@@ -6,7 +6,7 @@ such as freetype)."
 
 require xorg-lib-common.inc
 
-LICENSE = "MIT & MIT-style & BSD"
+LICENSE = "MIT & MIT-style & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a46c8040f2f737bcd0c435feb2ab1c2c"
 
 DEPENDS += "freetype xtrans xorgproto libfontenc zlib"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 08/14] valgrind: set precise BSD license
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (5 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 07/14] libxfont: set precise BSD license Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 09/14] shadow-sysroot: sync license with shadow Ross Burton
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/valgrind/valgrind_3.17.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.17.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.17.0.bb
index 2805ad0eb31..3fa483d8bc0 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.17.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.17.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "Valgrind memory debugger and instrumentation framework"
 HOMEPAGE = "http://valgrind.org/"
 DESCRIPTION = "Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail."
 BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
-LICENSE = "GPLv2 & GPLv2+ & BSD"
+LICENSE = "GPLv2 & GPLv2+ & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://include/pub_tool_basics.h;beginline=6;endline=29;md5=41c410e8d3f305aee7aaa666b2e4f366 \
                     file://include/valgrind.h;beginline=1;endline=56;md5=ad3b317f3286b6b704575d9efe6ca5df \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 09/14] shadow-sysroot: sync license with shadow
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (6 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 08/14] valgrind: " Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 10/14] ovmf: set precise BSD license Ross Burton
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

This recipe is just a single data file from shadow, but as we can't
easily tell what license that specific file is under just copy the full
license statement.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb
index 1f6232e43c4..e05fa237a24 100644
--- a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb
+++ b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb
@@ -2,7 +2,7 @@ SUMMARY = "Shadow utils requirements for useradd.bbclass"
 HOMEPAGE = "http://github.com/shadow-maint/shadow"
 BUGTRACKER = "http://github.com/shadow-maint/shadow/issues"
 SECTION = "base utils"
-LICENSE = "BSD | Artistic-1.0"
+LICENSE = "BSD-3-Clause | Artistic-1.0"
 LIC_FILES_CHKSUM = "file://login.defs_shadow-sysroot;md5=25e2f2de4dfc8f966ac5cdfce45cd7d5"
 
 DEPENDS = "base-passwd"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 10/14] ovmf: set precise BSD license
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (7 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 09/14] shadow-sysroot: sync license with shadow Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 11/14] ppp: " Ross Burton
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

"BSD" is ambiguous, use the precise license BSD-2-Clause-Patent.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-core/ovmf/ovmf_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index 145240e77e8..4caf258e39f 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -2,8 +2,8 @@ SUMMARY = "OVMF - UEFI firmware for Qemu and KVM"
 DESCRIPTION = "OVMF is an EDK II based project to enable UEFI support for \
 Virtual Machines. OVMF contains sample UEFI firmware for QEMU and KVM"
 HOMEPAGE = "https://github.com/tianocore/tianocore.github.io/wiki/OVMF"
-LICENSE = "BSD-2-Clause"
-LICENSE:class-target = "${@bb.utils.contains('PACKAGECONFIG', 'secureboot', 'BSD & OpenSSL', 'BSD', d)}"
+LICENSE = "BSD-2-Clause-Patent"
+LICENSE:class-target = "${@bb.utils.contains('PACKAGECONFIG', 'secureboot', 'BSD-2-Clause-Patent & OpenSSL', 'BSD-2-Clause-Patent', d)}"
 LIC_FILES_CHKSUM = "file://OvmfPkg/License.txt;md5=06357ddc23f46577c2aeaeaf7b776d65"
 
 # Enabling Secure Boot adds a dependency on OpenSSL and implies
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 11/14] ppp: set precise BSD license
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (8 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 10/14] ovmf: set precise BSD license Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 12/14] ffmpeg: update LICENSE Ross Burton
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

"BSD" is ambiguous, use the precise licenses BSD-3-Clause-Attribution
and BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-connectivity/ppp/ppp_2.4.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.9.bb b/meta/recipes-connectivity/ppp/ppp_2.4.9.bb
index 6e5cfc8f912..023d0feca99 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.4.9.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.4.9.bb
@@ -5,7 +5,7 @@ SECTION = "console/network"
 HOMEPAGE = "http://samba.org/ppp/"
 BUGTRACKER = "http://ppp.samba.org/cgi-bin/ppp-bugs"
 DEPENDS = "libpcap openssl virtual/crypt"
-LICENSE = "BSD & GPLv2+ & LGPLv2+ & PD"
+LICENSE = "BSD-3-Clause & BSD-3-Clause-Attribution & GPLv2+ & LGPLv2+ & PD"
 LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77d87dc9c290a424dea \
                     file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \
                     file://pppd/tdb.c;beginline=1;endline=27;md5=4ca3a9991b011038d085d6675ae7c4e6 \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 12/14] ffmpeg: update LICENSE
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (9 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 11/14] ppp: " Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-09 19:54   ` [OE-core] " Peter Kjellerstedt
  2021-09-03 13:24 ` [PATCH 13/14] hdparm: set correct license Ross Burton
  2021-09-03 13:24 ` [PATCH 14/14] recipetool/create_buildsys_python: treat BSD as BSD-3-Clause Ross Burton
  12 siblings, 1 reply; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

"BSD" is ambiguous, ffmpeg comprises of several licenses which are
BSD-like.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
index e19077541ec..f822ba9ab78 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimedia framework, able to decode, encod
 HOMEPAGE = "https://www.ffmpeg.org/"
 SECTION = "libs"
 
-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT"
+LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"
 LICENSE:${PN} = "GPLv2+"
 LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
 LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 13/14] hdparm: set correct license
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (10 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 12/14] ffmpeg: update LICENSE Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  2021-09-03 13:24 ` [PATCH 14/14] recipetool/create_buildsys_python: treat BSD as BSD-3-Clause Ross Burton
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

The bulk of hdparm is under a unique license. Set the correct BSD
version, and specify that the hdparm license is also used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/hdparm/hdparm_9.62.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/hdparm/hdparm_9.62.bb b/meta/recipes-extended/hdparm/hdparm_9.62.bb
index 3d4081c2b3d..61bb44ff389 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.62.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.62.bb
@@ -4,10 +4,11 @@ DESCRIPTION = "hdparm is a Linux shell utility for viewing \
 and manipulating various IDE drive and driver parameters."
 SECTION = "console/utils"
 
-LICENSE = "BSD & GPLv2"
-LICENSE:${PN} = "BSD"
-LICENSE:${PN}-dbg = "BSD"
+LICENSE = "BSD-2-Clause & GPLv2 & hdparm"
+LICENSE:${PN} = "BSD-2-Clause & hdparm"
+LICENSE:${PN}-dbg = "BSD-2-Clause & hdparm"
 LICENSE:wiper = "GPLv2"
+NO_GENERIC_LICENSE[hdparm] = "LICENSE.TXT"
 
 LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=495d03e50dc6c89d6a30107ab0df5b03 \
                     file://debian/copyright;md5=a82d7ba3ade9e8ec902749db98c592f3 \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 14/14] recipetool/create_buildsys_python: treat BSD as BSD-3-Clause
  2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
                   ` (11 preceding siblings ...)
  2021-09-03 13:24 ` [PATCH 13/14] hdparm: set correct license Ross Burton
@ 2021-09-03 13:24 ` Ross Burton
  12 siblings, 0 replies; 15+ messages in thread
From: Ross Burton @ 2021-09-03 13:24 UTC (permalink / raw)
  To: openembedded-core

The PyPI license classifiers include "OSI Approved: BSD", which does not
specify which of the many variations of BSD license it actually means.

The generic "BSD" license in the oe-core set is actually BSD-3-Clause.
From a random sample of ten PyPI modules that use "BSD", they are all
BSD-3-Clause.  As we expect the recipe maintainer to verify the license
anyway, and this matches the previous license text, explicitly set the
license to BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 scripts/lib/recipetool/create_buildsys_python.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py
index 8aa44650d33..0b6b042ed17 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -101,7 +101,7 @@ class PythonRecipeHandler(RecipeHandler):
         'License :: OSI Approved :: Apple Public Source License': 'APSL',
         'License :: OSI Approved :: Artistic License': 'Artistic',
         'License :: OSI Approved :: Attribution Assurance License': 'AAL',
-        'License :: OSI Approved :: BSD License': 'BSD',
+        'License :: OSI Approved :: BSD License': 'BSD-3-Clause',
         'License :: OSI Approved :: Common Public License': 'CPL',
         'License :: OSI Approved :: Eiffel Forum License': 'EFL',
         'License :: OSI Approved :: European Union Public Licence 1.0 (EUPL 1.0)': 'EUPL-1.0',
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE
  2021-09-03 13:24 ` [PATCH 12/14] ffmpeg: update LICENSE Ross Burton
@ 2021-09-09 19:54   ` Peter Kjellerstedt
  0 siblings, 0 replies; 15+ messages in thread
From: Peter Kjellerstedt @ 2021-09-09 19:54 UTC (permalink / raw)
  To: Ross Burton, openembedded-core

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Ross Burton
> Sent: den 3 september 2021 15:25
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE
> 
> "BSD" is ambiguous, ffmpeg comprises of several licenses which are
> BSD-like.
> 
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb b/meta/recipes-
> multimedia/ffmpeg/ffmpeg_4.4.bb
> index e19077541ec..f822ba9ab78 100644
> --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
> +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
> @@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimedia framework,
> able to decode, encod
>  HOMEPAGE = "https://www.ffmpeg.org/"
>  SECTION = "libs"
> 
> -LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT"
> +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"

There is no "Expat" license in neither meta/files/common-licenses nor 
in meta/conf/licenses.conf.

>  LICENSE:${PN} = "GPLv2+"
>  LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
>  LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
> --
> 2.25.1

//Peter


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-09-09 19:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 13:24 [PATCH 01/14] lsof: correct LICENSE Ross Burton
2021-09-03 13:24 ` [PATCH 02/14] lsof: add upstream check Ross Burton
2021-09-03 13:24 ` [PATCH 03/14] xinetd: correct LICENSE Ross Burton
2021-09-03 13:24 ` [PATCH 04/14] selftest/python-async-test: set precise BSD license Ross Burton
2021-09-03 13:24 ` [PATCH 05/14] oeqa/recipeutils: update for license change to python-async-test Ross Burton
2021-09-03 13:24 ` [PATCH 06/14] dev-manual/common-tasks: sync libxpm fragment with the recipe Ross Burton
2021-09-03 13:24 ` [PATCH 07/14] libxfont: set precise BSD license Ross Burton
2021-09-03 13:24 ` [PATCH 08/14] valgrind: " Ross Burton
2021-09-03 13:24 ` [PATCH 09/14] shadow-sysroot: sync license with shadow Ross Burton
2021-09-03 13:24 ` [PATCH 10/14] ovmf: set precise BSD license Ross Burton
2021-09-03 13:24 ` [PATCH 11/14] ppp: " Ross Burton
2021-09-03 13:24 ` [PATCH 12/14] ffmpeg: update LICENSE Ross Burton
2021-09-09 19:54   ` [OE-core] " Peter Kjellerstedt
2021-09-03 13:24 ` [PATCH 13/14] hdparm: set correct license Ross Burton
2021-09-03 13:24 ` [PATCH 14/14] recipetool/create_buildsys_python: treat BSD as BSD-3-Clause Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.