repo: add ungoogled-chromium license to root

This commit is contained in:
jj
2025-05-31 11:51:48 +00:00
parent 3a977845f0
commit 4010387eab
31 changed files with 68 additions and 39 deletions

View File

@@ -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.

View File

@@ -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)).

View File

@@ -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:

View File

@@ -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.

View File

@@ -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:

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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.

View File

@@ -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.

View File

@@ -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_

View File

@@ -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.
+

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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

View File

@@ -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
"""

View File

@@ -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.
"""

View File

@@ -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.

View File

@@ -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.
"""

View File

@@ -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)
"""

View File

@@ -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.
"""

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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