You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by yu...@apache.org on 2025/07/25 06:39:59 UTC
(incubator-teaclave-crates) 04/04: ring: fix licenses
This is an automated email from the ASF dual-hosted git repository.
yuanz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-crates.git
commit 24a37e438af5b1e5c33b18dd5e5f79b975805d01
Author: Yuan Zhuang <yu...@apache.org>
AuthorDate: Thu Jul 24 08:06:16 2025 +0000
ring: fix licenses
---
.licenserc.yaml | 35 +++++++++++------
LICENSE | 5 +++
LICENSE => licenses/LICENSE-BoringSSL | 72 +++++++++++++++++++++++++++++++++--
licenses/LICENSE-other-bits | 13 +++++++
licenses/LICENSE-ring.txt | 9 +++++
5 files changed, 118 insertions(+), 16 deletions(-)
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 6e2b465..804e6ef 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -21,17 +21,28 @@ header:
copyright-owner: Apache Software Foundation
paths-ignore:
- - '**/*.csv'
- - '**/*.txt'
- - '**/*.md'
- - '**/*.pem'
- - '**/*.sha256'
- - '**/Cargo.lock'
- - '**/target/**'
- - '.gitattributes'
- - '.github/ISSUE_TEMPLATE/**'
- - '.gitmodules'
- - 'DISCLAIMER'
+ # License and notice files
+ - 'licenses'
- 'LICENSE'
- 'NOTICE'
- - 'licenses'
+ - 'DISCLAIMER'
+
+ # Documentation and configuration files
+ - '**/*.md'
+ - '**/Cargo.lock'
+ - 'rust-toolchain'
+ - '**/*.lds'
+
+ # Cryptographic and binary files for testing
+ - '**/*.pem'
+ - '**/*.key'
+ - '**/*.crt'
+ - '**/*.rsa'
+ - '**/*.der'
+
+ # Third-party libraries - included in licenses directory
+ - 'ring-0.17.14' # LICENSE-ring.txt
+
+dependency:
+ files:
+ - 'Cargo.toml'
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 46ae475..570d0c9 100644
--- a/LICENSE
+++ b/LICENSE
@@ -206,3 +206,8 @@
This product bundles various third-party components under other open source
licenses. This section summarizes those components and their licenses. See
licenses/ for text of these licenses.
+
+Third-party components included in this distribution:
+
+- ring-0.17.14/
+ License: See licenses/LICENSE-ring.txt
\ No newline at end of file
diff --git a/LICENSE b/licenses/LICENSE-BoringSSL
similarity index 76%
copy from LICENSE
copy to licenses/LICENSE-BoringSSL
index 46ae475..8e6eb34 100644
--- a/LICENSE
+++ b/licenses/LICENSE-BoringSSL
@@ -202,7 +202,71 @@
limitations under the License.
--------------------------------------------------------------------------------
-This product bundles various third-party components under other open source
-licenses. This section summarizes those components and their licenses. See
-licenses/ for text of these licenses.
+Licenses for support code
+-------------------------
+
+Parts of the TLS test suite are under the Go license. This code is not included
+in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so
+distributing code linked against BoringSSL does not trigger this license:
+
+Copyright (c) 2009 The Go 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:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * 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.
+ * Neither the name of Google Inc. 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
+OWNER 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.
+
+
+BoringSSL uses the Chromium test infrastructure to run a continuous build,
+trybots etc. The scripts which manage this, and the script for generating build
+metadata, are under the Chromium license. Distributing code linked against
+BoringSSL does not trigger this license.
+
+Copyright 2015 The 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:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * 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.
+ * Neither the name of Google Inc. 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
+OWNER 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.
\ No newline at end of file
diff --git a/licenses/LICENSE-other-bits b/licenses/LICENSE-other-bits
new file mode 100644
index 0000000..20cfadb
--- /dev/null
+++ b/licenses/LICENSE-other-bits
@@ -0,0 +1,13 @@
+Copyright 2015-2025 Brian Smith.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
\ No newline at end of file
diff --git a/licenses/LICENSE-ring.txt b/licenses/LICENSE-ring.txt
new file mode 100644
index 0000000..963c394
--- /dev/null
+++ b/licenses/LICENSE-ring.txt
@@ -0,0 +1,9 @@
+*ring* uses an "ISC" license, like BoringSSL used to use, for new code
+files. See LICENSE-other-bits for the text of that license.
+
+See LICENSE-BoringSSL for code that was sourced from BoringSSL under the
+Apache 2.0 license. Some code that was sourced from BoringSSL under the ISC
+license. In each case, the license info is at the top of the file.
+
+See src/polyfill/once_cell/LICENSE-APACHE and src/polyfill/once_cell/LICENSE-MIT
+for the license to code that was sourced from the once_cell project.
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org