From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.85.221.67, mailfrom: philmd@redhat.com) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by groups.io with SMTP; Tue, 16 Apr 2019 09:53:19 -0700 Received: by mail-wr1-f67.google.com with SMTP id y7so28019772wrn.11 for ; Tue, 16 Apr 2019 09:53:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zpkh9XWCYE0itmJaXSYMsUHVxESUsVN7/3BWX9uoOms=; b=GHu73/B6gkjCW5SlTH+PqRoDTg/qGy9F+xiaVDjxEy58YW5OFUytmzwu4UhC74EPHU 2eJwDfta4SXELjpz/iZQk72oLQ53AvFMWljbMaMGIZBG3bLDJvwJAgoSGtKp6nYdBvNZ 6Wik/DEZZ4IIlHdiZJ9P2dMVn7LBWTJiEpoYU+uxqFbnwpHz01Tsb9y5/Y9Jq4E4mU+7 +o4B883+hvcO+/ROgE6Yci7XQjlIVB9erdVP+iHlsGK+7BuAcT2/rF4iYdJ5wqnJrsRc GObeSXu0MApenTnqZQawl+fYeFCIfRcd3SFC+v84eb3c4hpmbcSnNRsOhSvxF/fplYPJ DO2g== X-Gm-Message-State: APjAAAW/4RAF+EwWyZ/lUGcZg3yIpogqY88KeTCmgjFZWj8GuXvHPN5v QjU+mFtvr+OLxzCQkWqJzaLC1w== X-Google-Smtp-Source: APXvYqz/gS7H7uD8OHjh1zjZTuEJYMTQd919eZ5KHgYAodax++IFRQhOIKbGzC3hvwo7AunF7xxk1w== X-Received: by 2002:a5d:6181:: with SMTP id j1mr32220887wru.11.1555433597941; Tue, 16 Apr 2019 09:53:17 -0700 (PDT) Return-Path: Received: from [192.168.1.33] (193.red-88-21-103.staticip.rima-tde.net. [88.21.103.193]) by smtp.gmail.com with ESMTPSA id j11sm69335987wrw.85.2019.04.16.09.53.17 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 09:53:17 -0700 (PDT) Subject: Re: [edk2-devel] [edk2-CCodingStandardsSpecification Patch] Change preferred license of EDK II to BSD+Patent To: devel@edk2.groups.io, michael.d.kinney@intel.com Cc: Andrew Fish , Laszlo Ersek , Leif Lindholm References: <20190415205722.20752-1-michael.d.kinney@intel.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Openpgp: id=89C1E78F601EE86C867495CBA2A3FD6EDEADC0DE; url=http://pgp.mit.edu/pks/lookup?op=get&search=0xA2A3FD6EDEADC0DE Message-ID: Date: Tue, 16 Apr 2019 18:53:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190415205722.20752-1-michael.d.kinney@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 4/15/19 10:57 PM, Michael D Kinney wrote: > https://bugzilla.tianocore.org/show_bug.cgi?id=1656 > > Change the EDK II C Coding Standards Specification to state that > the preferred license of the EDK II is the BSD+Patent License and > that file headers should use SPDX license identifiers. > > Cc: Andrew Fish > Cc: Laszlo Ersek > Cc: Leif Lindholm > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Michael Kinney Reviewed-by: Philippe Mathieu-Daude > --- > 5_source_files/52_spacing.md | 23 +++++------------------ > 5_source_files/53_include_files.md | 10 +--------- > 5_source_files/54_code_file_structure.md | 10 +--------- > appendix_a_common_examples.md | 9 +-------- > 4 files changed, 8 insertions(+), 44 deletions(-) > > diff --git a/5_source_files/52_spacing.md b/5_source_files/52_spacing.md > index ddeabf7..012a192 100644 > --- a/5_source_files/52_spacing.md > +++ b/5_source_files/52_spacing.md > @@ -279,15 +279,7 @@ the preferred indentation, but two tabs (four spaces) is also acceptable. > information for a person viewing the file for the first time. > > Copyright (C) --20XX, Acme Corporation. All rights reserved.
> - This program and the accompanying materials > - are licensed and made available under the terms and conditions of > - the BSD License which accompanies this distribution. The full > - text of the license may be found at > - http://opensource.org/licenses/bsd-license. > - > - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > - BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > - EXPRESS OR IMPLIED. > + SPDX-License-Identifier: BSD-2-Clause-Patent > > @par Revision Reference: > - PI Version 1.0 > @@ -364,17 +356,12 @@ the location and content of the file. The correct license will be determined by > the project leader at the time the file is created. In most cases, the license > will be the same as for other files in the module or package. > > -The majority of the files in EDK II contain the following "BSD" license. > +The preferred license for EDK II is the "BSD+Patent" license. The license for > +a file is provided in the file header using an SPDX identifier. The following > +shows the SPDX identifier for the "BSD+Patent" license. > > ``` > -This program and the accompanying materials are licensed and made > -available under the terms and conditions of the BSD License that > -accompanies this distribution. The full text of the license may be > -found at http://opensource.org/licenses/bsd-license. > - > -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR > -IMPLIED. > +SPDX-License-Identifier: BSD-2-Clause-Patent > ``` > > The license will follow the copyright notice without an intervening blank line. > diff --git a/5_source_files/53_include_files.md b/5_source_files/53_include_files.md > index 890e1c7..a859b76 100644 > --- a/5_source_files/53_include_files.md > +++ b/5_source_files/53_include_files.md > @@ -151,15 +151,7 @@ Not all types of declarations are present in every file. > you should probably also explain your rationale. > > Copyright (c) 20XX, Acme Corporation. All rights reserved.
> - This program and the accompanying materials > - are licensed and made available under the terms and conditions of > - the BSD License which accompanies this distribution. The full > - text of the license may be found at > - http://opensource.org/licenses/bsd-license. > - > - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > - BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > - EXPRESS OR IMPLIED. > + SPDX-License-Identifier: BSD-2-Clause-Patent > > @par Specification Reference: > - UEFI 2.3, Chapter 9, Device Path Protocol > diff --git a/5_source_files/54_code_file_structure.md b/5_source_files/54_code_file_structure.md > index 8cc9f4f..caaeab9 100644 > --- a/5_source_files/54_code_file_structure.md > +++ b/5_source_files/54_code_file_structure.md > @@ -45,15 +45,7 @@ these are C files with an extension of "`.c`". > you should probably also explain your rationale. > > Copyright (c) 20XX, Acme Corporation. All rights reserved.
> - This program and the accompanying materials > - are licensed and made available under the terms and conditions of > - the BSD License which accompanies this distribution. The full > - text of the license may be found at > - http://opensource.org/licenses/bsd-license.php > - > - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" > - BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER > - EXPRESS OR IMPLIED. > + SPDX-License-Identifier: BSD-2-Clause-Patent > > @par Specification Reference: > - UEFI 2.3, Chapter 9, Device Path Protocol > diff --git a/appendix_a_common_examples.md b/appendix_a_common_examples.md > index 1f247f3..d7b1a89 100644 > --- a/appendix_a_common_examples.md > +++ b/appendix_a_common_examples.md > @@ -40,14 +40,7 @@ > Detailed description of file’s purpose. > > Copyright (c) 2006 - 2014, Acme Corporation. All rights reserved.
> - This program and the accompanying materials > - are licensed and made available under the terms and conditions > - of the BSD License which accompanies this distribution. The full > - text of the license may be found at > - http://opensource.org/licenses/bsd-license.php > - > - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. > + SPDX-License-Identifier: BSD-2-Clause-Patent > > @par Specification Reference: > - UEFI 2.3, Chapter 9, Device Path Protocol >