From 3808e06de85210030f2073ff5a4bb6867482522f Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 19 May 2014 11:06:25 -0500 Subject: 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 Reviewed-by: A. Patrick Williams III --- src/build/tools/addCopyright.pl | 44 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 23 deletions(-) (limited to 'src') 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 -- cgit v1.2.1