From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0075.outbound.protection.outlook.com [104.47.41.75]) by dpdk.org (Postfix) with ESMTP id 17FFE201 for ; Fri, 8 Dec 2017 08:42:52 +0100 (CET) Received: from MWHPR03CA0053.namprd03.prod.outlook.com (10.174.173.170) by DM5PR03MB2700.namprd03.prod.outlook.com (10.168.197.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Fri, 8 Dec 2017 07:42:51 +0000 Received: from BY2FFO11OLC011.protection.gbl (2a01:111:f400:7c0c::183) by MWHPR03CA0053.outlook.office365.com (2603:10b6:301:3b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Fri, 8 Dec 2017 07:42:51 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC011.mail.protection.outlook.com (10.1.15.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Fri, 8 Dec 2017 07:42:48 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vB87glN8028736; Fri, 8 Dec 2017 00:42:48 -0700 From: Hemant Agrawal To: CC: , , Date: Fri, 8 Dec 2017 13:11:50 +0530 Message-ID: <1512718913-11462-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512117499-23412-1-git-send-email-hemant.agrawal@nxp.com> References: <1512117499-23412-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131571925687527099; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(39860400002)(346002)(39380400002)(376002)(2980300002)(1109001)(1110001)(339900001)(3190300001)(189003)(199004)(19273905006)(8676002)(85426001)(2906002)(575784001)(54906003)(86362001)(6916009)(77096006)(53936002)(316002)(6666003)(104016004)(966005)(2950100002)(81156014)(97736004)(6306002)(2351001)(105606002)(33646002)(106466001)(50466002)(16586007)(76176011)(51416003)(81166006)(4326008)(47776003)(8936002)(50226002)(53376002)(48376002)(356003)(68736007)(1720100001)(36756003)(5660300001)(305945005)(498600001)(2004002)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2700; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC011; 1:immWxnB5DNd87siHSTb4YINpFn5hfSu/fFU1vrj6EidH7hYxKpgaoDQXB5B4IDCkk/ajDaELKE/q3owCH6NyDr89I60/vm4HhEmqudkqdkvRTHmaZmMbwMgMi0xL2kM5 MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 51590dee-44db-4c4f-8560-08d53e0f4779 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:DM5PR03MB2700; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2700; 3:w4PSANdMuyNmmhiFBrZUovI0D1J9W8wouSj2F5bGflpaiVJ+QlK3udCkk/95c0zXpAzZFA8PBBUmyUjgT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fbegmyKfoMkOLV7KoCsQ7RfLHRcZgP/6ucAGpCHoFUZjtt53GWRA2awOAMSh1NcNgEWdrwX0g67RGGHZV7wYlSRgqmcdDPMTDVbxkb6ZvgQkcNTkqMuQLgYqgnt3kQ46CenS46HSA9KVdAo1M7swvGSZwzcBaowY4cP7pWcDdFvGb5eprMAZdj0Y1BbNHvX7UWnQL8t18dVmMCQ4HWwATCMLsSAubC4nn+c9VLx1XCpAiBSU8aCa+8NdYDYyFEpsGitwxcu99 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089)(5213294742642); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3231022)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123559100)(20161123565025)(20161123561025)(20161123556025)(20161123563025)(201708071742011); SRVR:DM5PR03MB2700; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2700; X-Forefront-PRVS: 0515208626 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2700; 23:bovXb3pmQUTGqddk8FWPETPYe8t/3tvPNt+tDLUaX?= =?us-ascii?Q?oP32WKLpcJGrkb20MeNqB/o2ZK38Fy2EF2r34URTCGDX+31BX+ttpSyU8SN1?= =?us-ascii?Q?GUCPrYmYae9m0YFtF78c03iq3AuVXWbbyp2WNUQVoPMOgMob2AoNZM65VL3I?= =?us-ascii?Q?wx9RolCEhAa6YpBLwihyK6trKv/Bnus2f2OH9qgTjq3jqWry2iafXa7/6fS2?= =?us-ascii?Q?RRyokPrVFK6r29T/mBff9C9A8w7m0J0uhICBw/diDEOPgpnKnFTGZzIwICkz?= =?us-ascii?Q?Gq5YVXRKwKzb9t4UA6Oq4g8TkHddCLLjuNB23FQijTMVONmFjcoXg6tBLY50?= =?us-ascii?Q?bc2YgF0g3oy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= =?us-ascii?Q?rr498boq6XMSwrtlJwtZy+ya2n/0FY83HU2rIvL?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2700; 6:8ptV6lzYBxuGVKol0GBmwiYYZJ/9GQo4kR5tuB8UAjNo7CQlqdXT1pZDkss7GZMiP5Z8WwUmgPicG1qc9i63KJS9awPLvaY2msjaQlN8MxN9iPAQcvDmNlatxp+McASPBIKjR7v70yJlK3EGYdHvNzhJmwf5oIAqETvCtJFsWzegsOMWn0raKWc7CA/sTvphAR/d6eE73j/13iqo4o++dDOC5ma8sPfINSbvhJLobHDfCts1uVtGGJz+itIsXKcSygesVPB6HO5Tw1CKDr3HrLIQZIgWc8OvQZmsI20r/9MYsUeHV32jaUxoayzDYu4pB1ilJErtG43LXPOKM+3/afR2BRRlL+u75wHb4PqiTAs=; 5:P4CCiXmfRIP+PVoWM8nngeEoFIvAu6MPLU6gP5eacIVJ04bEb8L0qJX5HKyQ0pDT2dicS2j/6axnU65WXMj2Cisl6BfA8S9drEbmkCrN9DnZ2feeFwY3TZGHaFi4YoqGMbUSaVBV+rblWaDPekytiZf/AY00GfhubkJJDC5cxl4=; 24:CS49isVIiyoaskNuROkhh6NGcKvi9OiFe46vf7KHwdDOyYafJ1vSmwDxGKHLBs6snAk/i4jyJlYfPvyXQMkfbP/oJAPopWPm2/bpyY7+2E0=; 7:pFm79m0bIGJ1CVfKwVFJ39fbA9+AS8f+APDfghk81xvsi5y/gyzLzPyVwJt7ppOEDaQFNa1GZtl30NveFihJ3ZI2RUhtFDit9HFOCEIottSWzuQcxzOxTwuCNAMsrelCO5q9nOImHS9oytWGbnvtkxb8WIb+7hfa8LpzyNjirvs+kZss0HGF4HyPwHgRpfLZEBoYfFkjBgAPD6231cVev3/1cVsfjO3yXe6oAQ4CJGbbaNhzyi/+gc4q5anusrbh SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2017 07:42:48.5499 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 51590dee-44db-4c4f-8560-08d53e0f4779 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2700 Subject: [dpdk-dev] [PATCH v3 1/4] Introducing SPDX License Identifiers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 07:42:53 -0000 The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are naturally GPLv2 licensed. Many of the files in the DPDK source code contain the full text of the applicable license. For example, most of the BSD-3-Clause files contain a full copy of the BSD-3-Clause license text. Including big blocks of License headers in all files blows up the source code with mostly redundant information. An additional problem is that even the same licenses are referred to by a number of slightly varying text blocks (full, abbreviated, different indentation, line wrapping and/or white space, with obsolete address information, ...) which makes validation and automatic processing a nightmare. To make this easier, DPDK is adpoting the use of a single line reference to Unique License Identifiers in source files as defined by the Linux Foundation's SPDX project [1]. Adding license information in this fashion, rather than adding full license text, can be more efficient for developers; decreases errors; and improves automated detection of licenses. The current set of valid, predefined SPDX identifiers is set forth on the SPDX License List[2] at https://spdx.org/licenses/. For example, to label a file as subject to the BSD-3-Clause license, the following text would be used: Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER SPDX-License-Identifier: BSD-3-Clause To label a file as GPL-2.0 (e.g., for code that runs in the kernel), the following text would be used: Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER SPDX-License-Identifier: GPL-2.0 To label a file as dual-licensed with BSD-3-Clause and GPL-2.0 (e.g., for code that is shared between the kernel and userspace), the following text would be used: Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 To label a file as dual-licensed with BSD-3-Clause and LGPL-2.1 (e.g., for code that is shared between the kernel and userspace), the following text would be used: Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER SPDX-License-Identifier: BSD-3-Clause OR LGPL-2.1 Note: Any new file contributions in DPDK shall adhere to the above scheme. It is also being recommended to replace the existing license text in the code with SPDX-License-Identifiers. Note 2: DPDK currently adhere to it's IP policies[3]. Any exception to this shall be approved by DPDK tech board and DPDK Governing Board. Steps for any exception approval: 1. Mention the appropriate license identifier form SPDX. If the license is not listed in SPDX Licenses. It is the submitters responsibiliity to get it first listed. 2. Get the required approval from the DPDK Technical Board. Technical board may advise the author to check alternate means first. If no other alternatives are found and the merit of the contributions are important for DPDK's mission, it may decide on such exception with two-thirds vote of the members. 3. Technical board then approach Governing board for such limited approval for the given contribution only. Any approvals shall be documented in "Licenses/exceptions.txt" with record dates. Note 3: Projects like U-boot have been been using SPDX License Idenfiers successfully [2]. They have been referered in implementing SPDX based guidelines in DPDK. Note 4: From the legal point of view, this patch is supposed to be only a change to the textual representation of the license information, but in no way any change to the actual license terms. With this patch applied, all files will still be licensed under the same terms they were before. Signed-off-by: Hemant Agrawal Acked-by: Stephen Hemminger --- v3: patch format with "-M" option to optimize file name change fix the dpdk.org charter ip policy link v2: spelling mistakes Licenses/Exceptions.txt | 12 +++++ Licenses/README | 82 +++++++++++++++++++++++++++++++++++ Licenses/bsd-3-clause.txt | 9 ++++ LICENSE.GPL => Licenses/gpl-2.0.txt | 14 +++--- LICENSE.LGPL => Licenses/lgpl-2.1.txt | 18 ++++---- README | 5 ++- doc/guides/contributing/patches.rst | 36 +++++++++++++++ 7 files changed, 158 insertions(+), 18 deletions(-) create mode 100644 Licenses/Exceptions.txt create mode 100644 Licenses/README create mode 100644 Licenses/bsd-3-clause.txt rename LICENSE.GPL => Licenses/gpl-2.0.txt (98%) rename LICENSE.LGPL => Licenses/lgpl-2.1.txt (99%) diff --git a/Licenses/Exceptions.txt b/Licenses/Exceptions.txt new file mode 100644 index 0000000..194dde2 --- /dev/null +++ b/Licenses/Exceptions.txt @@ -0,0 +1,12 @@ +This file will record any exceptions in DPDK Project with respect to DPDK +IP License policy as defined in DPDK Charter available at: + +http://dpdk.org/about/charter#ip + +---------------------------------------------------------------------------------------------- +License Name SPDX Identifier TB Approval Date GB Approval Date File name +---------------------------------------------------------------------------------------------- +1. + +---------------------------------------------------------------------------------------------- + diff --git a/Licenses/README b/Licenses/README new file mode 100644 index 0000000..e6edf0a --- /dev/null +++ b/Licenses/README @@ -0,0 +1,82 @@ +The DPDK uses the Open Source BSD-3-Clause license for the core libraries and +drivers. The kernel components are naturally GPLv2 licensed. + +Including big blocks of License headers in all files blows up the +source code with mostly redundant information. An additional problem +is that even the same licenses are referred to by a number of +slightly varying text blocks (full, abbreviated, different +indentation, line wrapping and/or white space, with obsolete address +information, ...) which makes validation and automatic processing a nightmare. + +To make this easier, DPDK is adpoting the use of a single line reference to +Unique License Identifiers in source files as defined by the Linux Foundation's +SPDX project [1]. + +Adding license information in this fashion, rather than adding full license +text, can be more efficient for developers; decreases errors; and improves +automated detection of licenses. The current set of valid, predefined SPDX +identifiers is set forth on the SPDX License List[2] +at https://spdx.org/licenses/. + +For example, to label a file as subject to the BSD-3-Clause license, +the following text would be used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +SPDX-License-Identifier: BSD-3-Clause + +To label a file as GPL-2.0 (e.g., for code that runs in the kernel), the +following text would be used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +SPDX-License-Identifier: GPL-2.0 + +To label a file as dual-licensed with BSD-3-Clause and GPL-2.0 (e.g., for code +that is shared between the kernel and userspace), the following text would be +used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 + +To label a file as dual-licensed with BSD-3-Clause and LGPL-2.1 (e.g., for code +that is shared between the kernel and userspace), the following text would be +used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +SPDX-License-Identifier: BSD-3-Clause OR LGPL-2.1 + +Any new file contributions in DPDK shall adhere to the above scheme. +It is also being recommended to replace the existing license text in the code +with SPDX-License-Identifiers. + +Note: DPDK currently adhere to it's IP policies[3]. Any exception to this shall +be approved by DPDK tech board and DPDK Governing Board. Steps for any exception +approval: +1. Mention the appropriate license identifier form SPDX. If the license is not + listed in SPDX Licenses. It is the submitters responsibiliity to get it + first listed. +2. Get the required approval from the DPDK Technical Board. Technical board may + advise the author to check alternate means first. If no other alternative + are found and the merit of the contributions are important for DPDK's + mission, it may decide on such exception with two-thirds vote of the members. +3. Technical board then approach Governing board for such limited approval for + the given contribution only. + +Any approvals shall be documented in "Licenses/exceptions.txt" with record +dates. + +Projects like U-boot have been been using SPDX License Idenfiers successfully +[2]. They have been referered in implementing SPDX based guidelines in DPDK. + + +[1] http://spdx.org/ +[2] http://spdx.org/licenses/ +[3] http://dpdk.org/about/charter#ip +[4] https://www.denx.de/wiki/U-Boot/Licensing + +DPDK project supported licenses are: + +Full name SPDX Identifier OSI Approved File name URI +======================================================================================================================================= +GNU General Public License v2.0 only GPL-2.0 Y gpl-2.0.txt http://spdx.org/licenses/GPL-2.0.html#licenseText +GNU Lesser General Public License v2.1 or later LGPL-2.1+ Y lgpl-2.1.txt http://spdx.org/licenses/LGPL-2.1.html#licenseText +BSD 3-clause "New" or "Revised" License BSD-3-Clause Y bsd-3-clause.txt http://spdx.org/licenses/BSD-3-Clause#licenseText diff --git a/Licenses/bsd-3-clause.txt b/Licenses/bsd-3-clause.txt new file mode 100644 index 0000000..731a737 --- /dev/null +++ b/Licenses/bsd-3-clause.txt @@ -0,0 +1,9 @@ +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSE.GPL b/Licenses/gpl-2.0.txt similarity index 98% rename from LICENSE.GPL rename to Licenses/gpl-2.0.txt index d511905..d159169 100644 --- a/LICENSE.GPL +++ b/Licenses/gpl-2.0.txt @@ -1,12 +1,12 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -56,7 +56,7 @@ patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. - GNU GENERAL PUBLIC LICENSE + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains @@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS - How to Apply These Terms to Your New Programs + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it diff --git a/LICENSE.LGPL b/Licenses/lgpl-2.1.txt similarity index 99% rename from LICENSE.LGPL rename to Licenses/lgpl-2.1.txt index 4362b49..e5ab03e 100644 --- a/LICENSE.LGPL +++ b/Licenses/lgpl-2.1.txt @@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. - + Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a @@ -111,7 +111,7 @@ modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. - + GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION @@ -158,7 +158,7 @@ Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - + 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 @@ -216,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. - + Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. @@ -267,7 +267,7 @@ Library will still fall under Section 6.) distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. - + 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work @@ -329,7 +329,7 @@ restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. - + 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined @@ -370,7 +370,7 @@ subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. - + 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or @@ -422,7 +422,7 @@ conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. - + 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is @@ -456,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - + How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest diff --git a/README b/README index 29ba0e0..055cfc2 100644 --- a/README +++ b/README @@ -1,8 +1,9 @@ DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. -The DPDK uses the Open Source BSD license for the core libraries and -drivers. The kernel components are GPLv2 licensed. +The DPDK uses the Open Source BSD-3-Clause license for the core libraries +and drivers. The kernel components are GPLv2 licensed. DPDK usages +SPDX Licenese identifiers instead of full license text in source files. Please check the doc directory for release notes, API documentation, and sample application information. diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index 40983c1..a2ecc62 100644 --- a/doc/guides/contributing/patches.rst +++ b/doc/guides/contributing/patches.rst @@ -32,6 +32,42 @@ It is also worth registering for the DPDK `Patchwork `_ for further information. +Source License +-------------- + +The DPDK uses the Open Source BSD-3-Clause license for the core libraries and +drivers. The kernel components are GPLv2 licensed. DPDK usaes single line +reference to Unique License Identifiers in source files as defined by the Linux +Foundation's `SPDX project `_. + +For example, to label a file as subject to the BSD-3-Clause license, +the following text would be used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +``SPDX-License-Identifier: BSD-3-Clause`` + +To label a file as dual-licensed with BSD-3-Clause and GPL-2.0 (e.g., for code +that is shared between the kernel and userspace), the following text would be +used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +``SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0`` + +To label a file as dual-licensed with BSD-3-Clause and LGPL-2.1 (e.g., for code +that is shared between the kernel and userspace), the following text would be +used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +``SPDX-License-Identifier: BSD-3-Clause OR LGPL-2.1`` + +To label a file as GPL-2.0 (e.g., for code that runs in the kernel), the +following text would be used: + +Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER +``SPDX-License-Identifier: GPL-2.0`` + +Any new file contributions in DPDK shall adhere to the above scheme. +It is also being recommended to replace the existing license. Maintainers and Sub-trees ------------------------- -- 2.7.4