diff mbox series

[02/45] files/common-licenses/MIT-with-fmt-exception: add a custom license

Message ID 20260706171701.70536-2-alex.kanavin@gmail.com
State New
Headers show
Series [01/45] selftest/locales: opt out of ptests in DISTRO_FEATURES | expand

Commit Message

Alexander Kanavin July 6, 2026, 5:16 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

This is needed to correctly specify fmt's LICENSE, as support
for license exceptions and WITH statement isn't yet implemented:
https://lists.openembedded.org/g/openembedded-core/message/239820

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 .../common-licenses/MIT-with-fmt-exception    | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta/files/common-licenses/MIT-with-fmt-exception
diff mbox series

Patch

diff --git a/meta/files/common-licenses/MIT-with-fmt-exception b/meta/files/common-licenses/MIT-with-fmt-exception
new file mode 100644
index 0000000000..1cd1ef9269
--- /dev/null
+++ b/meta/files/common-licenses/MIT-with-fmt-exception
@@ -0,0 +1,27 @@ 
+Copyright (c) 2012 - present, Victor Zverovich and {fmt} contributors
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+--- Optional exception to the license ---
+
+As an exception, if, as a result of your compiling your source code, portions
+of this Software are embedded into a machine-executable object form of such
+source code, you may redistribute such embedded portions in such object form
+without including the above copyright and permission notices.