-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: explain the licensing of bindings
Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information
Showing
1 changed file
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,8 +72,6 @@ err: | |
### License ### | ||
![License: LGPL-3.0-or-later](https://img.shields.io/github/license/openSUSE/libpathrs.svg) | ||
`libpathrs` is licensed under the GNU LGPLv3 (or any later version). | ||
``` | ||
|
@@ -93,3 +91,33 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
You should have received a copy of the GNU Lesser General Public License along | ||
with this program. If not, see <https://www.gnu.org/licenses/>. | ||
``` | ||
<hr/> | ||
The language-specific bindings (the code in `contrib/bindings/` and | ||
`go-pathrs/`) are licensed under the Apache-2.0 license, to allow for wider | ||
usage of `libpathrs` from languages where language libraries are not | ||
dynamically linked. | ||
**NOTE**: If you compile libpathrs.so into your binary statically, you still | ||
need to abide by the LGPLv3 license. In practice this means at least providing | ||
the object files necessary to allow someone to recompile your program using a | ||
modified libpathrs. See the LGPLv3 license for more details. | ||
``` | ||
libpathrs: safe path resolution on Linux | ||
Copyright (C) 2019-2024 Aleksa Sarai <[email protected]> | ||
Copyright (C) 2019-2024 SUSE LLC | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
``` |