Relicense libactd to MIT 39/236839/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 22 Jun 2020 13:37:32 +0000 (15:37 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 22 Jun 2020 13:39:41 +0000 (15:39 +0200)
Library has seen contributions from Samsung Electronics only so there
is no issue to relicense the code.

Change-Id: I80276d4a10c188935f98b6d3e50c9684d738436e

LICENSE.MIT [new file with mode: 0644]
packaging/activationd.spec
src/libactd/unit_control.c

diff --git a/LICENSE.MIT b/LICENSE.MIT
new file mode 100644 (file)
index 0000000..6e09dc8
--- /dev/null
@@ -0,0 +1,9 @@
+The MIT License
+
+Copyright (c) <year> <copyright holders>
+
+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 2aec0bb3c8506d3664e6a795b13697e2d55d2be5..5132e965de9eaf29d3e9f36e2dc34b39164b29c7 100644 (file)
@@ -1,7 +1,7 @@
 Name:       activationd
-Version:    0.2.0
+Version:    0.2.1
 Release:    0
-License:    Apache-2.0
+License:    Apache-2.0, MIT
 Source0:    %{name}-%{version}.tar.xz
 Source1001: %{name}.manifest
 Summary:    Event-based activation daemon
@@ -90,6 +90,7 @@ Files used in external modules development
 %package -n libactd
 Summary:    Activationd API
 Group:      Development/Libraries
+License:    MIT
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(gio-2.0)
 BuildRequires: pkgconfig(dlog)
@@ -163,6 +164,7 @@ mkdir -p %{buildroot}/%{enabled_moduledir}
 %files
 
 %files -n libactd
+%license LICENSE.MIT
 %{_libdir}/libactd.so.*
 
 %files -n libactd-devel
index fbc5a35d4794da7cb469f0922fc7ea4f544504a3..d6133b2b8b14d8fa07a9be763911b25c3412f654 100644 (file)
@@ -1,21 +1,28 @@
 /*
  * This file is part of activationd.
  *
- * Copyright © 2019 Samsung Electronics
+ * Copyright 2019 Samsung Electronics
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * 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:
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
  *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * 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.
  */
-
 #include <glib.h>
 #include <gio/gio.h>
 #include <errno.h>