From 6159bad8a99843122575b66c3b033908218366ca Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Mon, 22 Jan 2024 23:55:18 +0200 Subject: [PATCH] ci: Relicense again the CI scripts, from Boost License to MIT License Many build scripts, ports and other third-party add-ons that are circulating around appear to be distributed under the MIT License. Examples include the Vcpkg build system (including the libpng port) and the Meson build definitions (including the libpng definition). I am, therefore, relicensing our CI scripts once more, as the sole author (so far), just in case that any of the CI code might travel from/to such projects. Hopefully, this one last license will stick. Signed-off-by: Cosmin Truta --- ci/LICENSE_BSL_1_0.txt | 23 ----------------------- ci/LICENSE_MIT.txt | 19 +++++++++++++++++++ ci/ci_lint_ci.sh | 12 +++++------- ci/ci_verify_cmake.sh | 10 ++++------ ci/ci_verify_configure.sh | 10 ++++------ ci/ci_verify_makefiles.sh | 10 ++++------ ci/lib/ci.lib.sh | 8 +++----- 7 files changed, 39 insertions(+), 53 deletions(-) delete mode 100644 ci/LICENSE_BSL_1_0.txt create mode 100644 ci/LICENSE_MIT.txt diff --git a/ci/LICENSE_BSL_1_0.txt b/ci/LICENSE_BSL_1_0.txt deleted file mode 100644 index 36b7cd93c..000000000 --- a/ci/LICENSE_BSL_1_0.txt +++ /dev/null @@ -1,23 +0,0 @@ -Boost Software License - Version 1.0 - August 17th, 2003 - -Permission is hereby granted, free of charge, to any person or organization -obtaining a copy of the software and accompanying documentation covered by -this license (the "Software") to use, reproduce, display, distribute, -execute, and transmit the Software, and to prepare derivative works of the -Software, and to permit third-parties to whom the Software is furnished to -do so, all subject to the following: - -The copyright notices in the Software and this entire statement, including -the above license grant, this restriction and the following disclaimer, -must be included in all copies of the Software, in whole or in part, and -all derivative works of the Software, unless such copies or derivative -works are solely in the form of machine-executable object code generated by -a source language processor. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT -SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE -FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. diff --git a/ci/LICENSE_MIT.txt b/ci/LICENSE_MIT.txt new file mode 100644 index 000000000..9cf106272 --- /dev/null +++ b/ci/LICENSE_MIT.txt @@ -0,0 +1,19 @@ +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/ci/ci_lint_ci.sh b/ci/ci_lint_ci.sh index 13a9d21d6..123ed482f 100755 --- a/ci/ci_lint_ci.sh +++ b/ci/ci_lint_ci.sh @@ -3,12 +3,10 @@ set -e # Copyright (c) 2019-2024 Cosmin Truta. # -# Use, modification and distribution are subject -# to the Boost Software License, Version 1.0. -# See the accompanying file LICENSE_BSL_1_0.txt -# or visit http://www.boost.org/LICENSE_1_0.txt +# Use, modification and distribution are subject to the MIT License. +# Please see the accompanying file LICENSE_MIT.txt # -# SPDX-License-Identifier: BSL-1.0 +# SPDX-License-Identifier: MIT # shellcheck source="ci/lib/ci.lib.sh" source "$(dirname "$0")/lib/ci.lib.sh" @@ -52,8 +50,8 @@ function ci_lint_ci_scripts { function ci_lint_ci_scripts_license { ci_info "linting: CI scripts license" - ci_spawn grep -F "Boost Software License" ci/LICENSE_BSL_1_0.txt || { - ci_warn "bad or missing CI license file: '$CI_SCRIPT_DIR/LICENSE_BSL_1_0.txt'" + ci_spawn grep -F "MIT License" ci/LICENSE_MIT.txt || { + ci_warn "bad or missing CI license file: '$CI_SCRIPT_DIR/LICENSE_MIT.txt'" CI_LINT_COUNTER=$((CI_LINT_COUNTER + 1)) } } diff --git a/ci/ci_verify_cmake.sh b/ci/ci_verify_cmake.sh index 06c46a0ba..1d3e9734e 100755 --- a/ci/ci_verify_cmake.sh +++ b/ci/ci_verify_cmake.sh @@ -1,14 +1,12 @@ #!/usr/bin/env bash set -e -# Copyright (c) 2019-2023 Cosmin Truta. +# Copyright (c) 2019-2024 Cosmin Truta. # -# Use, modification and distribution are subject -# to the Boost Software License, Version 1.0. -# See the accompanying file LICENSE_BSL_1_0.txt -# or visit http://www.boost.org/LICENSE_1_0.txt +# Use, modification and distribution are subject to the MIT License. +# Please see the accompanying file LICENSE_MIT.txt # -# SPDX-License-Identifier: BSL-1.0 +# SPDX-License-Identifier: MIT # shellcheck source="ci/lib/ci.lib.sh" source "$(dirname "$0")/lib/ci.lib.sh" diff --git a/ci/ci_verify_configure.sh b/ci/ci_verify_configure.sh index 94abda794..9be76d986 100755 --- a/ci/ci_verify_configure.sh +++ b/ci/ci_verify_configure.sh @@ -1,14 +1,12 @@ #!/usr/bin/env bash set -e -# Copyright (c) 2019-2023 Cosmin Truta. +# Copyright (c) 2019-2024 Cosmin Truta. # -# Use, modification and distribution are subject -# to the Boost Software License, Version 1.0. -# See the accompanying file LICENSE_BSL_1_0.txt -# or visit http://www.boost.org/LICENSE_1_0.txt +# Use, modification and distribution are subject to the MIT License. +# Please see the accompanying file LICENSE_MIT.txt # -# SPDX-License-Identifier: BSL-1.0 +# SPDX-License-Identifier: MIT # shellcheck source="ci/lib/ci.lib.sh" source "$(dirname "$0")/lib/ci.lib.sh" diff --git a/ci/ci_verify_makefiles.sh b/ci/ci_verify_makefiles.sh index 95a64bb21..beda3b470 100755 --- a/ci/ci_verify_makefiles.sh +++ b/ci/ci_verify_makefiles.sh @@ -1,14 +1,12 @@ #!/usr/bin/env bash set -e -# Copyright (c) 2019-2023 Cosmin Truta. +# Copyright (c) 2019-2024 Cosmin Truta. # -# Use, modification and distribution are subject -# to the Boost Software License, Version 1.0. -# See the accompanying file LICENSE_BSL_1_0.txt -# or visit http://www.boost.org/LICENSE_1_0.txt +# Use, modification and distribution are subject to the MIT License. +# Please see the accompanying file LICENSE_MIT.txt # -# SPDX-License-Identifier: BSL-1.0 +# SPDX-License-Identifier: MIT # shellcheck source="ci/lib/ci.lib.sh" source "$(dirname "$0")/lib/ci.lib.sh" diff --git a/ci/lib/ci.lib.sh b/ci/lib/ci.lib.sh index 8700f3161..1f3c698b5 100644 --- a/ci/lib/ci.lib.sh +++ b/ci/lib/ci.lib.sh @@ -1,11 +1,9 @@ # Copyright (c) 2019-2024 Cosmin Truta. # -# Use, modification and distribution are subject -# to the Boost Software License, Version 1.0. -# See the accompanying file LICENSE_BSL_1_0.txt -# or visit http://www.boost.org/LICENSE_1_0.txt +# Use, modification and distribution are subject to the MIT License. +# Please see the accompanying file LICENSE_MIT.txt # -# SPDX-License-Identifier: BSL-1.0 +# SPDX-License-Identifier: MIT test -f "$BASH_SOURCE" || echo >&2 "warning: this module requires Bash version 3 or newer"