lsof: correct LICENSE
PATCH 1/14 lsof: correct LICENSE
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.
--- meta/recipes-extended/lsof/lsof_4.91.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/lsof/lsof_4.91.bb +1 -1
@@ -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
Signature · 1 line
2.25.1
PATCH 2/14 lsof: add upstream check
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.
--- meta/recipes-extended/lsof/lsof_4.91.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-extended/lsof/lsof_4.91.bb +3 -0
@@ -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"
Signature · 1 line
2.25.1
PATCH 3/14 xinetd: correct LICENSE
In reply to Ross BurtonThe 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.
--- meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb +1 -3
@@ -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+)+)"
Signature · 1 line
2.25.1
PATCH 4/14 selftest/python-async-test: set precise BSD license
In reply to Ross Burton"BSD" is ambiguous, use the precise license BSD-3-Clause.
--- meta-selftest/recipes-devtools/python/python-async-test.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-selftest/recipes-devtools/python/python-async-test.inc +1 -1
@@ -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
Signature · 1 line
2.25.1
PATCH 5/14 oeqa/recipeutils: update for license change to python-async-test
In reply to Ross BurtonThe python-async-test recipe is now BSD-3-Clause.
--- meta/lib/oeqa/selftest/cases/recipeutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/recipeutils.py +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 6/14 dev-manual/common-tasks: sync libxpm fragment with the recipe
In reply to Ross BurtonSpecifically, the actual recipe now has LICENSE=MIT.
--- documentation/dev-manual/common-tasks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/common-tasks.rst +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 7/14 libxfont: set precise BSD license
In reply to Ross Burton"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
--- meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-lib/libxfont_1.5.4.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 8/14 valgrind: set precise BSD license
In reply to Ross Burton"BSD" is ambiguous, use the precise license BSD-3-Clause.
--- meta/recipes-devtools/valgrind/valgrind_3.17.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/valgrind/valgrind_3.17.0.bb +1 -1
@@ -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 \
Signature · 1 line
2.25.1
PATCH 9/14 shadow-sysroot: sync license with shadow
In reply to Ross BurtonThis 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.
--- meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/shadow/shadow-sysroot_4.6.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 10/14 ovmf: set precise BSD license
In reply to Ross Burton"BSD" is ambiguous, use the precise license BSD-2-Clause-Patent.
--- meta/recipes-core/ovmf/ovmf_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/ovmf/ovmf_git.bb +2 -2
@@ -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
Signature · 1 line
2.25.1
PATCH 11/14 ppp: set precise BSD license
In reply to Ross Burton"BSD" is ambiguous, use the precise licenses BSD-3-Clause-Attribution and BSD-3-Clause.
--- meta/recipes-connectivity/ppp/ppp_2.4.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/ppp/ppp_2.4.9.bb +1 -1
@@ -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 \
Signature · 1 line
2.25.1
PATCH 12/14 ffmpeg: update LICENSE
In reply to Ross Burton"BSD" is ambiguous, ffmpeg comprises of several licenses which are BSD-like.
--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1 -1
@@ -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)}"
Signature · 1 line
2.25.1
Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE
Quoted 25 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
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 <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes- renamed from meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimedia framework,able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb DESCRIPTION = "FFmpeg is the leading multimedia framework, able to decode, encod · line 8
Quoted 2 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-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.
Quoted 5 lines
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
PATCH 13/14 hdparm: set correct license
In reply to Ross BurtonThe bulk of hdparm is under a unique license. Set the correct BSD version, and specify that the hdparm license is also used.
--- meta/recipes-extended/hdparm/hdparm_9.62.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
meta/recipes-extended/hdparm/hdparm_9.62.bb +4 -3
@@ -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 \
Signature · 1 line
2.25.1
PATCH 14/14 recipetool/create_buildsys_python: treat BSD as BSD-3-Clause
In reply to Ross BurtonThe 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.
--- scripts/lib/recipetool/create_buildsys_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/recipetool/create_buildsys_python.py +1 -1
@@ -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',
Signature · 1 line
2.25.1