Skip to contentSkip to conversation

openldap: make license match spdx identifier

PATCH New Ethan Roderick 1 participant 1 message Feb 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openldap: make license match spdx identifier

The OpenLDAP license is versioned. As such, listing the license as simply "OpenLDAP" does not convey a complete picture of what license the component is actually using.

Update the LICENSE variable to use the SPDX identifier for OpenLDAP licenses, with the appropriate version number, "OLDAP-2.8".

Rename the license file for the OpenLDAP license to "OLDAP-2.8" from "OpenLDAP".

---
 meta-oe/licenses/{OpenLDAP => OLDAP-2.8}           | 0
 meta-oe/recipes-support/openldap/openldap_2.6.9.bb | 6 +++---
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/licenses/{OpenLDAP => OLDAP-2.8} (100%)
meta-oe/licenses/OLDAP-2.8 renamed from meta-oe/licenses/OpenLDAP +0 -0
similarity index 100%
rename from meta-oe/licenses/OpenLDAP
rename to meta-oe/licenses/OLDAP-2.8
meta-oe/recipes-support/openldap/openldap_2.6.9.bb +3 -3
index 6d76a727ba..704e879891 100644
@@ -4,9 +4,9 @@ HOMEPAGE = "http://www.OpenLDAP.org/license.html"
 # The OpenLDAP Public License - see the HOMEPAGE - defines
 # the license.  www.openldap.org claims this is Open Source
 # (see http://www.openldap.org), the license appears to be
-# basically BSD.  opensource.org does not record this license
-# at present (so it is apparently not OSI certified).
-LICENSE = "OpenLDAP"
+# basically BSD.  opensource.org has listed this license
+# since August 2019.
+LICENSE = "OLDAP-2.8"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a41b4ed95ab4a20f366a8d82536afe4 \
                     file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972 \
                     "