commit:     94d2ae67403ced107799c1b93922bfb9c9a5f4ae
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 19:18:24 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 19:48:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d2ae67

licenses: Add BSD-2-with-views

This is the BSD 2-clause with an extra sentence about the views
and conclusions.

This also adds a SPDX mapping.

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 licenses/BSD-2-with-views     | 28 ++++++++++++++++++++++++++++
 metadata/license-mapping.conf |  1 +
 2 files changed, 29 insertions(+)

diff --git a/licenses/BSD-2-with-views b/licenses/BSD-2-with-views
new file mode 100644
index 000000000000..ffb303569e2b
--- /dev/null
+++ b/licenses/BSD-2-with-views
@@ -0,0 +1,28 @@
+Copyright (c) <year>, <copyright holder>
+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.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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.
+
+The views and conclusions contained in the software and documentation are
+those of the authors and should not be interpreted as representing official
+policies, either expressed or implied, of the copyright holders or
+contributors.

diff --git a/metadata/license-mapping.conf b/metadata/license-mapping.conf
index 3aff120ab19c..4d0e36a1afe6 100644
--- a/metadata/license-mapping.conf
+++ b/metadata/license-mapping.conf
@@ -39,6 +39,7 @@ BSD-1-Clause = BSD-1
 BSD-2-Clause = BSD-2
 BSD-3-Clause = BSD
 BSD-4-Clause = BSD-4
+bsd-2-clause-views = BSD-2-with-views
 BSL-1.0 = Boost-1.0
 BUSL-1.1 = BUSL-1.1
 bzip2-1.0.5 = BZIP2

Reply via email to