Skip to contentSkip to conversation

libbsd: Remove package specific licenses

PATCH New Peter Kjellerstedt 1 participant 1 message Feb 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libbsd: Remove package specific licenses

After the removal of BSD-4-Clause from LICENSE in commit 362435b0aec (libbsd: Drop licenses that were removed upstream), the licenses for all packages match the licenses for the recipe. Thus there is no longer any reason to explicitly specify the package licenses.

---
 meta/recipes-support/libbsd/libbsd_0.12.2.bb | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
meta/recipes-support/libbsd/libbsd_0.12.2.bb +2 -9
index bd503cb031..39ecda26af 100644
@@ -3,8 +3,8 @@ DESCRIPTION = "This library provides useful functions commonly found on BSD syst
                and lacking on others like GNU systems, thus making it easier to port \
                projects with strong BSD origins, without needing to embed the same \
                code over and over again on each project."
-
 HOMEPAGE = "https://libbsd.freedesktop.org/wiki/"
+
 # There seems to be more licenses used in the code, I don't think we want to list them all here, complete list:
 # OE @ ~/projects/libbsd $ grep ^License: COPYING  | sort -u
 # License: BSD-2-clause
@@ -22,15 +22,8 @@ HOMEPAGE = "https://libbsd.freedesktop.org/wiki/"
 # License: ISC-Original
 # License: public-domain
 LICENSE = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN} = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN}-dbg = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN}-dev = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN}-doc = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN}-locale = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN}-src = "BSD-3-Clause & ISC & PD"
-LICENSE:${PN}-staticdev = "BSD-3-Clause & ISC & PD"
-
 LIC_FILES_CHKSUM = "file://COPYING;md5=9b087a0981a1fcad42efbba6d4925a0f"
+
 SECTION = "libs"
 
 SRC_URI = "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz"