From 90c5df912b509cf4e68f55eb8486a1f339bfe7cb Mon Sep 17 00:00:00 2001 From: pedro martelletto Date: Tue, 2 Aug 2022 11:36:16 +0200 Subject: [PATCH] actions: add copyright notices; prompted by #623 --- .actions/build-bsd | 6 ++++++ .actions/build-linux-clang | 5 +++++ .actions/build-linux-gcc | 5 +++++ .actions/build-linux-i686-w64-mingw32-gcc | 5 +++++ .actions/build-linux-openssl3-clang | 5 +++++ .actions/build-linux-openssl3-gcc | 5 +++++ .actions/build-linux-openssl3-i686-w64-mingw32-gcc | 5 +++++ .actions/build-osx-clang | 5 +++++ .actions/fuzz-linux | 1 + .actions/setup_clang | 5 +++++ .github/workflows/alpine_builds.yml | 5 +++++ .github/workflows/bsd_builds.yml | 5 +++++ .github/workflows/cifuzz_oss.yml | 5 +++++ .github/workflows/codeql-analysis.yml | 5 +++++ .github/workflows/cygwin_builds.yml | 5 +++++ .github/workflows/linux_builds.yml | 5 +++++ .github/workflows/linux_fuzz.yml | 5 +++++ .github/workflows/macos_builds.yml | 5 +++++ .github/workflows/openssl3.yml | 5 +++++ .github/workflows/windows_builds.yml | 5 +++++ 20 files changed, 97 insertions(+) diff --git a/.actions/build-bsd b/.actions/build-bsd index 281ef605..66fc4e3b 100755 --- a/.actions/build-bsd +++ b/.actions/build-bsd @@ -1,4 +1,10 @@ #!/bin/sh -eux + +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + BASE_URL="https://builds.sr.ht" MANIFEST="$(mktemp)" LOGFILE="$(mktemp)" diff --git a/.actions/build-linux-clang b/.actions/build-linux-clang index f6fc52f3..ba20f127 100755 --- a/.actions/build-linux-clang +++ b/.actions/build-linux-clang @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + ${CC} --version SCAN=scan-build${CC#clang} diff --git a/.actions/build-linux-gcc b/.actions/build-linux-gcc index 2cc697f7..cd42b5eb 100755 --- a/.actions/build-linux-gcc +++ b/.actions/build-linux-gcc @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + ${CC} --version # Build and install libfido2. diff --git a/.actions/build-linux-i686-w64-mingw32-gcc b/.actions/build-linux-i686-w64-mingw32-gcc index 51d1cc06..a723160a 100755 --- a/.actions/build-linux-i686-w64-mingw32-gcc +++ b/.actions/build-linux-i686-w64-mingw32-gcc @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + # XXX defining CC and cross-compiling confuses OpenSSL's build. unset CC diff --git a/.actions/build-linux-openssl3-clang b/.actions/build-linux-openssl3-clang index b3d334b3..f0e15f14 100755 --- a/.actions/build-linux-openssl3-clang +++ b/.actions/build-linux-openssl3-clang @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + ${CC} --version SCAN=scan-build${CC#clang} FAKEROOT="$(mktemp -d)" diff --git a/.actions/build-linux-openssl3-gcc b/.actions/build-linux-openssl3-gcc index 999a81f1..cc0de8d5 100755 --- a/.actions/build-linux-openssl3-gcc +++ b/.actions/build-linux-openssl3-gcc @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + ${CC} --version FAKEROOT="$(mktemp -d)" diff --git a/.actions/build-linux-openssl3-i686-w64-mingw32-gcc b/.actions/build-linux-openssl3-i686-w64-mingw32-gcc index 0bcbceb4..054322a5 100755 --- a/.actions/build-linux-openssl3-i686-w64-mingw32-gcc +++ b/.actions/build-linux-openssl3-i686-w64-mingw32-gcc @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + # XXX defining CC and cross-compiling confuses OpenSSL's build. unset CC diff --git a/.actions/build-osx-clang b/.actions/build-osx-clang index 7cbbb55a..1815a60a 100755 --- a/.actions/build-osx-clang +++ b/.actions/build-osx-clang @@ -1,5 +1,10 @@ #!/bin/sh -eux +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + export PKG_CONFIG_PATH="$(brew --prefix openssl@1.1)/lib/pkgconfig" SCAN="$(brew --prefix llvm)/bin/scan-build" diff --git a/.actions/fuzz-linux b/.actions/fuzz-linux index 3f85c763..202a9c70 100755 --- a/.actions/fuzz-linux +++ b/.actions/fuzz-linux @@ -3,6 +3,7 @@ # Copyright (c) 2020-2022 Yubico AB. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause LIBCBOR_URL="https://github.com/pjk/libcbor" LIBCBOR_TAG="v0.9.0" diff --git a/.actions/setup_clang b/.actions/setup_clang index b6e92b09..be06709c 100755 --- a/.actions/setup_clang +++ b/.actions/setup_clang @@ -1,5 +1,10 @@ #!/bin/sh -eu +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + CC="$1" APT="http://apt.llvm.org" CODENAME="$(lsb_release -cs)" diff --git a/.github/workflows/alpine_builds.yml b/.github/workflows/alpine_builds.yml index 45250559..61ab791c 100644 --- a/.github/workflows/alpine_builds.yml +++ b/.github/workflows/alpine_builds.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: alpine on: diff --git a/.github/workflows/bsd_builds.yml b/.github/workflows/bsd_builds.yml index 9ad5cd27..6f79727f 100644 --- a/.github/workflows/bsd_builds.yml +++ b/.github/workflows/bsd_builds.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: bsd on: diff --git a/.github/workflows/cifuzz_oss.yml b/.github/workflows/cifuzz_oss.yml index 53e72ba7..42e4a6a3 100644 --- a/.github/workflows/cifuzz_oss.yml +++ b/.github/workflows/cifuzz_oss.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: cifuzz on: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9db18433..26b802c3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: "codeql" on: diff --git a/.github/workflows/cygwin_builds.yml b/.github/workflows/cygwin_builds.yml index f69e3b51..7178d2e4 100644 --- a/.github/workflows/cygwin_builds.yml +++ b/.github/workflows/cygwin_builds.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: cygwin on: diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 5d2eaeec..39b00776 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: linux on: diff --git a/.github/workflows/linux_fuzz.yml b/.github/workflows/linux_fuzz.yml index e6ab15aa..44b56e12 100644 --- a/.github/workflows/linux_fuzz.yml +++ b/.github/workflows/linux_fuzz.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: fuzzer on: diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml index 541462f2..0fe5bf07 100644 --- a/.github/workflows/macos_builds.yml +++ b/.github/workflows/macos_builds.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: macos on: diff --git a/.github/workflows/openssl3.yml b/.github/workflows/openssl3.yml index c7bd785e..c2dd7b85 100644 --- a/.github/workflows/openssl3.yml +++ b/.github/workflows/openssl3.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: openssl3 on: diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index 44d8d902..1316ea7c 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -1,3 +1,8 @@ +# Copyright (c) 2022 Yubico AB. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# SPDX-License-Identifier: BSD-2-Clause + name: windows on: