diff --git a/.azure-devops/README.md b/.azure-devops/README.md index f8b7971dc4..28e0bd30b1 100644 --- a/.azure-devops/README.md +++ b/.azure-devops/README.md @@ -1,3 +1,19 @@ + + # Build OpenJDK on Azure DevOps ## Supported Platforms and Versions diff --git a/.azure-devops/build/build.yml b/.azure-devops/build/build.yml index 355af7677b..13daf037f7 100644 --- a/.azure-devops/build/build.yml +++ b/.azure-devops/build/build.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # Build Stages Template # # supported platform & versions: diff --git a/.azure-devops/build/steps/macOS/before.yml b/.azure-devops/build/steps/macOS/before.yml index 87aca91ef1..1ab674d849 100644 --- a/.azure-devops/build/steps/macOS/before.yml +++ b/.azure-devops/build/steps/macOS/before.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # before.yml # install macOS platform dependencies & set environment variables diff --git a/.azure-devops/build/steps/macOS/build_hotspot.yml b/.azure-devops/build/steps/macOS/build_hotspot.yml index 1cb8121d12..a51a6591e0 100644 --- a/.azure-devops/build/steps/macOS/build_hotspot.yml +++ b/.azure-devops/build/steps/macOS/build_hotspot.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # build_hotspot.yml # run the ./makejdk-any-platform.sh and upload generated files to artifacts diff --git a/.azure-devops/build/steps/shared/after.yml b/.azure-devops/build/steps/shared/after.yml index 90e4e384ae..6a3e06f35b 100644 --- a/.azure-devops/build/steps/shared/after.yml +++ b/.azure-devops/build/steps/shared/after.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + steps: # display all environment variables when system.debug is set to true - bash: | diff --git a/.azure-devops/build/steps/shared/before.yml b/.azure-devops/build/steps/shared/before.yml index 2de0e83815..559bfa1cb8 100644 --- a/.azure-devops/build/steps/shared/before.yml +++ b/.azure-devops/build/steps/shared/before.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # before.yml # 1. check required environment variables # 2. checkout openjdk-build repo diff --git a/.azure-devops/build/steps/shared/set_boot_jdk_version.yml b/.azure-devops/build/steps/shared/set_boot_jdk_version.yml index f4723e489e..dcbd41daed 100644 --- a/.azure-devops/build/steps/shared/set_boot_jdk_version.yml +++ b/.azure-devops/build/steps/shared/set_boot_jdk_version.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + steps: - bash: | BOOTJDK_VERSION= diff --git a/.azure-devops/build/steps/windows/before.yml b/.azure-devops/build/steps/windows/before.yml index fcbf444d33..a45f78d9d4 100644 --- a/.azure-devops/build/steps/windows/before.yml +++ b/.azure-devops/build/steps/windows/before.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # before.yml # install Windows platform dependencies & set environment variables diff --git a/.azure-devops/build/steps/windows/build_hotspot.yml b/.azure-devops/build/steps/windows/build_hotspot.yml index 3883bd02b7..72fa4cad34 100644 --- a/.azure-devops/build/steps/windows/build_hotspot.yml +++ b/.azure-devops/build/steps/windows/build_hotspot.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # build_hotspot.yml # run the ./makejdk-any-platform.sh and upload generated files to artifacts diff --git a/.azure-devops/openjdk-pipelines.yml b/.azure-devops/openjdk-pipelines.yml index 14150e93d7..1ff95a2f49 100644 --- a/.azure-devops/openjdk-pipelines.yml +++ b/.azure-devops/openjdk-pipelines.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + name: "Adoptium-$(JAVA_TO_BUILD)-$(Date:yyyy-MM-dd)" trigger: none diff --git a/.azure-devops/test/jobs/steps/parallel.yml b/.azure-devops/test/jobs/steps/parallel.yml index b87e9f68fd..b8cbcfe8bf 100644 --- a/.azure-devops/test/jobs/steps/parallel.yml +++ b/.azure-devops/test/jobs/steps/parallel.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + steps: - script: | brew update diff --git a/.azure-devops/test/jobs/steps/test.yml b/.azure-devops/test/jobs/steps/test.yml index b05e15bd87..f1bb336c11 100644 --- a/.azure-devops/test/jobs/steps/test.yml +++ b/.azure-devops/test/jobs/steps/test.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + steps: - script: | brew update diff --git a/.azure-devops/test/jobs/template.yml b/.azure-devops/test/jobs/template.yml index 868afbb6be..b5cb0c75b8 100644 --- a/.azure-devops/test/jobs/template.yml +++ b/.azure-devops/test/jobs/template.yml @@ -1,3 +1,16 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. jobs: - job: generate_parallelList_${{ parameters.buildList }} diff --git a/.azure-devops/test/sanity.yml b/.azure-devops/test/sanity.yml index e2fdaf821b..4a39b6ae6b 100644 --- a/.azure-devops/test/sanity.yml +++ b/.azure-devops/test/sanity.yml @@ -1,3 +1,16 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. stages: - stage: Test_openjdk_hs_sanity_functional_x86_64_mac diff --git a/.dockerignore b/.dockerignore index 00d51f95a5..2a298d3742 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,15 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + workspace/build/ diff --git a/.github/ISSUE_TEMPLATE/build-issue.md b/.github/ISSUE_TEMPLATE/build-issue.md index 0ed8812f86..73de8148b6 100644 --- a/.github/ISSUE_TEMPLATE/build-issue.md +++ b/.github/ISSUE_TEMPLATE/build-issue.md @@ -1,3 +1,19 @@ + + --- name: ๐Ÿ› Bug Report about: For problems related to how the Temurin binaries are created or published diff --git a/.github/ISSUE_TEMPLATE/buildbreak.md b/.github/ISSUE_TEMPLATE/buildbreak.md index 2db572423b..98e7bf1889 100644 --- a/.github/ISSUE_TEMPLATE/buildbreak.md +++ b/.github/ISSUE_TEMPLATE/buildbreak.md @@ -1,3 +1,19 @@ + + --- name: ๐Ÿ˜“ Build break about: Use this to report a broken build in Jenkins diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md index 1e6fde8ef1..113f6757f3 100644 --- a/.github/ISSUE_TEMPLATE/documentation.md +++ b/.github/ISSUE_TEMPLATE/documentation.md @@ -1,3 +1,19 @@ + + --- name: ๐Ÿ“š Documentation update about: Request for updates to the Temurin build documentation diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 3a8deed068..7763776be3 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,3 +1,19 @@ + + --- name: ๐Ÿš€ Feature request about: Suggest a new feature for this project diff --git a/.github/ISSUE_TEMPLATE/not-sure-where-to-raise-an-issue.md b/.github/ISSUE_TEMPLATE/not-sure-where-to-raise-an-issue.md index 5e8b019376..7fc332461c 100644 --- a/.github/ISSUE_TEMPLATE/not-sure-where-to-raise-an-issue.md +++ b/.github/ISSUE_TEMPLATE/not-sure-where-to-raise-an-issue.md @@ -1,3 +1,19 @@ + + --- name: โ‰๏ธ Not sure where to raise an issue? about: No sure where to raise the issue? diff --git a/.github/ISSUE_TEMPLATE/weekly-build-triage.md b/.github/ISSUE_TEMPLATE/weekly-build-triage.md index 79185a6cc8..6887d0098f 100644 --- a/.github/ISSUE_TEMPLATE/weekly-build-triage.md +++ b/.github/ISSUE_TEMPLATE/weekly-build-triage.md @@ -1,3 +1,19 @@ + + --- name: ๐Ÿฉบ Weekly Build Triage about: For triaging the nightly and weekend build failures diff --git a/.github/dependabot.yml b/.github/dependabot.yml index afb98ae0c7..e8dbf3817f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + version: 2 updates: - package-ecosystem: github-actions diff --git a/.github/labeler.yml b/.github/labeler.yml index a6f5d13667..ea6bfdaffb 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # Config file used by .github/workflows/labeler.yml # This file matches file/folder changes to labels. See https://github.com/actions/labeler for more information. diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml index 5ffc9263c0..2d833f38c3 100644 --- a/.github/linters/.markdown-lint.yml +++ b/.github/linters/.markdown-lint.yml @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + ########################### ########################### ## Markdown Linter rules ## diff --git a/.github/linters/sun_checks.xml b/.github/linters/sun_checks.xml index 574cb4909d..7025102c3d 100644 --- a/.github/linters/sun_checks.xml +++ b/.github/linters/sun_checks.xml @@ -1,4 +1,20 @@ + + diff --git a/.github/linters/suppressed-java.xml b/.github/linters/suppressed-java.xml index 2a82c313e1..f7f570ce6e 100644 --- a/.github/linters/suppressed-java.xml +++ b/.github/linters/suppressed-java.xml @@ -1,4 +1,20 @@ + + + # Changelog for openjdk-build scripts (DEPRECATED) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f81130f2b7..daab9e592a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,19 @@ + + # Contributing to temurin-build Thanks for your interest in this project. diff --git a/FAQ.md b/FAQ.md index 282206c686..369171b1ec 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,3 +1,19 @@ + + # temurin-build FAQ This document covers cover how to perform various repeatable tasks in the diff --git a/README.md b/README.md index d4df9e6b84..f44a22b858 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ + + # Repository for code and instructions for building OpenJDK binaries, defaulting to Eclipse Temurinโ„ข diff --git a/RELEASING.md b/RELEASING.md index 07cbf1757b..9c4762357e 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,3 +1,19 @@ + + # Temurin Release Guide diff --git a/SmokeTesting.md b/SmokeTesting.md index f3179a09e5..c390703ed4 100644 --- a/SmokeTesting.md +++ b/SmokeTesting.md @@ -1,3 +1,19 @@ + + # General steps to follow for producing Smoke Tests These are the general steps to execute the Smoke Tests found in[/test/functional/buildAndPackage](https://github.com/adoptium/temurin-build/tree/master/test/functional/buildAndPackage) on your local machine. They are run using the same mechanisms as the AQA test suite, with the TestKitGen ([TKG](https://github.com/adoptium/TKG)) harness that provides a standardized way to deal with these tests under automation. diff --git a/Testing.md b/Testing.md index c23db36313..f770ca616f 100644 --- a/Testing.md +++ b/Testing.md @@ -1,3 +1,19 @@ + + # PR Testers openjdk-build is an open source project, therefore, we need to ensure the the code that is being deployed to our master branch doesn't break any existing code and actually works as expected. diff --git a/build-farm/make-adopt-build-farm.sh b/build-farm/make-adopt-build-farm.sh index 259145ad7d..c56d8dfaa7 100755 --- a/build-farm/make-adopt-build-farm.sh +++ b/build-farm/make-adopt-build-farm.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 set -e diff --git a/build-farm/platform-specific-configurations/aix.sh b/build-farm/platform-specific-configurations/aix.sh index fea9acefb1..58cbc76239 100755 --- a/build-farm/platform-specific-configurations/aix.sh +++ b/build-farm/platform-specific-configurations/aix.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/build-farm/platform-specific-configurations/alpine-linux.sh b/build-farm/platform-specific-configurations/alpine-linux.sh index db614226a8..1d1af7e8b0 100644 --- a/build-farm/platform-specific-configurations/alpine-linux.sh +++ b/build-farm/platform-specific-configurations/alpine-linux.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/platform-specific-configurations/freebsd.sh b/build-farm/platform-specific-configurations/freebsd.sh index 01cdae60ab..3366f1d685 100644 --- a/build-farm/platform-specific-configurations/freebsd.sh +++ b/build-farm/platform-specific-configurations/freebsd.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/platform-specific-configurations/linux.sh b/build-farm/platform-specific-configurations/linux.sh index 5125c9c094..23a8042a7e 100755 --- a/build-farm/platform-specific-configurations/linux.sh +++ b/build-farm/platform-specific-configurations/linux.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/platform-specific-configurations/mac.sh b/build-farm/platform-specific-configurations/mac.sh index 661576fdda..cac6d1acb4 100755 --- a/build-farm/platform-specific-configurations/mac.sh +++ b/build-farm/platform-specific-configurations/mac.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091,SC2140 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091,SC2140 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/platform-specific-configurations/solaris.sh b/build-farm/platform-specific-configurations/solaris.sh index e079676d5d..4357cc1006 100644 --- a/build-farm/platform-specific-configurations/solaris.sh +++ b/build-farm/platform-specific-configurations/solaris.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/platform-specific-configurations/windows.sh b/build-farm/platform-specific-configurations/windows.sh index 25d5756a83..612fa4312b 100755 --- a/build-farm/platform-specific-configurations/windows.sh +++ b/build-farm/platform-specific-configurations/windows.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/set-platform-specific-configurations.sh b/build-farm/set-platform-specific-configurations.sh index ae4f53e239..4360c8bc6f 100755 --- a/build-farm/set-platform-specific-configurations.sh +++ b/build-farm/set-platform-specific-configurations.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1090,SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1090,SC1091 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck source=sbin/common/constants.sh diff --git a/build-farm/sign-releases.sh b/build-farm/sign-releases.sh index d4ffab7a06..5f87bc4ecc 100755 --- a/build-farm/sign-releases.sh +++ b/build-farm/sign-releases.sh @@ -1,18 +1,18 @@ #!/bin/bash - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + set -eu diff --git a/build-farm/signSBOM.sh b/build-farm/signSBOM.sh index 7aeadba650..c1d8d0136e 100755 --- a/build-farm/signSBOM.sh +++ b/build-farm/signSBOM.sh @@ -1,18 +1,18 @@ #!/bin/sh - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + # Check if JDK-17 is installed and set as the default JDK if ! java -version 2>&1 | grep -q '"17.'; then diff --git a/configureBuild.sh b/configureBuild.sh index 745ffd2ad2..1b95a60030 100755 --- a/configureBuild.sh +++ b/configureBuild.sh @@ -1,20 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -# -################################################################################ + +# shellcheck disable=SC1091 ################################################################################ # diff --git a/cyclonedx-lib/README.md b/cyclonedx-lib/README.md index 5dc5740a2e..987e6caf8d 100644 --- a/cyclonedx-lib/README.md +++ b/cyclonedx-lib/README.md @@ -1,3 +1,19 @@ + + # CycloneDX support files ## Overview diff --git a/cyclonedx-lib/build.xml b/cyclonedx-lib/build.xml index 96ff9ec5c9..c8574a70b1 100644 --- a/cyclonedx-lib/build.xml +++ b/cyclonedx-lib/build.xml @@ -1,4 +1,20 @@ + + + # OpenJDK and Docker Scripts to build dockerfiles and generate various Docker images building OpenJDK diff --git a/docker/buildDocker.sh b/docker/buildDocker.sh index 61ce2bba32..439f6773e7 100755 --- a/docker/buildDocker.sh +++ b/docker/buildDocker.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + set -u BOOTDIR="" diff --git a/docker/dockerfile-generator.sh b/docker/dockerfile-generator.sh index baf907c834..854b11d032 100755 --- a/docker/dockerfile-generator.sh +++ b/docker/dockerfile-generator.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC2129 set -eu diff --git a/entitlements.plist b/entitlements.plist index d84f4d9a14..9bdf7ad09a 100644 --- a/entitlements.plist +++ b/entitlements.plist @@ -1,4 +1,20 @@ + + diff --git a/makejdk-any-platform.sh b/makejdk-any-platform.sh index fc7e49cb26..99c77f6ffa 100755 --- a/makejdk-any-platform.sh +++ b/makejdk-any-platform.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC1091 ################################################################################ diff --git a/native-build.sh b/native-build.sh index 30c46bf4c4..a7c8ad16bf 100755 --- a/native-build.sh +++ b/native-build.sh @@ -1,18 +1,18 @@ #!/bin/bash - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + ################################################################################ # diff --git a/sbin/build.sh b/sbin/build.sh index a9143017f9..d4714add4e 100755 --- a/sbin/build.sh +++ b/sbin/build.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC2155,SC2153,SC2038,SC1091,SC2116,SC2086 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC2155,SC2153,SC2038,SC1091,SC2116,SC2086 ################################################################################ # diff --git a/sbin/build.template b/sbin/build.template index 053787af31..710b2a5aa1 100644 --- a/sbin/build.template +++ b/sbin/build.template @@ -1,20 +1,6 @@ #!/bin/bash # shellcheck disable=SC1009,SC1056,SC1072,SC1073,SC1054,SC1083,SC2181 -################################################################################ -# 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 -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# 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. -################################################################################ - ################################################################################ # # build.template diff --git a/sbin/common/common.sh b/sbin/common/common.sh index 261e4d08b4..cb085a9975 100755 --- a/sbin/common/common.sh +++ b/sbin/common/common.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC2155 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC2155 # shellcheck disable=SC2153 function setOpenJdkVersion() { diff --git a/sbin/common/config_init.sh b/sbin/common/config_init.sh index 3ee88244fe..5aebd0c031 100755 --- a/sbin/common/config_init.sh +++ b/sbin/common/config_init.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC2153,SC2155 ################################################################################ diff --git a/sbin/common/constants.sh b/sbin/common/constants.sh index c02cfb4317..e35c630947 100755 --- a/sbin/common/constants.sh +++ b/sbin/common/constants.sh @@ -1,18 +1,18 @@ #!/bin/bash - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + # Version Strings export JDK8_VERSION="jdk8u"; diff --git a/sbin/common/sbom.sh b/sbin/common/sbom.sh index 24fa0b0602..7e17804232 100755 --- a/sbin/common/sbom.sh +++ b/sbin/common/sbom.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # Create a default SBOM json file: sbomJson createSBOMFile() { local javaHome="${1}" diff --git a/sbin/prepareWorkspace.sh b/sbin/prepareWorkspace.sh index 022a0b297b..1b4731bdf9 100644 --- a/sbin/prepareWorkspace.sh +++ b/sbin/prepareWorkspace.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC2155,SC1091,SC2196,SC2235 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC2155,SC1091,SC2196,SC2235 ################################################################################ # diff --git a/sbin/sig_check/freemarker.asc b/sbin/sig_check/freemarker.asc index c15976b69f..6c4e2bd4a6 100644 --- a/sbin/sig_check/freemarker.asc +++ b/sbin/sig_check/freemarker.asc @@ -1,3 +1,17 @@ +// Copyright 2024 Eclipse Foundation +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// 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. + -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2.0.20 (MingW32) diff --git a/sbin/sig_check/freetype.asc b/sbin/sig_check/freetype.asc index fd32efcab3..7003889650 100644 --- a/sbin/sig_check/freetype.asc +++ b/sbin/sig_check/freetype.asc @@ -1,3 +1,17 @@ +// Copyright 2024 Eclipse Foundation +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// 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. + -----BEGIN PGP PUBLIC KEY BLOCK----- mQGiBD+Z+pwRBACnK1FszJzA033xBE6MVbjhP1DLFNBLwhw+2hcTLOWvcsdbQh74 diff --git a/security/.gitignore b/security/.gitignore index b9944eb2fa..d03763eb77 100644 --- a/security/.gitignore +++ b/security/.gitignore @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + ca-bundle.crt cacerts certs/ diff --git a/security/README.md b/security/README.md index ac5b66e11b..619a4c996c 100644 --- a/security/README.md +++ b/security/README.md @@ -1,3 +1,19 @@ + + # Security files for OpenJDK ## CA Certificates diff --git a/security/mk-ca-bundle.pl b/security/mk-ca-bundle.pl index 06f8b54c40..9e8eec6afc 100755 --- a/security/mk-ca-bundle.pl +++ b/security/mk-ca-bundle.pl @@ -1,4 +1,18 @@ #!/usr/bin/env perl +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # *************************************************************************** # * _ _ ____ _ # * Project ___| | | | _ \| | diff --git a/security/mk-cacerts.sh b/security/mk-cacerts.sh index 5613da2e25..d2ba988752 100755 --- a/security/mk-cacerts.sh +++ b/security/mk-cacerts.sh @@ -1,17 +1,18 @@ #!/usr/bin/env bash +# Copyright 2024 Eclipse Foundation # # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -# + set -euo pipefail PROGRAM_NAME="${0##*/}" diff --git a/serverTimestamp.properties b/serverTimestamp.properties index 98a69dfb68..4ca86432f5 100644 --- a/serverTimestamp.properties +++ b/serverTimestamp.properties @@ -1,3 +1,17 @@ +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + comodaca=http://timestamp.comodoca.com/authenticode globalsign=http://timestamp.globalsign.com/scripts/timstamp.dll isectigo=http://timestamp.sectigo.com diff --git a/sign.sh b/sign.sh index bd381c2c59..65c7096b42 100755 --- a/sign.sh +++ b/sign.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 - -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ + +# shellcheck disable=SC1091 set -eu diff --git a/signalhandler.sh b/signalhandler.sh index bcb04f2e06..a8ffc31ab2 100755 --- a/signalhandler.sh +++ b/signalhandler.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + ################################################################################ # diff --git a/test/functional/buildAndPackage/build.xml b/test/functional/buildAndPackage/build.xml index f7d058096c..ed76e6e7d0 100644 --- a/test/functional/buildAndPackage/build.xml +++ b/test/functional/buildAndPackage/build.xml @@ -1,4 +1,20 @@ + + + + + + + # Readme for Build Auto-Triage Tool ## Summary diff --git a/tooling/build_autotriage/autotriage_regexes.sh b/tooling/build_autotriage/autotriage_regexes.sh index 2cdd8cf89c..aa3e639d26 100644 --- a/tooling/build_autotriage/autotriage_regexes.sh +++ b/tooling/build_autotriage/autotriage_regexes.sh @@ -1,17 +1,17 @@ #!/bin/bash -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ ################################################################################ # diff --git a/tooling/build_autotriage/build_autotriage.sh b/tooling/build_autotriage/build_autotriage.sh index 93edf08b42..a016892490 100644 --- a/tooling/build_autotriage/build_autotriage.sh +++ b/tooling/build_autotriage/build_autotriage.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ +# shellcheck disable=SC1091 ################################################################################ # # This script takes a list of JDK major versions and outputs a list of diff --git a/tooling/common_logging.sh b/tooling/common_logging.sh index 493505e4f6..dbc8cf8bab 100755 --- a/tooling/common_logging.sh +++ b/tooling/common_logging.sh @@ -1,4 +1,18 @@ #!/bin/sh +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # # Utility functions for logging. # diff --git a/tooling/release_download_test.sh b/tooling/release_download_test.sh index 16f17fc007..bf1182ef2c 100755 --- a/tooling/release_download_test.sh +++ b/tooling/release_download_test.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # # Adoptium download and SBOM validation utility # Takes a tagged build as a parameter and downloads it from the diff --git a/tooling/reproducible/ReproducibleBuilds.md b/tooling/reproducible/ReproducibleBuilds.md index 02dac7ec59..23a78aaa0f 100755 --- a/tooling/reproducible/ReproducibleBuilds.md +++ b/tooling/reproducible/ReproducibleBuilds.md @@ -1,3 +1,19 @@ + + # Temurin tools and utilities for Reproducible and Comparable OpenJDK Builds diff --git a/tooling/reproducible/comparable_patch.sh b/tooling/reproducible/comparable_patch.sh index b6b8b8312a..bb1d5cbc07 100755 --- a/tooling/reproducible/comparable_patch.sh +++ b/tooling/reproducible/comparable_patch.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC1091 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tooling/reproducible/linux_repro_build_compare.sh b/tooling/reproducible/linux_repro_build_compare.sh index 17c1b9bcb4..6e1e148ac0 100755 --- a/tooling/reproducible/linux_repro_build_compare.sh +++ b/tooling/reproducible/linux_repro_build_compare.sh @@ -1,4 +1,18 @@ #!/bin/sh +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # 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 diff --git a/tooling/reproducible/repro_common.sh b/tooling/reproducible/repro_common.sh index 7a792b1b3b..91379aa7d6 100755 --- a/tooling/reproducible/repro_common.sh +++ b/tooling/reproducible/repro_common.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC2086 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tooling/reproducible/repro_compare.sh b/tooling/reproducible/repro_compare.sh index 42484ca05e..41ed4c4670 100755 --- a/tooling/reproducible/repro_compare.sh +++ b/tooling/reproducible/repro_compare.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC1091 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tooling/reproducible/repro_process.sh b/tooling/reproducible/repro_process.sh index 7638da631e..fef06fee58 100755 --- a/tooling/reproducible/repro_process.sh +++ b/tooling/reproducible/repro_process.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # shellcheck disable=SC1091 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tooling/reproducible/windows_build_as_temurin.sh b/tooling/reproducible/windows_build_as_temurin.sh index 20cb0539e9..60468b2da7 100755 --- a/tooling/reproducible/windows_build_as_temurin.sh +++ b/tooling/reproducible/windows_build_as_temurin.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # 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 diff --git a/tooling/reproducible/windows_repro_build_compare.sh b/tooling/reproducible/windows_repro_build_compare.sh index c24bbe992a..2721404386 100644 --- a/tooling/reproducible/windows_repro_build_compare.sh +++ b/tooling/reproducible/windows_repro_build_compare.sh @@ -1,4 +1,18 @@ #!/bin/bash +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + # 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 diff --git a/tooling/src/c/WindowsUpdateVsVersionInfo.c b/tooling/src/c/WindowsUpdateVsVersionInfo.c index e3f6aec2ce..44aff33490 100644 --- a/tooling/src/c/WindowsUpdateVsVersionInfo.c +++ b/tooling/src/c/WindowsUpdateVsVersionInfo.c @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Eclipse Foundation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + /** # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tooling/src/java/temurin/tools/BinRepl.java b/tooling/src/java/temurin/tools/BinRepl.java index a593c4e8fb..f2f1e3c1a0 100644 --- a/tooling/src/java/temurin/tools/BinRepl.java +++ b/tooling/src/java/temurin/tools/BinRepl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Eclipse Foundation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tooling/src/java/temurin/tools/package-info.java b/tooling/src/java/temurin/tools/package-info.java index 3e22d3f4a0..41987e66a6 100644 --- a/tooling/src/java/temurin/tools/package-info.java +++ b/tooling/src/java/temurin/tools/package-info.java @@ -1,18 +1,20 @@ /* -################################################################################ -# 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 -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# 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. -################################################################################ -*/ + * Copyright 2024 Eclipse Foundation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + +/**/ /** * temurin.tools package. */ diff --git a/tooling/strace_analysis.sh b/tooling/strace_analysis.sh index c0fc16cdda..d7dcac2c88 100755 --- a/tooling/strace_analysis.sh +++ b/tooling/strace_analysis.sh @@ -1,19 +1,19 @@ #!/bin/bash -# shellcheck disable=SC1091 -################################################################################ +# Copyright 2024 Eclipse Foundation +# # 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 # -# https://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # 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. -################################################################################ +# shellcheck disable=SC1091 ################################################################################ # # This shell script deals with analysing the output files produced by strace diff --git a/tooling/validateSBOMcontent.sh b/tooling/validateSBOMcontent.sh index a48b4fa6a5..cbdfc82e39 100755 --- a/tooling/validateSBOMcontent.sh +++ b/tooling/validateSBOMcontent.sh @@ -1,4 +1,18 @@ #!/bin/sh +# Copyright 2024 Eclipse Foundation +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# 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. + [ "$VERBOSE" = "true" ] && set -x if [ $# -lt 3 ]; then echo "Usage: $0 file.json majorversion fullversion"