summaryrefslogtreecommitdiff
path: root/License
diff options
context:
space:
mode:
Diffstat (limited to 'License')
-rw-r--r--License27
1 files changed, 19 insertions, 8 deletions
diff --git a/License b/License
index 8a352bc..2398977 100644
--- a/License
+++ b/License
@@ -1,8 +1,18 @@
+/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only */
+
Unless otherwise *explicitly* stated, the following text describes the
licensed conditions under which the contents of this libcap release
-may be used and distributed:
+may be used and distributed.
+
+The licensed conditions are one or the other of these two Licenses:
+
+ - BSD 3-clause
+ - GPL v2.0
-------------------------------------------------------------------------
+BSD 3-clause:
+-------------
+
Redistribution and use in source and binary forms of libcap, with
or without modification, are permitted provided that the following
conditions are met:
@@ -20,13 +30,6 @@ conditions are met:
products derived from this software without their specific prior
written permission.
-ALTERNATIVELY, this product may be distributed under the terms of the
-GNU General Public License (v2.0 - see below), in which case the
-provisions of the GNU GPL are required INSTEAD OF the above
-restrictions. (This clause is necessary due to a potential conflict
-between the GNU GPL and the restrictions contained in a BSD-style
-copyright.)
-
THIS SOFTWARE IS PROVIDED ``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.
@@ -38,7 +41,15 @@ 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.
+
-------------------------------------------------------------------------
+GPL v2.0:
+---------
+
+ALTERNATIVELY, this product may be distributed under the terms of the
+GNU General Public License (v2.0 - see below), in which case the
+provisions of the GNU GPL are required INSTEAD OF the above
+restrictions.
-------------------------
Full text of gpl-2.0.txt: