Add MIT License file 11/324311/3
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 15 May 2025 08:11:04 +0000 (17:11 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 19 May 2025 08:07:39 +0000 (17:07 +0900)
There was a same code logic that follows the MIT License rules in the descs_gen.c file.
To clearly specify, the MIT License file has been added
and spec file is also changed to include license file.

Change-Id: Ia9440f6cae6a88e27795ffbc2201cb5a6a361438
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
LICENSE.MIT [new file with mode: 0644]
packaging/deviced.spec
tests/usb-host-ffs-test-daemon/descs_gen.c

diff --git a/LICENSE.MIT b/LICENSE.MIT
new file mode 100644 (file)
index 0000000..5b16ef4
--- /dev/null
@@ -0,0 +1,9 @@
+The MIT License
+
+Copyright (c) 2019 Samsung Electronics
+
+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.
index 42cfc8043c0e5548dd325757ec110aa9b6b88096..f669e7a1b048758d37641798c2069235d32e5a25 100644 (file)
@@ -8,7 +8,7 @@ Summary:    Deviced
 Version:    10.0.1
 Release:    1
 Group:      System/Management
-License:    Apache-2.0
+License:    Apache-2.0 and MIT
 Source0:    %{name}-%{version}.tar.gz
 Source1:    deviced.manifest
 Source2:    libdeviced.manifest
@@ -60,6 +60,7 @@ Requires(preun): %{_sbindir}/update-alternatives
 Deviced
 
 %package  unified-system-plugin
+License:  Apache-2.0 and MIT
 Summary:  unified-system plugin
 Requires: %{name} = %{version}-%{release}
 
@@ -290,6 +291,7 @@ mv %{_sysconfdir}/dbus-1/system.d/org.tizen.system.deviced-unified-system-servic
 %files
 %manifest %{name}.manifest
 %license LICENSE.Apache-2.0
+%license LICENSE.MIT
 %{_bindir}/deviced
 %{_libdir}/libdeviced-common-private.so
 %{_unitdir}/multi-user.target.wants/deviced.service
@@ -331,6 +333,7 @@ mv %{_sysconfdir}/dbus-1/system.d/org.tizen.system.deviced-unified-system-servic
 %files unified-system-plugin
 %manifest %{name}.manifest
 %license LICENSE.Apache-2.0
+%license LICENSE.MIT
 %{_libdir}/libunified-system-service-deviced.so
 %{_libdir}/libdeviced-common-private.so
 %dir %{plugindir}
index 92ba716f10085c06335681bb466a8bf91623cfd2..d85b514d7139f51529a0bf5c7e018308f22c5525 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * deviced
  *
+ * SPDX-License-Identifier: Apache-2.0 OR MIT
  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the License);