Hi pupuliao,
以下幾點簡要說明可以讓你做參考:
1、改寫他人以MIT授權的程式,只要後續散布上保留原專案作者的著作權聲明及免責條款後,可以選用任何一款你覺得適宜的授權方式,也就是說、改用其他的自由開源授權方式,包括GPL-3.0是沒有問題的。
授權轉換的方式可以參照David Wheeler這張表:
https://www.dwheeler.com/essays/floss-license-slide.html
只要箭頭的方式是順向,即可轉換下一個授權狀態,所以說:MIT,可轉成BSD 3-clause,BSD 3-clause可轉為Apache-2.0,Apache-2.0可轉為LGPL-3.0,LGPL-3.0可轉為GPL-3.0,依此類推。
2、如果置入授權相關的聲明,一般建議是:
A、「每個重要檔案的檔頭(header file)」都置放一段簡要的聲明,如果是將MIT授權的檔案、改為GPL-3.0授權,那可參考下面這段標示範本(改寫自SFLC提供範本:
https://www.softwarefreedom.org/resources/2007/gpl-non-gpl-collaboration.html):
/*
* Copyright (c) 你的改作年份 你的姓名 <你的信箱@example.net>
*
* This file is free software: you may copy, redistribute and/or modify it
* under the terms of the GNU General Public License version 3 as published
* by the Free Software Foundation.
*
* This file is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <
www.gnu.org/licenses/>.
*
* This file incorporates work covered by the following copyright and
* permission notice:
*
* Copyright (c) 前一手的創作年份, 前一手姓名 <前一手信箱@example.net>
*
* 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.
*
*/
B、將授權條款的全文,寫在專案根目錄下名為「COPYING」的純文字檔(此例中,就是放GPL-3.0的授權條款全文)。
C、將整個專案授權狀態的說明,寫在專案根目錄下名為「LEGAL」或是「README」的純文字檔案裡面。(可參考右列專案的寫法:
https://www.openfoundry.org/of/download/fossologyvdi/fossologyvdi1.0/README)
這裡提供一篇文章連結讓你做參考,「自由軟體授權資訊的標示說明與 SPDX」:
https://www.openfoundry.org/tw/legal-column-list/8420-license-info-of-floss-and-spdx
希望這些資訊對你有所幫助,有後續問題的話歡迎接續提出來。
20120116 1745 LUCIEN C.H. LIN