--- a/components/webui/about/resources/about_credits_reciprocal.tmpl +++ b/components/webui/about/resources/about_credits_reciprocal.tmpl @@ -1,4 +1,4 @@
- {{opensource_project}} software is made available as source code - here. + {{opensource_project}} source code is available in + the repository.
--- /dev/null +++ b/third_party/ungoogled-chromium/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2015-2025, 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. --- a/tools/licenses/licenses.py +++ b/tools/licenses/licenses.py @@ -52,6 +52,14 @@ _CHROMIUM_LICENSE_METADATA = { 'dir': '', # Relative to _REPOSITORY_ROOT } +_UGC_LICENSE_METADATA = { + 'Name': 'ungoogled-chromium', + 'URL': 'https://github.com/ungoogled-software/ungoogled-chromium', + 'License': 'BSD-3-Clause', + 'Shipped': 'yes', + 'License File': [os.path.join(_REPOSITORY_ROOT, 'third_party', 'ungoogled-chromium', 'LICENSE')], +} + # Paths from the root of the tree to directories to skip. PRUNE_PATHS = set([ # Placeholder directory only, not third-party code. @@ -1008,7 +1016,7 @@ def _DiscoverMetadatas(args): LogParseDirErrors(errors) metadatas.sort(key=lambda m: (m['Name'].lower(), m['dir'])) - metadatas = [_CHROMIUM_LICENSE_METADATA] + metadatas + metadatas = [_CHROMIUM_LICENSE_METADATA] + [_UGC_LICENSE_METADATA] + metadatas return metadatas, had_errors @@ -1085,8 +1093,8 @@ def GenerateCredits(args, metadatas): entries_contents = '\n'.join([entry['content'] for entry in entries]) reciprocal_contents = EvaluateTemplate(reciprocal_template, { - 'opensource_project': 'Chromium', - 'opensource_link': 'https://source.chromium.org/chromium' + 'opensource_project': 'ungoogled-chromium', + 'opensource_link': 'https://github.com/ungoogled-software/ungoogled-chromium' }, escape=False)