File 0874-eldap-add-MIT-license.patch of Package erlang

From b6b84fc7b466eab3e933023b3ffc42b84db7b831 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Mon, 3 Feb 2025 06:31:07 +0100
Subject: [PATCH 04/14] eldap: add MIT license

---
 lib/eldap/README            | 4 ++++
 lib/eldap/asn1/ELDAPv3.asn1 | 1 +
 lib/eldap/include/eldap.hrl | 3 +++
 lib/eldap/src/eldap.app.src | 1 +
 4 files changed, 9 insertions(+)

diff --git a/lib/eldap/README b/lib/eldap/README
index 238f140e93..986e268952 100644
--- a/lib/eldap/README
+++ b/lib/eldap/README
@@ -1,3 +1,6 @@
+SPDX-License-Identifier: MIT
+SPDX-FileCopyrightText: 2010 Torbjorn Tornkvist <tobbe@tornkvist.org>
+
 Hi, 
 
 This is 'eldap', the Erlang LDAP library.
@@ -31,3 +34,4 @@ that uses 'eldap' (as we have done in our products).
 
 Good luck ! 
 /Tobbe
+
diff --git a/lib/eldap/asn1/ELDAPv3.asn1 b/lib/eldap/asn1/ELDAPv3.asn1
index ed1647f11e..4a5cf3d1e8 100644
--- a/lib/eldap/asn1/ELDAPv3.asn1
+++ b/lib/eldap/asn1/ELDAPv3.asn1
@@ -2,6 +2,7 @@
 -- Copyright (C) The Internet Society (2006).  This version of
 -- this ASN.1 module is part of RFC 4511; see the RFC itself
 -- for full legal notices.
+-- SPDX-License-Identifier: MIT
 ELDAPv3 DEFINITIONS
 IMPLICIT TAGS
 EXTENSIBILITY IMPLIED ::=
diff --git a/lib/eldap/include/eldap.hrl b/lib/eldap/include/eldap.hrl
index 3185c08930..4c8b093b39 100644
--- a/lib/eldap/include/eldap.hrl
+++ b/lib/eldap/include/eldap.hrl
@@ -1,3 +1,6 @@
+%% SPDX-License-Identifier: MIT
+%% SPDX-FileCopyrightText: 2010 Torbjorn Tornkvist <tobbe@tornkvist.org>
+
 -ifndef( _ELDAP_HRL ).
 -define( _ELDAP_HRL , 1 ).
 
diff --git a/lib/eldap/src/eldap.app.src b/lib/eldap/src/eldap.app.src
index 53e490cc3a..a71c11f0ae 100644
--- a/lib/eldap/src/eldap.app.src
+++ b/lib/eldap/src/eldap.app.src
@@ -1,3 +1,4 @@
+%% SPDX-License-Identifier: MIT
 {application, eldap,
  [{description, "Ldap api"},
   {vsn, "%VSN%"},
-- 
2.43.0

openSUSE Build Service is sponsored by