[
https://issues.apache.org/jira/browse/NETBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160439#comment-16160439
]
Jan Lahoda commented on NETBEANS-54:
------------------------------------
So, I was looking at (some of) the most commonly used license headers. They are
typically like this ("<YEARS>" is automatically added by the attached tool and
is supposed to represent a year or a span of years):
---
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright <YEARS> Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
Other names may be trademarks of their respective owners.
The contents of this file are subject to the terms of either the GNU General
Public License Version 2 only ("GPL") or the Common Development and
Distribution License("CDDL") (collectively, the "License"). You may not use
this file except in compliance with the License. You can obtain a copy of the
License at http://www.netbeans.org/cddl-gplv2.html or
nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific language
governing permissions and limitations under the License. When distributing the
software, include this License Header Notice in each file and include the
License file at nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
particular file as subject to the "Classpath" exception as provided by Oracle
in the GPL Version 2 section of the License file that accompanied this code. If
applicable, add the following below the License Header, with the fields
enclosed by brackets [] replaced by your own identifying information: "Portions
Copyrighted [year] [name of copyright owner]"
Contributor(s):
The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright <YEARS> Sun Microsystems,
Inc. All Rights Reserved.
If you wish your version of this file to be governed by only the CDDL or only
the GPL Version 2, indicate your decision by adding "[Contributor] elects to
include this software in this distribution under the [CDDL or GPL Version 2]
license." If you do not indicate a single choice of license, a recipient has
the option to distribute your version of this file under either the CDDL, the
GPL Version 2 or to extend the choice of license to its licensees as provided
above. However, if you add GPL Version 2 code and therefore, elected the GPL
Version 2 license, then the option applies only if the new code is made subject
to such option by the copyright holder.
---
Variations I've noted:
-the "If you wish..." section moved before "Contributors:"
-various whitespace/empty line changes
-"Copyright (c) <YEARS> Oracle and/or its affiliates. All rights reserved."
instead of "Copyright <YEARS> Oracle and/or its affiliates. All rights
reserved."
-the "If you wish..." section not included/missing
Variants of the Contributors section I've noted:
-Portions Copyrighted <YEARS> Sun Microsystems, Inc.
-empty section
These variations seem minor to me, so if the original text would be OK, the
variants should hopefully be OK as well. This should cover headers of files
listed in lic10, lic133, lic139, lic23, lic3, lic47, lic52, lic61, lic62,
lic68, lic89 from the attached file (converted-1.zip).
A header that differs somewhat more is this (e.g. lic145 from the attached
file):
---
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright <YEARS> Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU General
Public License Version 2 only ("GPL") or the Common Development and
Distribution License("CDDL") (collectively, the "License"). You may not use
this file except in compliance with the License. You can obtain a copy of the
License at http://www.netbeans.org/cddl-gplv2.html or
nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific language
governing permissions and limitations under the License. When distributing the
software, include this License Header Notice in each file and include the
License file at nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this particular
file as subject to the "Classpath" exception as provided by Sun in the GPL
Version 2 section of the License file that accompanied this code. If
applicable, add the following below the License Header, with the fields
enclosed by brackets [] replaced by your own identifying information: "Portions
Copyrighted [year] [name of copyright owner]"
Contributor(s):
The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright <YEARS> Sun Microsystems,
Inc. All Rights Reserved.
If you wish your version of this file to be governed by only the CDDL or only
the GPL Version 2, indicate your decision by adding "[Contributor] elects to
include this software in this distribution under the [CDDL or GPL Version 2]
license." If you do not indicate a single choice of license, a recipient has
the option to distribute your version of this file under either the CDDL, the
GPL Version 2 or to extend the choice of license to its licensees as provided
above. However, if you add GPL Version 2 code and therefore, elected the GPL
Version 2 license, then the option applies only if the new code is made subject
to such option by the copyright holder.
---
(note the use of "Sun Microsystems" instead of Oracle, and the missing "Oracle
and Java are registered trademarks of Oracle and/or its affiliates. Other names
may be trademarks of their respective owners." section)
So, I wonder - are files with these headers (and these variantions) OK to
relicense?
(There will be some header that differ more, but I guess it might make sense to
first cover the easier cases above, which, as far as I can tell, are the
majority of the code.)
> Clarify the status of donated files from ApacheNetBeansDonation1.zip
> --------------------------------------------------------------------
>
> Key: NETBEANS-54
> URL: https://issues.apache.org/jira/browse/NETBEANS-54
> Project: NetBeans
> Issue Type: Bug
> Reporter: Bertrand Delacretaz
> Attachments: categorized-1.zip, convert-headers-1.zip,
> JavaApplication9.java
>
>
> Reviewing the software grant [1] provided with the first NetBeans code
> donation, my understanding is that not all files found in that zip are
> donated.
> The grant indicates that the contents of that file [2] ("Code File") are
> donated "excluding any third-party and separately licensed material contained
> within the Code File".
> I don't think we can consider that code ready to release as is, due to the
> uncertainty that this creates w.r.t to which files are donated and which are
> not.
> The zip archive contains about 45'000 files.
> I see the following options:
> a) Review all files and include only those which are not "third-party and
> separately licensed material". How such files are identified needs to be
> defined and documented, either in scripts under version control or as a set
> of rules. The review process must be documented and traceable, so that we can
> go back to it if problems are found in the future.
> b) Get an updated grant which does not mention such exclusions.
> If someone sees other options please discuss here or on the NetBeans dev
> list, referencing this ticket.
> [1] in svn under private/documents/grants/oracle-america-netbeans.pdf , ASF
> members have access
> [2] under http://bits.netbeans.org/download/apache-donation/ -
> SHA256(ApacheNetBeansDonation1.zip)=
> 7f2ca0f61953a190613c9a0fbcc1b034084b04a4d55d23c02cefffc354e7c24a
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)