meta-selinux: Use SPDX style licensing format
PATCH 1/1 meta-selinux: Use SPDX style licensing format
WARNING: checkpolicy-3.3-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2+ [obsolete-license] \
WARNING: setools-4.4.0-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 LGPLv2.1 [obsolete-license] \
WARNING: policycoreutils-3.3-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2+ [obsolete-license] \
WARNING: refpolicy-standard-2.20210908+gitAUTOINC+23a8d103f3-r0.2 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license] \
WARNING: selinux-python-3.3-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2+ [obsolete-license] \
WARNING: ecryptfs-utils-111-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPL-2.0 [obsolete-license] \
WARNING: nikto-2.1.6-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license] \
WARNING: bastille-3.2.1-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license] \
WARNING: suricata-6.0.4-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license] \
WARNING: samhain-server-4.4.6-r0.7 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license] \
...
--- meta_selinux_license_changes.patch | 89 +++++++++++++++++++ .../refpolicy/refpolicy_common.inc | 2 +- recipes-security/selinux/checkpolicy_3.3.bb | 2 +- .../selinux/policycoreutils_3.3.bb | 2 +- .../selinux/selinux-python_3.3.bb | 2 +- .../selinux/selinux-sandbox_3.3.bb | 2 +- .../selinux/semodule-utils_3.3.bb | 2 +- recipes-security/setools/setools_4.4.0.bb | 2 +- 8 files changed, 96 insertions(+), 7 deletions(-) create mode 100644 meta_selinux_license_changes.patch
meta_selinux_license_changes.patch new file +89 -0
@@ -0,0 +1,89 @@ +diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc +index dffc34a..96d0da1 100644 +--- a/recipes-security/refpolicy/refpolicy_common.inc ++++ b/recipes-security/refpolicy/refpolicy_common.inc +@@ -1,5 +1,5 @@ + SECTION = "admin" +-LICENSE = "GPLv2" ++LICENSE = "GPL-2.0-only" + + LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + +diff --git a/recipes-security/selinux/checkpolicy_3.3.bb b/recipes-security/selinux/checkpolicy_3.3.bb +index 99ac470..ad90cc2 100644 +--- a/recipes-security/selinux/checkpolicy_3.3.bb ++++ b/recipes-security/selinux/checkpolicy_3.3.bb +@@ -6,7 +6,7 @@ binary policy. checkpolicy uses the static libsepol since it deals \ + with low level details of the policy that have not been \ + encapsulated/abstracted by a proper shared library interface." + SECTION = "base" +-LICENSE = "GPLv2+" ++LICENSE = "GPL-2.0-or-later" + LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + + require selinux_common.inc +diff --git a/recipes-security/selinux/policycoreutils_3.3.bb b/recipes-security/selinux/policycoreutils_3.3.bb +index 04f8ef7..552d354 100644 +--- a/recipes-security/selinux/policycoreutils_3.3.bb ++++ b/recipes-security/selinux/policycoreutils_3.3.bb +@@ -5,7 +5,7 @@ load_policy to load policies, setfiles to label filesystems, newrole \ + to switch roles, and run_init to run /etc/init.d scripts in the proper \ + context." + SECTION = "base" +-LICENSE = "GPLv2+" ++LICENSE = "GPL-2.0-or-later" + LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + + require selinux_common.inc +diff --git a/recipes-security/selinux/selinux-python_3.3.bb b/recipes-security/selinux/selinux-python_3.3.bb +index d130900..1bf1f63 100644 +--- a/recipes-security/selinux/selinux-python_3.3.bb ++++ b/recipes-security/selinux/selinux-python_3.3.bb +@@ -3,7 +3,7 @@ DESCRIPTION = "\ + This package contains Python modules sepolgen, sepolicy; And the \ + SELinux utilities audit2allow, chcat, semanage ..." + SECTION = "base" +-LICENSE = "GPLv2+" ++LICENSE = "GPL-2.0-or-later" + LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + + require selinux_common.inc +diff --git a/recipes-security/selinux/selinux-sandbox_3.3.bb b/recipes-security/selinux/selinux-sandbox_3.3.bb +index a20982c..cc9baad 100644 +--- a/recipes-security/selinux/selinux-sandbox_3.3.bb ++++ b/recipes-security/selinux/selinux-sandbox_3.3.bb +@@ -4,7 +4,7 @@ Run application within a tightly confined SELinux domain. The default \ + sandbox domain only allows applications the ability to read and write \ + stdin, stdout and any other file descriptors handed to it." + SECTION = "base" +-LICENSE = "GPLv2+" ++LICENSE = "GPL-2.0-or-later" + LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + + require selinux_common.inc +diff --git a/recipes-security/selinux/semodule-utils_3.3.bb b/recipes-security/selinux/semodule-utils_3.3.bb +index a8bca0e..06e28f4 100644 +--- a/recipes-security/selinux/semodule-utils_3.3.bb ++++ b/recipes-security/selinux/semodule-utils_3.3.bb +@@ -3,7 +3,7 @@ DESCRIPTION = "\ + The utilities to create, expand, link and show the dependencies between \ + the SELinux policy module packages." + SECTION = "base" +-LICENSE = "GPLv2+" ++LICENSE = "GPL-2.0-or-later" + LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + + require selinux_common.inc +diff --git a/recipes-security/setools/setools_4.4.0.bb b/recipes-security/setools/setools_4.4.0.bb +index b78af36..f1557b1 100644 +--- a/recipes-security/setools/setools_4.4.0.bb ++++ b/recipes-security/setools/setools_4.4.0.bb +@@ -6,7 +6,7 @@ libraries designed to facilitate SELinux policy analysis. \ + This meta-package depends upon the main packages necessary to run \ + SETools." + SECTION = "base" +-LICENSE = "GPLv2 & LGPLv2.1" ++LICENSE = "GPL-2.0-only & LGPL-2.1-only" + + S = "${WORKDIR}/git" + SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.4;protocol=https \
recipes-security/refpolicy/refpolicy_common.inc +1 -1
@@ -1,5 +1,5 @@ SECTION = "admin" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
recipes-security/selinux/checkpolicy_3.3.bb +1 -1
@@ -6,7 +6,7 @@ binary policy. checkpolicy uses the static libsepol since it deals \ with low level details of the policy that have not been \ encapsulated/abstracted by a proper shared library interface." SECTION = "base" -LICENSE = "GPLv2+" +LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" require selinux_common.inc
recipes-security/selinux/policycoreutils_3.3.bb +1 -1
@@ -5,7 +5,7 @@ load_policy to load policies, setfiles to label filesystems, newrole \ to switch roles, and run_init to run /etc/init.d scripts in the proper \ context." SECTION = "base" -LICENSE = "GPLv2+" +LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" require selinux_common.inc
recipes-security/selinux/selinux-python_3.3.bb +1 -1
@@ -3,7 +3,7 @@ DESCRIPTION = "\ This package contains Python modules sepolgen, sepolicy; And the \ SELinux utilities audit2allow, chcat, semanage ..." SECTION = "base" -LICENSE = "GPLv2+" +LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" require selinux_common.inc
recipes-security/selinux/selinux-sandbox_3.3.bb +1 -1
@@ -4,7 +4,7 @@ Run application within a tightly confined SELinux domain. The default \ sandbox domain only allows applications the ability to read and write \ stdin, stdout and any other file descriptors handed to it." SECTION = "base" -LICENSE = "GPLv2+" +LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" require selinux_common.inc
recipes-security/selinux/semodule-utils_3.3.bb +1 -1
@@ -3,7 +3,7 @@ DESCRIPTION = "\ The utilities to create, expand, link and show the dependencies between \ the SELinux policy module packages." SECTION = "base" -LICENSE = "GPLv2+" +LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" require selinux_common.inc
recipes-security/setools/setools_4.4.0.bb +1 -1
@@ -6,7 +6,7 @@ libraries designed to facilitate SELinux policy analysis. \ This meta-package depends upon the main packages necessary to run \ SETools." SECTION = "base" -LICENSE = "GPLv2 & LGPLv2.1" +LICENSE = "GPL-2.0-only & LGPL-2.1-only" S = "${WORKDIR}/git" SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.4;protocol=https \
Signature · 1 line
2.33.0