diff --git a/meta-ohos-acts/conf/layer.conf b/meta-ohos-acts/conf/layer.conf index 18b1db93893ac5fbd7fc91067270699249d9f466..8dab7529ad84d66d151f0699f9c2c89274ca6c2d 100644 --- a/meta-ohos-acts/conf/layer.conf +++ b/meta-ohos-acts/conf/layer.conf @@ -11,3 +11,5 @@ BBFILE_PRIORITY_meta-ohos-acts = "6" LAYERDEPENDS_meta-ohos-acts = "core" LAYERSERIES_COMPAT_meta-ohos-acts = "dunfell" + +LICENSE_PATH += "${LAYERDIR}/custom-licenses" diff --git a/meta-ohos-acts/custom-licenses/MulanPSL-2.0 b/meta-ohos-acts/custom-licenses/MulanPSL-2.0 new file mode 100644 index 0000000000000000000000000000000000000000..d63dfb748acd3be36d7281e0d0afd609835d9e30 --- /dev/null +++ b/meta-ohos-acts/custom-licenses/MulanPSL-2.0 @@ -0,0 +1,124 @@ +木兰宽æ¾è®¸å¯è¯ï¼Œ 第2版 + +2020å¹´1月 http://license.coscl.org.cn/MulanPSL2 + +您对“软件â€çš„å¤åˆ¶ã€ä½¿ç”¨ã€ä¿®æ”¹åŠåˆ†å‘å—æœ¨å…°å®½æ¾è®¸å¯è¯ï¼Œç¬¬2版(“本许å¯è¯â€ï¼‰çš„å¦‚ä¸‹æ¡æ¬¾çš„约æŸï¼š + +0. 定义 + +â€œè½¯ä»¶â€ æ˜¯æŒ‡ç”±â€œè´¡çŒ®â€æž„æˆçš„许å¯åœ¨â€œæœ¬è®¸å¯è¯â€ä¸‹çš„程åºå’Œç›¸å…³æ–‡æ¡£çš„集åˆã€‚ + +“贡献†是指由任一“贡献者â€è®¸å¯åœ¨â€œæœ¬è®¸å¯è¯â€ä¸‹çš„å—ç‰ˆæƒæ³•ä¿æŠ¤çš„ä½œå“。 + +“贡献者†是指将å—ç‰ˆæƒæ³•ä¿æŠ¤çš„ä½œå“许å¯åœ¨â€œæœ¬è®¸å¯è¯â€ä¸‹çš„自然人或“法人实体â€ã€‚ + +“法人实体†是指æäº¤è´¡çŒ®çš„æœºæž„åŠå…¶â€œå…³è”实体â€ã€‚ + +“关è”实体†是指,对“本许å¯è¯â€ä¸‹çš„行为方而言,控制ã€å—控制或与其共åŒå—控制的机构,æ¤å¤„çš„æŽ§åˆ¶æ˜¯æŒ‡æœ‰å—æŽ§æ–¹æˆ–å…±åŒå—控方至少50%直接或间接的投票æƒã€èµ„金或其他有价è¯åˆ¸ã€‚ + +1. 授予版æƒè®¸å¯ + +æ¯ä¸ªâ€œè´¡çŒ®è€…â€æ ¹æ®â€œæœ¬è®¸å¯è¯â€æŽˆäºˆæ‚¨æ°¸ä¹…性的ã€å…¨çƒæ€§çš„ã€å…费的ã€éžç‹¬å çš„ã€ä¸å¯æ’¤é”€çš„版æƒè®¸å¯ï¼Œæ‚¨å¯ä»¥å¤åˆ¶ã€ä½¿ç”¨ã€ä¿®æ”¹ã€åˆ†å‘其“贡献â€ï¼Œä¸è®ºä¿®æ”¹ä¸Žå¦ã€‚ + +2. æŽˆäºˆä¸“åˆ©è®¸å¯ + +æ¯ä¸ªâ€œè´¡çŒ®è€…â€æ ¹æ®â€œæœ¬è®¸å¯è¯â€æŽˆäºˆæ‚¨æ°¸ä¹…性的ã€å…¨çƒæ€§çš„ã€å…费的ã€éžç‹¬å çš„ã€ä¸å¯æ’¤é”€çš„ï¼ˆæ ¹æ®æœ¬æ¡è§„定撤销除外)专利许å¯ï¼Œä¾›æ‚¨åˆ¶é€ ã€å§”æ‰˜åˆ¶é€ ã€ä½¿ç”¨ã€è®¸è¯ºé”€å”®ã€é”€å”®ã€è¿›å£å…¶â€œè´¡çŒ®â€æˆ–以其他方å¼è½¬ç§»å…¶â€œè´¡çŒ®â€ã€‚å‰è¿°ä¸“利许å¯ä»…é™äºŽâ€œè´¡çŒ®è€…â€çŽ°åœ¨æˆ–å°†æ¥æ‹¥æœ‰æˆ–æŽ§åˆ¶çš„å…¶â€œè´¡çŒ®â€æœ¬èº«æˆ–其“贡献â€ä¸Žè®¸å¯â€œè´¡çŒ®â€æ—¶çš„“软件â€ç»“åˆè€Œå°†å¿…然会侵犯的专利æƒåˆ©è¦æ±‚,ä¸åŒ…括对“贡献â€çš„修改或包å«â€œè´¡çŒ®â€çš„其他结åˆã€‚如果您或您的“关è”实体â€ç›´æŽ¥æˆ–é—´æŽ¥åœ°ï¼Œå°±â€œè½¯ä»¶â€æˆ–å…¶ä¸çš„“贡献â€å¯¹ä»»ä½•人å‘起专利侵æƒè¯‰è®¼ï¼ˆåŒ…括å诉或交å‰è¯‰è®¼ï¼‰æˆ–其他专利维æƒè¡ŒåŠ¨ï¼ŒæŒ‡æŽ§å…¶ä¾µçŠ¯ä¸“åˆ©æƒï¼Œåˆ™â€œæœ¬è®¸å¯è¯â€æŽˆäºˆæ‚¨å¯¹â€œè½¯ä»¶â€çš„专利许å¯è‡ªæ‚¨æèµ·è¯‰è®¼æˆ–å‘èµ·ç»´æƒè¡ŒåŠ¨ä¹‹æ—¥ç»ˆæ¢ã€‚ + +3. æ— å•†æ ‡è®¸å¯ + +“本许å¯è¯â€ä¸æä¾›å¯¹â€œè´¡çŒ®è€…â€çš„商å“åç§°ã€å•†æ ‡ã€æœåŠ¡æ ‡å¿—æˆ–äº§å“åç§°çš„å•†æ ‡è®¸å¯ï¼Œä½†æ‚¨ä¸ºæ»¡è¶³ç¬¬4æ¡è§„定的声明义务而必须使用除外。 + +4. 分å‘é™åˆ¶ + +您å¯ä»¥åœ¨ä»»ä½•媒介ä¸å°†â€œè½¯ä»¶â€ä»¥æºç¨‹åºå½¢å¼æˆ–坿‰§è¡Œå½¢å¼é‡æ–°åˆ†å‘,ä¸è®ºä¿®æ”¹ä¸Žå¦ï¼Œä½†æ‚¨å¿…é¡»å‘æŽ¥æ”¶è€…æä¾›â€œæœ¬è®¸å¯è¯â€çš„副本,并ä¿ç•™â€œè½¯ä»¶â€ä¸çš„版æƒã€å•†æ ‡ã€ä¸“利åŠå…责声明。 + +5. å…责声明与责任é™åˆ¶ + +“软件â€åŠå…¶ä¸çš„“贡献â€åœ¨æä¾›æ—¶ä¸å¸¦ä»»ä½•明示或默示的担ä¿ã€‚åœ¨ä»»ä½•æƒ…å†µä¸‹ï¼Œâ€œè´¡çŒ®è€…â€æˆ–ç‰ˆæƒæ‰€æœ‰è€…ä¸å¯¹ä»»ä½•äººå› ä½¿ç”¨â€œè½¯ä»¶â€æˆ–å…¶ä¸çš„“贡献â€è€Œå¼•å‘的任何直接或间接æŸå¤±æ‰¿æ‹…责任,ä¸è®ºå› 何ç§åŽŸå› å¯¼è‡´æˆ–è€…åŸºäºŽä½•ç§æ³•律ç†è®ºï¼Œå³ä½¿å…¶æ›¾è¢«å»ºè®®æœ‰æ¤ç§æŸå¤±çš„å¯èƒ½æ€§ã€‚ + +6. è¯è¨€ + +“本许å¯è¯â€ä»¥ä¸è‹±æ–‡åŒè¯è¡¨è¿°ï¼Œä¸è‹±æ–‡ç‰ˆæœ¬å…·æœ‰åŒç‰æ³•律效力。如果ä¸è‹±æ–‡ç‰ˆæœ¬å˜åœ¨ä»»ä½•冲çªä¸ä¸€è‡´ï¼Œä»¥ä¸æ–‡ç‰ˆä¸ºå‡†ã€‚ + +æ¡æ¬¾ç»“æŸ + +如何将木兰宽æ¾è®¸å¯è¯ï¼Œç¬¬2版,应用到您的软件 + +如果您希望将木兰宽æ¾è®¸å¯è¯ï¼Œç¬¬2版,应用到您的新软件,为了方便接收者查阅,建议您完æˆå¦‚下三æ¥ï¼š + +1, 请您补充如下声明ä¸çš„空白,包括软件åã€è½¯ä»¶çš„首次å‘è¡¨å¹´ä»½ä»¥åŠæ‚¨ä½œä¸ºç‰ˆæƒäººçš„åå—ï¼› + +2, 请您在软件包的一级目录下创建以“LICENSEâ€ä¸ºå的文件,将整个许å¯è¯æ–‡æœ¬æ”¾å…¥è¯¥æ–‡ä»¶ä¸ï¼› + +3, 请将如下声明文本放入æ¯ä¸ªæºæ–‡ä»¶çš„头部注释ä¸ã€‚ + +Copyright (c) [Year] [name of copyright holder] +[Software Name] is licensed under Mulan PSL v2. +You can use this software according to the terms and conditions of the Mulan PSL v2. +You may obtain a copy of Mulan PSL v2 at: + http://license.coscl.org.cn/MulanPSL2 +THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, +EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, +MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +See the Mulan PSL v2 for more details. +Mulan Permissive Software License,Version 2 +Mulan Permissive Software License,Version 2 (Mulan PSL v2) + +January 2020 http://license.coscl.org.cn/MulanPSL2 + +Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions: + +0. Definition + +Software means the program and related documents which are licensed under this License and comprise all Contribution(s). + +Contribution means the copyrightable work licensed by a particular Contributor under this License. + +Contributor means the Individual or Legal Entity who licenses its copyrightable work under this License. + +Legal Entity means the entity making a Contribution and all its Affiliates. + +Affiliates means entities that control, are controlled by, or are under common control with the acting entity under this License, ‘control’ means direct or indirect ownership of at least fifty percent (50%) of the voting power, capital or other securities of controlled or commonly controlled entity. + +1. Grant of Copyright License + +Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Contribution, with modification or not. + +2. Grant of Patent License + +Subject to the terms and conditions of this License, each Contributor hereby grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except for revocation under this Section) patent license to make, have made, use, offer for sale, sell, import or otherwise transfer its Contribution, where such patent license is only limited to the patent claims owned or controlled by such Contributor now or in future which will be necessarily infringed by its Contribution alone, or by combination of the Contribution with the Software to which the Contribution was contributed. The patent license shall not apply to any modification of the Contribution, and any other combination which includes the Contribution. If you or your Affiliates directly or indirectly institute patent litigation (including a cross claim or counterclaim in a litigation) or other patent enforcement activities against any individual or entity by alleging that the Software or any Contribution in it infringes patents, then any patent license granted to you under this License for the Software shall terminate as of the date such litigation or activity is filed or taken. + +3. No Trademark License + +No trademark license is granted to use the trade names, trademarks, service marks, or product names of Contributor, except as required to fulfill notice requirements in section 4. + +4. Distribution Restriction + +You may distribute the Software in any medium with or without modification, whether in source or executable forms, provided that you provide recipients with a copy of this License and retain copyright, patent, trademark and disclaimer statements in the Software. + +5. Disclaimer of Warranty and Limitation of Liability + +THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +6. Language + +THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION SHALL PREVAIL. + +END OF THE TERMS AND CONDITIONS + +How to Apply the Mulan Permissive Software License,Version 2 (Mulan PSL v2) to Your Software + +To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps: + +Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner; +Create a file named "LICENSE" which contains the whole context of this License in the first directory of your software package; +Attach the statement to the appropriate annotated syntax at the beginning of each source file. +Copyright (c) [Year] [name of copyright holder] +[Software Name] is licensed under Mulan PSL v2. +You can use this software according to the terms and conditions of the Mulan PSL v2. +You may obtain a copy of Mulan PSL v2 at: + http://license.coscl.org.cn/MulanPSL2 +THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, +EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, +MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. +See the Mulan PSL v2 for more details.