diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-05-19 11:06:25 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-05-21 17:34:44 -0500 |
commit | 3808e06de85210030f2073ff5a4bb6867482522f (patch) | |
tree | 6ff6276c922db6e726c9f1b1ef24e1618b9ff923 /src/build/tools/addCopyright.pl | |
parent | 3faeb6dd6cbc8929ac94d92525d1d4f5dcfe9156 (diff) | |
download | talos-hostboot-3808e06de85210030f2073ff5a4bb6867482522f.tar.gz talos-hostboot-3808e06de85210030f2073ff5a4bb6867482522f.zip |
Change addCopyright tool to use Apache license.
Change-Id: Ic27f12bf23592c7d51873d90dcce547a15419508
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11164
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools/addCopyright.pl')
-rwxr-xr-x | src/build/tools/addCopyright.pl | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/src/build/tools/addCopyright.pl b/src/build/tools/addCopyright.pl index 8973d5a32..bc139f35f 100755 --- a/src/build/tools/addCopyright.pl +++ b/src/build/tools/addCopyright.pl @@ -4,21 +4,21 @@ # # $Source: src/build/tools/addCopyright.pl $ # -# IBM CONFIDENTIAL +# OpenPOWER HostBoot Project # # COPYRIGHT International Business Machines Corp. 2011,2014 # -# p1 +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# Object Code Only (OCO) source materials -# Licensed Internal Code Source Materials -# IBM HostBoot Licensed Internal Code +# http://www.apache.org/licenses/LICENSE-2.0 # -# The source code for this program is not published or otherwise -# divested of its trade secrets, irrespective of what has been -# deposited with the U.S. Copyright Office. -# -# Origin: 30 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express +# or implied. See the License for the specific language governing +# permissions and limitations under the License. # # IBM_PROLOG_END_TAG @@ -80,8 +80,6 @@ my $DELIMITER_BEGIN = 'IBM_PROLOG_BEGIN_TAG'; my $SOURCE_BEGIN_TAG = "\$Source:"; my $SOURCE_END_TAG = "\$"; -my $PVALUE = "p1"; ## my best guess -my $ORIGIN = "30"; # End Project-specific settings @@ -634,7 +632,7 @@ sub checkCopyrightBlock( $$ ) } ## Check to see if this is a HostBoot Copyright notice - if ( !( $block =~ m/IBM $projectName Licensed Internal Code/ ) ) + if ( !( $block =~ m/OpenPOWER $projectName Project/ ) ) { print STDOUT "WARNING: Not a $projectName copyright block\n"; return RC_NOT_HOSTBOOT_BLOCK; @@ -1018,21 +1016,21 @@ This is an automatically generated prolog. $SOURCE_BEGIN_TAG $filename $SOURCE_END_TAG -IBM CONFIDENTIAL +OpenPOWER $projectName Project $copyright_IBM. $copyrightYear -$PVALUE - -Object Code Only (OCO) source materials -Licensed Internal Code Source Materials -IBM $projectName Licensed Internal Code +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at -The source code for this program is not published or otherwise -divested of its trade secrets, irrespective of what has been -deposited with the U.S. Copyright Office. + http://www.apache.org/licenses/LICENSE-2.0 -Origin: $ORIGIN +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing +permissions and limitations under the License. $DELIMITER_END EOF |