tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add licenses/upl-1.0
I would like to add the Universal Public License (UPL), Version 1.0,
to pkgsrc as licenses/upl-1.0, and include it in the default
acceptable lists in mk/license.mk and pkgtools/pkg_install.
UPL-1.0 is free software according to the FSF, and open source
according to the OSI:
https://www.gnu.org/licenses/license-list.html#UPL
https://opensource.org/license/upl
It is used, for example, by the Oracle Cloud Infrastructure SDK and
associated tooling.
Patch attached. OK?
From d98f9d50a26f285b8a5465796d7c1a58502f0cd4 Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Date: Sat, 10 Aug 2024 02:10:36 +0000
Subject: [PATCH] licenses/upl-1.0: Add Universal Permissive License (UPL)
Version 1.0.
FSF-approved: https://www.gnu.org/licenses/license-list.html#UPL
This is a lax, permissive non-copyleft free software license,
compatible with the GNU GPL. The license does provide the ability
to license patents along with the software work, however, we still
recommend the Apache 2.0 license for avoiding patent treachery when
choosing to put your work under a lax license.
OSI-approved: https://opensource.org/license/upl
Text taken from: https://oss.oracle.com/licenses/upl/
Verified by wdiff(1) (wdiff-1.2.2nb1 from textproc/wdiff) to be
identical, other than in the quotation marks, to:
https://directory.fsf.org/wiki/License:UPL-1.0
https://opensource.org/license/upl
---
licenses/upl-1.0 | 35 ++++++++++++++++++++++++
mk/license.mk | 1 +
pkgtools/pkg_install/files/lib/license.c | 1 +
pkgtools/pkg_install/files/lib/version.h | 2 +-
4 files changed, 38 insertions(+), 1 deletion(-)
create mode 100644 licenses/upl-1.0
diff --git a/licenses/upl-1.0 b/licenses/upl-1.0
new file mode 100644
index 000000000000..e2f6bd3a439d
--- /dev/null
+++ b/licenses/upl-1.0
@@ -0,0 +1,35 @@
+Copyright (c) [year] [copyright holders]
+
+The Universal Permissive License (UPL), Version 1.0
+
+Subject to the condition set forth below, permission is hereby granted to any
+person obtaining a copy of this software, associated documentation and/or data
+(collectively the "Software"), free of charge and under any and all copyright
+rights in the Software, and any and all patent rights owned or freely
+licensable by each licensor hereunder covering either (i) the unmodified
+Software as contributed to or provided by such licensor, or (ii) the Larger
+Works (as defined below), to deal in both
+
+(a) the Software, and
+(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
+one is included with the Software (each a "Larger Work" to which the Software
+is contributed by such licensors),
+
+without restriction, including without limitation the rights to copy, create
+derivative works of, display, perform, and distribute the Software and make,
+use, sell, offer for sale, import, export, have made, and have sold the
+Software and the Larger Work(s), and to sublicense the foregoing rights on
+either these or other terms.
+
+This license is subject to the following condition:
+The above copyright notice and either this complete permission notice or at
+a minimum a reference to the UPL must be included in all copies or
+substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/mk/license.mk b/mk/license.mk
index 96096a0f01e2..a23bce1f410d 100644
--- a/mk/license.mk
+++ b/mk/license.mk
@@ -177,6 +177,7 @@ DEFAULT_ACCEPTABLE_LICENSES= \
unicode \
unicode-v3 \
unlicense \
+ upl-1.0 \
vera-ttf-license \
w3c \
x11 \
diff --git a/pkgtools/pkg_install/files/lib/license.c b/pkgtools/pkg_install/files/lib/license.c
index 327532907589..f97675e96324 100644
--- a/pkgtools/pkg_install/files/lib/license.c
+++ b/pkgtools/pkg_install/files/lib/license.c
@@ -102,6 +102,7 @@ const char *default_acceptable_licenses =
"unicode "
"unicode-v3 "
"unlicense "
+ "upl-1.0 "
"vera-ttf-license "
"w3c "
"x11 "
diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h
index cdb01d979789..3b7bc5b106e9 100644
--- a/pkgtools/pkg_install/files/lib/version.h
+++ b/pkgtools/pkg_install/files/lib/version.h
@@ -27,6 +27,6 @@
#ifndef _INST_LIB_VERSION_H_
#define _INST_LIB_VERSION_H_
-#define PKGTOOLS_VERSION 20240307
+#define PKGTOOLS_VERSION 20240810
#endif /* _INST_LIB_VERSION_H_ */
Home |
Main Index |
Thread Index |
Old Index