diff --git a/LICENSE.ungoogled_chromium b/LICENSE.ungoogled_chromium new file mode 100644 index 00000000..fedda042 --- /dev/null +++ b/LICENSE.ungoogled_chromium @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2015-2023, The ungoogled-chromium Authors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 355fe90e..85f60f83 100644 --- a/README.md +++ b/README.md @@ -186,4 +186,4 @@ repositories is licensed under GPL-3.0. See [LICENSE](LICENSE). Any content imported from other projects retains its original license (for example, any original unmodified code imported from ungoogled-chromium remains -licensed under their [BSD 3-Clause license](https://github.com/ungoogled-software/ungoogled-chromium/blob/464e163fb067ad1134ffb7da5b6d2da478d8939e/LICENSE)). +licensed under their [BSD 3-Clause license](LICENSE.ungoogled_chromium)). diff --git a/devutils/check_downloads_ini.py b/devutils/check_downloads_ini.py index 60425d37..d6daee60 100755 --- a/devutils/check_downloads_ini.py +++ b/devutils/check_downloads_ini.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run sanity checking algorithms over downloads.ini files It checks the following: diff --git a/devutils/check_files_exist.py b/devutils/check_files_exist.py index 997eb7f4..a7e5a920 100755 --- a/devutils/check_files_exist.py +++ b/devutils/check_files_exist.py @@ -2,7 +2,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Checks if files in a list exist. diff --git a/devutils/check_gn_flags.py b/devutils/check_gn_flags.py index e740cedb..b9a212ca 100755 --- a/devutils/check_gn_flags.py +++ b/devutils/check_gn_flags.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run sanity checking algorithms over GN flags It checks the following: diff --git a/devutils/check_patch_files.py b/devutils/check_patch_files.py index 1e3bb31d..0b994e3e 100755 --- a/devutils/check_patch_files.py +++ b/devutils/check_patch_files.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run sanity checking algorithms over ungoogled-chromium's patch files It checks the following: diff --git a/devutils/run_devutils_pylint.py b/devutils/run_devutils_pylint.py index d9b9d339..14f6a863 100755 --- a/devutils/run_devutils_pylint.py +++ b/devutils/run_devutils_pylint.py @@ -2,7 +2,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run Pylint over devutils""" import argparse diff --git a/devutils/run_other_pylint.py b/devutils/run_other_pylint.py index 1a1df276..b6ee13ce 100755 --- a/devutils/run_other_pylint.py +++ b/devutils/run_other_pylint.py @@ -2,7 +2,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run Pylint over any module""" import argparse diff --git a/devutils/run_utils_pylint.py b/devutils/run_utils_pylint.py index 227cfb2d..2f3c2e97 100755 --- a/devutils/run_utils_pylint.py +++ b/devutils/run_utils_pylint.py @@ -2,7 +2,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run Pylint over utils""" import argparse diff --git a/devutils/tests/test_check_patch_files.py b/devutils/tests/test_check_patch_files.py index a5b798ea..07d290ed 100644 --- a/devutils/tests/test_check_patch_files.py +++ b/devutils/tests/test_check_patch_files.py @@ -2,7 +2,7 @@ # Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Test check_patch_files.py""" import logging diff --git a/devutils/tests/test_validate_patches.py b/devutils/tests/test_validate_patches.py index c52e7c74..48297386 100644 --- a/devutils/tests/test_validate_patches.py +++ b/devutils/tests/test_validate_patches.py @@ -2,7 +2,7 @@ # Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Test validate_patches.py""" import logging diff --git a/devutils/update_lists.py b/devutils/update_lists.py index 8837a471..c9e0cf47 100755 --- a/devutils/update_lists.py +++ b/devutils/update_lists.py @@ -6,7 +6,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Update binary pruning and domain substitution lists automatically. diff --git a/devutils/update_platform_patches.py b/devutils/update_platform_patches.py index af29715e..5d9e4346 100755 --- a/devutils/update_platform_patches.py +++ b/devutils/update_platform_patches.py @@ -7,7 +7,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Utility to ease the updating of platform patches against ungoogled-chromium's patches diff --git a/devutils/validate_config.py b/devutils/validate_config.py index 5866a567..7d3f97df 100755 --- a/devutils/validate_config.py +++ b/devutils/validate_config.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Run sanity checking algorithms over ungoogled-chromium's config files NOTE: This script is hardcoded to run over ungoogled-chromium's config files only. diff --git a/devutils/validate_patches.py b/devutils/validate_patches.py index e5d36f5f..32de6672 100755 --- a/devutils/validate_patches.py +++ b/devutils/validate_patches.py @@ -3,7 +3,7 @@ # Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Validates that all patches apply cleanly against the source tree. diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index 19c8b7f7..f0402f56 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -84,7 +84,7 @@ @@ -0,0 +1,25 @@ +// Copyright (c) 2018 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#include "net/url_request/trk_protocol_handler.h" + @@ -112,7 +112,7 @@ @@ -0,0 +1,30 @@ +// Copyright (c) 2018 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef NET_URL_REQUEST_TRK_PROTOCOL_HANDLER_H_ +#define NET_URL_REQUEST_TRK_PROTOCOL_HANDLER_H_ diff --git a/patches/extra/ungoogled-chromium/add-components-ungoogled.patch b/patches/extra/ungoogled-chromium/add-components-ungoogled.patch index a2c6fc91..d298bea9 100644 --- a/patches/extra/ungoogled-chromium/add-components-ungoogled.patch +++ b/patches/extra/ungoogled-chromium/add-components-ungoogled.patch @@ -22,7 +22,7 @@ @@ -0,0 +1,18 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#include "components/ungoogled/ungoogled_switches.h" + @@ -43,7 +43,7 @@ @@ -0,0 +1,20 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +// Defines all the fingerprinting command-line switches. + diff --git a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch index 8b3f2e49..6d74d2b8 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch @@ -18,7 +18,7 @@ @@ -0,0 +1,21 @@ +// Copyright (c) 2023 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_EXISTING_SWITCH_FLAG_CHOICES_H_ +#define CHROME_BROWSER_EXISTING_SWITCH_FLAG_CHOICES_H_ @@ -42,7 +42,7 @@ @@ -0,0 +1,43 @@ +// Copyright (c) 2023 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_EXISTING_SWITCH_FLAG_ENTRIES_H_ +#define CHROME_BROWSER_EXISTING_SWITCH_FLAG_ENTRIES_H_ diff --git a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch index 9ac8f0cc..243911a0 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch @@ -144,7 +144,7 @@ @@ -0,0 +1,49 @@ +// Copyright 2023 The ungoogled-chromium Authors +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#include "services/network/public/cpp/referrer_sanitizer.h" + @@ -196,7 +196,7 @@ @@ -0,0 +1,32 @@ +// Copyright 2023 The ungoogled-chromium Authors +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef SERVICES_NETWORK_PUBLIC_CPP_REFERRER_SANITIZER_H_ +#define SERVICES_NETWORK_PUBLIC_CPP_REFERRER_SANITIZER_H_ diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index e0c0e2fb..8c3acaa6 100644 --- a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch +++ b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch @@ -19,7 +19,7 @@ @@ -0,0 +1,7 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_BROMITE_FLAG_CHOICES_H_ +#define CHROME_BROWSER_BROMITE_FLAG_CHOICES_H_ @@ -29,7 +29,7 @@ @@ -0,0 +1,7 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ +#define CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ @@ -39,7 +39,7 @@ @@ -0,0 +1,7 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ +#define CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ @@ -49,7 +49,7 @@ @@ -0,0 +1,7 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ +#define CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ @@ -59,7 +59,7 @@ @@ -0,0 +1,7 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_CHOICES_H_ +#define CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_CHOICES_H_ @@ -69,7 +69,7 @@ @@ -0,0 +1,7 @@ +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// found in the LICENSE.ungoogled_chromium file. + +#ifndef CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_ENTRIES_H_ +#define CHROME_BROWSER_UNGOOGLED_PLATFORM_FLAG_ENTRIES_H_ diff --git a/utils/_common.py b/utils/_common.py index 6546b982..70831695 100644 --- a/utils/_common.py +++ b/utils/_common.py @@ -2,7 +2,7 @@ # Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Common code and constants""" import argparse import enum diff --git a/utils/_extraction.py b/utils/_extraction.py index 909e0f63..b1067be0 100644 --- a/utils/_extraction.py +++ b/utils/_extraction.py @@ -2,7 +2,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Archive extraction utilities """ diff --git a/utils/clone.py b/utils/clone.py index 263ffd93..7aac8b51 100755 --- a/utils/clone.py +++ b/utils/clone.py @@ -3,7 +3,7 @@ # Copyright (c) 2023 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Module for cloning the source tree. """ diff --git a/utils/domain_substitution.py b/utils/domain_substitution.py index 146cd907..c09ad1f3 100755 --- a/utils/domain_substitution.py +++ b/utils/domain_substitution.py @@ -7,7 +7,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Substitute domain names in the source tree with blockable strings. diff --git a/utils/downloads.py b/utils/downloads.py index f2b3b55c..f238d201 100755 --- a/utils/downloads.py +++ b/utils/downloads.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Module for the downloading, checking, and unpacking of necessary files into the source tree. """ diff --git a/utils/filescfg.py b/utils/filescfg.py index 59036ac7..209da649 100755 --- a/utils/filescfg.py +++ b/utils/filescfg.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Operations with FILES.cfg (for portable packages) """ diff --git a/utils/make_domsub_script.py b/utils/make_domsub_script.py index 26c0b71f..c92ab2af 100755 --- a/utils/make_domsub_script.py +++ b/utils/make_domsub_script.py @@ -3,7 +3,7 @@ # Copyright (c) 2023 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """ Generate standalone script that performs the domain substitution. """ diff --git a/utils/patches.py b/utils/patches.py index 3382d9ef..51b71ece 100755 --- a/utils/patches.py +++ b/utils/patches.py @@ -3,7 +3,7 @@ # Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Applies unified diff patches""" import argparse diff --git a/utils/prune_binaries.py b/utils/prune_binaries.py index 6c10a805..dc02605b 100755 --- a/utils/prune_binaries.py +++ b/utils/prune_binaries.py @@ -3,7 +3,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. """Prune binaries from the source tree""" import argparse diff --git a/utils/tests/test_domain_substitution.py b/utils/tests/test_domain_substitution.py index 833c974f..59f17007 100644 --- a/utils/tests/test_domain_substitution.py +++ b/utils/tests/test_domain_substitution.py @@ -2,7 +2,7 @@ # Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. import os import tempfile diff --git a/utils/tests/test_patches.py b/utils/tests/test_patches.py index 03bc040e..4d58dc82 100644 --- a/utils/tests/test_patches.py +++ b/utils/tests/test_patches.py @@ -2,7 +2,7 @@ # Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# found in the LICENSE.ungoogled_chromium file. from pathlib import Path import os